leonesse:~# cat > /etc/wpa_supplicant.conf << EOF # allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 fast_reauth=1 # # home network; allow all valid ciphers network={ ssid="folays" scan_ssid=1 key_mgmt=WPA-PSK proto=RSN pairwise=CCMP TKIP group=CCMP TKIP psk="xxxxxxxx" } EOF leonesse:~# wpa_supplicant -ieth2 -c/etc/wpa_supplicant.conf -B -D wext