Log my thoughts

Home About GitHub

03 Sep 2011
wifi connecting using iwconfig&wpa_supplicant

make sure the driver works, and wlan0 could be see from ifconfig.

Show WiFi near you.

iwlist wlan0 scan

For WPA-Encryption WiFi

mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.original
wpa_passphrase linksys "my_secret_passkey" > /etc/wpa_supplicant.conf

Connecting …

Encryption Command
No Encryption iwconfig wlan0 essid “linksys”
WEP w/ Hex Key iwconfig wlan0 essid “linksys” key “0241baf34c”
WEP w/ ASCII passphrase iwconfig wlan0 essid “linksys” key “s:pass1”
WPA wpasupplicant -B -Dwext -i wlan0 -c /etc/wpasupplicant.conf

check WiFi status:

dhcpcd wlan0

Carpe diem,
JZR at 07:19

Home About GitHub