分类: LINUX
2012-07-24 12:40:27
ifconfig wlan0 up
iwlist scan
wpa_passphrase BoAN 12345678 >> /etc/wpa_supplicant.conf
ifconcfig wlan0 192.168.1.5 netmask 255.255.255.0
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
route add default gw 192.168.1.1 dev wlan0