ifconfig wlan0 up
1
|
ifconfig wlan0 |
iwlist wlan0 scan
wpa_passphrase naizhongnai naizhong >> /etc/wpa_supplicant/wpa_supplicant.conf
很奇怪,将wpa_supplicant的配置文件中wpa_supplicant.conf中的:
ctrl_interface=/var/run/wpa_supplicant
注释掉,竟然没有上面所说的错误了
-----------------------------------
ifconfig wlan0 up
service NetworkManager stop
service network restart
1
|
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant .conf -D wext -B |
iwconfig
dhclient wlan0
ping baidu.com
---------------
清理内存
echo 1 > /proc/sys/vm/drop_caches