proski at gnu.org
Thu Jul 21 13:02:48 EDT 2011
On 07/21/2011 11:57 AM, Jouni Malinen wrote:
> On Thu, Jul 21, 2011 at 04:19:18PM +0100, Nejc Škoberne wrote:
>>> That is a disconnection event from the driver:
>>> 1310857012.148471: Wireless event: cmd=0x8b15 len=20
>>> 1310857012.148635: Wireless event: new AP: 00:00:00:00:00:00
>>> 1310857012.148974: Setting scan request: 0 sec 100000 usec
>>> 1310857012.149966: Added BSSID 00:17:df:2c:c9:e2 into blacklist
>>> 1310857012.150280: CTRL-EVENT-DISCONNECTED - Disconnect event - remove
>> I posted the question to the madwifi list, and they disagree:
>> My understanding is that wpa_supplicant doesn't like something about the
>> AP because it adds the AP's MAC to the blacklist before the disconnect.
> That is not what the debug log shows here. The first line there is the
> disconnection event from the driver and that is followed by
> wpa_supplicant blacklisting the BSSID (because of the driver
>> I think the disconnects are initiated by wpa_supplicant. However, I
>> don't see any message from wpa_supplicant explaining the reason for
I was the one who replied in the madwifi-devel list.
> That is not correct. The disconnect was indicated by the driver and the
> reason for blacklisting was that driver event.
Yes, in this case. However, the post to madwifi-devel contained a link
to a longer log:
It contains such parts as:
1310857014.482037: RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
1310857014.482277: Wireless event: cmd=0x8b06 len=8
1310857014.482485: RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
1310857014.482715: Wireless event: cmd=0x8b04 len=12
1310857014.482924: RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
1310857014.483157: Wireless event: cmd=0x8b1a len=15
1310857024.464978: Authentication with 00:17:df:2c:c9:e2 timed out.
1310857024.468330: BSSID 00:17:df:2c:c9:e2 blacklist count incremented to 2
1310857024.468723: No keys have been configured - skip key clearing
1310857024.468881: State: ASSOCIATING -> DISCONNECTED
1310857498.784927: Authentication with 00:17:df:2c:c9:e2 timed out.
1310857498.786611: BSSID 00:17:df:2c:c9:e2 blacklist count incremented to 2
1310857498.786967: No keys have been configured - skip key clearing
1310857498.787117: State: 4WAY_HANDSHAKE -> DISCONNECTED
wpa_supplicant itself detects a timeout.
0x8b1a is SIOCSIWESSID. I'm not sure if wpa_supplicant sets ESSID or
some other tool does it (e.g. another copy of wpa_supplicant).
More information about the HostAP