On Thu, 2008-05-08 at 11:34 -0500, Jim Haynes wrote:

> so dhclient fails at that time.  Later by hand I told it
> /sbin/iwconfig wlan0 channel 6 essid "linksys"
> and that makes it work and the output from iwconfig is
...
> and I don't understand why I'm having to do this since the essid and the
> frequency were already correct the first time.

To be honest, I don't have a good solution for that.  Setting ESSID
forces rescan and reassociation.  Old cards have that logic in the
firmware, but mac80211 relies on wpa_supplicant for roaming and
reassociation.

And once wpa_supplicant is involved, it has some strange interaction
with dhclient, and I'm not sure there is any definitive way to do it in
Fedora.  If dhclient fails, it brings the interface down, and then
wpa_supplicant cannot do anything.

If I need a reliable connection that always starts and always
reconnects, I use wpa_supplicant and static IP.  I think there is still
some work to be done on making wpa_supplicant, dhclient and Fedora
scripts play well together.

-- 
Regards,
Pavel Roskin
_______________________________________________
ath5k-users mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-users

Reply via email to