On Fri, Jan 15, 2010 at 02:46:19AM +0100, Peter Stuge <peter-y+hmsxxd...@public.gmane.org> wrote: > Do you have wpa_supplicant running also when not using encryption?
Nope. > I have made some noise on the ath9k list about it, and currently have > a reboot pending to try the latest wireless-testing, which has gotten > some more fixes. Please let me know if that helped (which git repo, which branch?). > I upgraded from ipw2200 to ath9k in my laptop and the old card never > had trouble. Both ath9k and b43 use mac80211 but ipw2200 does not. > With mac80211 you're apparently supposed to always have wpa_supplicant > running - even if not using encryption. The supplicant is responsible > for reconnecting if the interface is disconnected for any reason. > > I'm not satisfied with this as the final answer yet. I find it > suspicious that my card disconnects in the first place. That does not seem to help here: # wpa_supplicant -ieth0 -Dwext -c /etc/wpa_supplicant.conf -B # iwconfig eth0 essid linksys # iwconfig lo no wireless extensions. eth1 no wireless extensions. eth0 IEEE 802.11bg Mode:Managed Access Point: Not-Associated Tx-Power=27 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Note that this is different from what I got when wpa_supplicant was not running. The output after ~5sec was: # iwconfig lo no wireless extensions. eth1 no wireless extensions. eth0 IEEE 802.11bg ESSID:"linksys" Mode:Managed Access Point: Not-Associated Tx-Power=27 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off What should the wpa_supplicant config include? Currently my config has nothing about the unencrypted access point. It's like: # cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant network={ ssid="ap_with_wpa" psk="secret" } Should I include a section for the "linksys" (which has no encryption) AP as well? if yes, what should it look like? The same as the above, just without the psk line? > I am normally in a moderately silent RF environment, with not many > APs. With power management enabled (iwconfig eth1 power on) I > experience this issue within minutes. With PM disabled, it happens > only every couple of days. This is on wireless-testing as of Dec 14. > In a very tough RF environment such as a hacker conference the > problem is much more pronounced and disconnects happen many times per > day also with PM off. > > > > Any ideas? > > Does iwconfig power off make a difference for you? It seems to be already off, but when I run the command: # iwconfig eth0 power off Error for wireless request "Set Power Management" (8B2C) : SET failed on device eth0 ; Operation not supported. Please keep me in CC, I'm not subscribed. (Actually I am, but mail delivery is disabled.) Thanks! PS: I sent this mail twice, look like the first got lost because I forgot to replace the public.gmane.org addresses in the mail. If this is not the case, sorry for the dupe. _______________________________________________ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/bcm43xx-dev