problemas no pfsense 2.1
time mount -uw /
time mount -ur /
não é uma solução mas melhora em muito o tempo de montagem do fs:
/etc/rc.conf_mount_rw
e no final:
/etc/rc.conf_mount_ro
http://forum.pfsense.org/index.php/topic,48256.msg267775.html#msg267775
comandos pfsense
ver o log
clog /var/log/system.log
reiniciar servidor dns
ps aux | grep dns
to get the process id
code:
kill -HUP pid
CLI command Description
pfctl -d Deactivate Firewall completely
pfctl -e
ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x000084c0
mensagem disco cheio sem estar cheio
#df -h
#df -i
contar ficheiros em pastas:
for i in `ls -1A`; do echo “`find $i | sort -u | wc -l` $i”; done | sort -rn | head -5
ou
sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
extensões do firefox para webmasters
http://mattiasgeniar.be/2011/03/09/the-6-firefox-add-ons-i-cannot-live-…
a status bar também dá jeito (por exemplo para a extensão show ip) mas desapareceu no firefox 4.
pode agora utilizar-se a extensão:
https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
OpenWRT Network Configuration
screen no linux
utilizar o wireshark e o etherape com captura remota no debian
é 1:45 e eu aqui fo**** porque o raio do comando não funciona!
ssh -p 2222 -i ~/.ssh/routers/id_dsa root@localhost “tcpdump -K -U -n -w – -i eth0.2 not port 22″ | wireshark -k -i -
mas este já rula!
é preciso ter olho pra coisa:
ssh -p 2222 -i ~/.ssh/routers/id_dsa root@localhost '/usr/sbin/tcpdump -s 100 -K -U -n -w - -i eth0.2 not port 22' | wireshark -k -i -
para o etherape: