Skip to content

Category: freebsd

Sound on pfSense 2.0.1

pfSense is a free, open source customized distribution of FreeBSD tailored for use as a firewall and router.

I got it running inside an Alix2d2 board.


Sometimes, with the help of a cron daemon and mpg123, I use this device as alarm clock. I attached a USB soundcard and loaded the proper kernel modules to get It working. Then, I installed mpg123 from the PKG repos. As last step, I added the “cron” package with the pfSense package manager.

FreeBSD tcsh notes

There there are some notes/tricks about tcsh.

To set a nice tcsh prompt, try the following:
set prompt = "%{\033[0;1;37m%}%n%{\033[0;1;31m%}@%{\033[0;1;37m%}%m%{\033[0;1;33m%}:%{\033[0;1;32m%}%b%/%{\033[0;1;0m%} %# "

Some usefull alias to include in our ~/.tcshrc
alias wifilist "(ifconfig ath0_wlan0 list scan | sort -rnk 5 | grep -v BSSID)"
alias sniff-vpn tcpdump ‘-U -n -l -t -i ovpnc1 "$*"’
alias sniff-wifi tcpdump ‘-U -n -l -t -i ath0_wlan0 "$*"’
alias sniff-fw tcpdump ‘-n -l -t -i pflog0 "$*"’