On Wed, 2011-05-18 at 15:55 +0000, Julien Massot wrote: > Hi David, > I have investigated this issue for a while.. > Firstly i thought it was due to broken WiFi driver, but it seems to be > a "local" decision, maybe due to connman or wpa_supplicant. > The WiFi device go in an infinite loop of association/disassociation. > > If you find a workaround i will be very happy if you share your fix. > > For what i understood of this bug, my driver returns a new AP with a > null mac address when using Wext > here is the "wpa_supplicant -d" trace: > > Wireless event: cmd=0x8b15 len=20 > Wireless event: new AP: 00:00:00:00:00:00 > Disassociation notification > BSSID 00:00:00:00:00:00 blacklist count incremented to 3 > CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0 > > if you use nl80211 you get the following output in syslog: > wlan0: associated > Jan 1 00:21:51 Naobi daemon.info connmand[1679]: wlan0 SCANNING > Jan 1 00:21:51 Naobi daemon.info connmand[1679]: wlan0 scanning > started > Jan 1 00:21:51 Naobi daemon.info connmand[1679]: wlan0 scanning > finished > Jan 1 00:21:51 Naobi daemon.info connmand[1679]: wlan0 ASSOCIATING > (scanning) > Jan 1 00:21:51 Naobi daemon.info connmand[1679]: wlan0 DISCONNECTED > (scanning) > Jan 1 00:21:52 Naobi user.debug kernel: [ 1290.574960] wlan0: > deauthenticating from 00:3a:98:8f:3b:41 by local choice (reason=3) > Jan 1 00:21:52 Naobi daemon.info connmand[1679]: wlan0 ASSOCIATED > (scanning) > Jan 1 00:21:52 Naobi daemon.info connmand[1679]: wlan0 4WAY_HANDSHAKE > (scanning) > Jan 1 00:21:52 Naobi daemon.info connmand[1679]: wlan0 DISCONNECTED > (scanning) > Jan 1 00:21:52 Naobi daemon.info connmand[1679]: wlan0 SCANNING > (scanning) > Jan 1 00:21:52 Naobi daemon.info connmand[1679]: wlan0 scanning > started > Jan 1 00:21:52 Naobi daemon.info connmand[1679]: wlan0 scanning > finished > Jan 1 00:21:52 Naobi daemon.info connmand[1679]: wlan0 DISCONNECTED > (scanning) > > I reproduce this issue easily when there are lots of WiFi networks, > and placed my WiFi device in the middle of two AP within the same > ESSID. > > I use connman 0.69.4, wpa_supplicant 0.7.3, zd1211rw from > compat-wireless-2011-03-15 (nl80211), and ralink broken driver for > rt3070 chipset (wext). > > I just tested the static IP method, that is mentionned in your link, > and it doesn't works.
I manually replaced the /etc/resolv.conf with the same entries as dhcp provided and used route to add entries for the gateway as well as gave it the same static ip address it had before. This was iirc with 0.68 or 0.69 and the connman connection worked after the manual changes That happened once. Haven't tried to reproduce it. Think I was still using -Dwext at the time and it was on p54pci wireless. There are at least 3 routers that are within broadcast distance when I use a laptop w/ Windows to connect. Only one is mine. I will try this again soon to see if it will work. Chasing an issue with console not coming up but X works fine (gallium) *pulls hair out* David -djc- _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
