Couldn't connect to wireless networking

纵横天下 zhtx10 at gmail.com
Sun Jun 26 08:18:35 UTC 2011


Well, you need to first see if once it's associated, it's actually working.
> Ie, that the encryption key is correct, that it is staying associated,
> that DHCP has run, etc.
>
> When it's associated, do:
>
> * ifconfig wlan0
> * ps -auxw | grep wpa_supplicant
> * ps -auxw | grep dhclient
>
> Maybe it's associated but can't DHCP an IP address.
>
>
> Adrian
>
>
Yes, you're right.

$ ifconfig wlan0
...
inet 0.0.0.0 #Oops! No IP!
...
status: associated
...

$ ps -auxw | grep wpa_supplicant
root 395 0.0 0.3 11224 3168 ?? Ss 12:11AM 0:00.01 /usr/sbin/wpa_supplicant
mike 1510 0.0 0.2 9124 1660 0 S+ 12:12AM 0:00.00 grep wpa_supplicant
$ ps -auxw | grep dhclient
root 1127 0.0 0.1 5828 1512 ?? Is 12:11AM 0:00.00 dhclient: wlan0[priv0]
(dhclient)
_dhcp 1517 0.0 0.2 5828 1600 ?? Is 12:12AM 0:00.00 dhclient: wlan0
(dhclient)
root 1544 0.0 0.2 9124 1664 0 S+ 12:14AM 0:00.00 grep dhcilent

Oops..


More information about the freebsd-wireless mailing list