简单描述执行了以下操作指令:
ifconfig eth0 down
ifconfig wlan0 up
wpa_passphrase CMCC 2b2072b207 >> /etc/wpa_supplicant.conf
root@freescale ~$ cat /etc/wpa_supplicant.conf
network={
ssid="CMCC"
psk=cc68016c21f4c0a5b0a2025507c5fbed52712ca811a0ea195399af1cfb22f6c2
}
wpa_supplicant -B -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
udhcpc -i wlan0 -b
然后就一直
Sending discover...
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
导致无法动态获取ip,wifi联网,求解决。
驱动是加载了,可以scan到essid。就是无法动态获取ip联网。
还有
root@freescale ~$ route add default gw 192.168.1.1 wlan0 route: SIOCADDRT: Network is unreachable
|