Wireless daemon for the Raspberry Pi
Add the following to crontab to start the daemon at reboot.
$ crontab -e
@reboot pifi wlan0 -d /usr/sbin &
$ pifi wlan0 -s
Idle
# Idle
# AccessPoint
# AccessPoint_Hosting
# WiFi
# WiFi_Connecting
# WiFi_Reconnecting
# WiFi_Connected
$ pifi wlan0 -l
Network 1,Network 2,Network 3
# Network names are stored as comma-separated values
$ pifi wlan0 -i
$ pifi wlan0 -a "SSID" "passphrase"
$ pifi wlan0 -w "SSID" "passphrase"