On Tue, 2013-03-19 at 22:55 +0100, Arend van Spriel wrote: > On 03/19/2013 05:21 PM, Camaleón wrote: > > Mar 19 17:05:28 stt300 kernel: [26034.188562] wlan0: authenticated > > Mar 19 17:05:28 stt300 kernel: [26034.192108] wlan0: associate with > > 00:1a:2b:97:7a:97 (try 1/3) > > Mar 19 17:05:28 stt300 NetworkManager[30971]: <info> (wlan0): supplicant > > interface state: authenticating -> associating > > Mar 19 17:05:30 stt300 kernel: [26036.586947] wlan0: RX AssocResp from > > 00:1a:2b:97:7a:97 (capab=0x411 status=0 aid=1) > > Mar 19 17:05:30 stt300 kernel: [26036.587560] brcmsmac bcma0:0: brcmsmac: > > brcms_ops_bss_info_changed: associated > > Mar 19 17:05:30 stt300 kernel: [26036.587576] brcmsmac bcma0:0: > > brcms_ops_bss_info_changed: qos enabled: true (implement) > > Mar 19 17:05:30 stt300 kernel: [26036.587603] wlan0: associated > > Mar 19 17:05:30 stt300 kernel: [26036.587698] IPv6: > > ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready > > Mar 19 17:05:30 stt300 wpa_supplicant[2855]: wlan0: Associated with > > 00:1a:2b:97:7a:97 > > Seems to be heading in the right direction, but.... > > > Mar 19 17:05:30 stt300 NetworkManager[30971]: <info> (wlan0): supplicant > > interface state: associating -> associated > > Mar 19 17:05:30 stt300 NetworkManager[30971]: <info> (wlan0): supplicant > > interface state: associated -> 4-way handshake > > Mar 19 17:05:32 stt300 avahi-daemon[2630]: Joining mDNS multicast group on > > interface wlan0.IPv6 with address fe80::ae81:12ff:fe34:6963. > > Mar 19 17:05:32 stt300 avahi-daemon[2630]: New relevant interface > > wlan0.IPv6 for mDNS. > > Mar 19 17:05:32 stt300 avahi-daemon[2630]: Registering new address record > > for fe80::ae81:12ff:fe34:6963 on wlan0.*. > > Mar 19 17:05:32 stt300 NetworkManager[30971]: <warn> Activation > > (wlan0/wireless): association took too long. > > Here it seem to go bad again... > > > Mar 19 17:05:32 stt300 NetworkManager[30971]: <info> (wlan0): device state > > change: config -> need-auth (reason 'none') [50 60 0] > > Mar 19 17:05:32 stt300 NetworkManager[30971]: <warn> Activation > > (wlan0/wireless): asking for new secrets > > Mar 19 17:05:32 stt300 kernel: [26039.005158] wlan0: deauthenticating from > > 00:1a:2b:97:7a:97 by local choice (reason=3) > > And we get a deauth request with WLAN_REASON_DEAUTH_LEAVING.
That local choice (reason=3) is NetworkManager terminating the association attempt because it already took 25 seconds, which is way too long for a simple association. The cause is long before that. NM tells the supplicant to start associating here: Mar 19 17:05:07 stt300 NetworkManager[30971]: <info> Config: set interface ap_scan to 1 and finally kills the attempt here: Mar 19 17:05:32 stt300 NetworkManager[30971]: <warn> Activation (wlan0/wireless): association took too long. So the supplicant gets a total of 25 seconds to associate to the AP, which, if you're not associated within that time, you're definitely not going to get associated if you're given more time. But between 17:05:07 and 17:05:32, NM is just waiting for the association to succeed. It really does look like the supplicant or driver tries to associate but then fails, eg: Mar 19 17:05:08 stt300 kernel: [26014.833011] wlan0: send auth to 00:1a:2b:97:7a:97 (try 1/3) Mar 19 17:05:13 stt300 kernel: [26019.834259] wlan0: deauthenticating from 00:1a:2b:97:7a:97 by local choice (reason=3) There's a whole lot of authentication/association failures in that log, which do appear to indicate that the STA can see the AP, but the AP can't hear the STA. Then we also have stuff like: Mar 19 17:05:24 stt300 wpa_supplicant[2855]: wlan0: SME: Authentication request to the driver failed where it would be nice to know why the request failed. Dan > > Mar 19 17:05:33 stt300 kernel: [26040.004150] brcmsmac bcma0:0: brcmsmac: > > brcms_ops_bss_info_changed: disassociated > > Mar 19 17:05:33 stt300 kernel: [26040.004172] brcmsmac bcma0:0: > > brcms_ops_bss_info_changed: qos enabled: false (implement) > > Mar 19 17:05:34 stt300 kernel: [26040.504402] cfg80211: Calling CRDA to > > update world regulatory domain > > Mar 19 17:05:34 stt300 ntpd[2611]: Listen normally on 16 wlan0 > > fe80::ae81:12ff:fe34:6963 UDP 123 > > Mar 19 17:05:34 stt300 ntpd[2611]: peers refreshed > > Mar 19 17:05:34 stt300 wpa_supplicant[2855]: wlan0: CTRL-EVENT-DISCONNECTED > > bssid=00:00:00:00:00:00 reason=3 > > Mar 19 17:05:34 stt300 NetworkManager[30971]: <info> (wlan0): supplicant > > interface state: 4-way handshake -> disconnected > > Mar 19 17:05:34 stt300 NetworkManager[30971]: <warn> Couldn't disconnect > > supplicant interface: This interface is not connected. > > I am trying to make sense of it, but it is getting late over here. Have > a fresh look tomorrow. > > Regards, > Arend > > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org