wpa_supplicant: iwl3945 + EAP-PEAP/MSCHAPv2 (eduroam) == random disconnects

Pedro Francisco pedrogfrancisco at gmail.com
Tue Jul 31 09:05:31 EDT 2012


On Mon, Jul 30, 2012 at 10:12 PM, Dan Williams <dcbw at redhat.com> wrote:
> On Mon, 2012-07-30 at 09:56 -0500, Dan Williams wrote:
>> On Thu, 2012-07-26 at 17:52 +0100, Pedro Francisco wrote:
>> > On Mon, Jul 16, 2012 at 3:15 PM, Dan Williams <dcbw at redhat.com> wrote:
>> > > On Mon, 2012-07-16 at 09:08 -0500, Dan Williams wrote:
>> > >> On Fri, 2012-07-13 at 20:34 +0100, Pedro Francisco wrote:
>> > >> > I have random disconnects when connecting to an ESS (eduroam) using
>> > >> > EAP-PEAP/MSCHAPv2 and iwl3945 (Fedora 17).
>> > >> >
>> > >> Best thing to do here is run wpa_supplicant with debug logging (ie, with
>> > >> arguments -dddt) to get more information.  You can do this by stopping
>> > >> NM, killall -TERM wpa_supplicant, then "wpa_supplicant -dddtu" (as root
>> > >> of course), then restarting NM, and waiting for the disconnect.  Then we
>> > >> can see what's actually going on.
>> > >
>> > > Note that if you do this, the resulting logs may contain some
>> > > identifying information like your username, and the IDs of various APs
>> > > on your school network. So if you don't feel comfortable posting that,
>> > > feel free to mail the logs to me privately.
>> >
>> > Ok, I'll email you personally.
>> > Do you mind if the logs have the iwl3945 module debug info as well?
>>
>> I don't mind at all.
>
> There are a few unexpected deauthentication events, all appear to be:
>
> 1343297539.871522: wlan0: Event DEAUTH (12) received
> 1343297539.871535: wlan0: Deauthentication notification
> 1343297539.871547: wlan0:  * reason 10
> 1343297539.871560: wlan0:  * address b8:62:1f:45:2c:20
>
> or
>
> 1343297675.593175: wlan0: Event DEAUTH (12) received
> 1343297675.593188: wlan0: Deauthentication notification
> 1343297675.593200: wlan0:  * reason 2
> 1343297675.593214: wlan0:  * address 00:0e:84:ab:0d:d0
>
> (about 70 seconds after the successful connection, though the AP has a
> pretty bad RSSI at this point)
>
> though there are some during connections like:
>
> 1343297547.200592: wlan0: Event DEAUTH (12) received
> 1343297547.200605: wlan0: Deauthentication notification
> 1343297547.200616: wlan0:  * reason 4
> 1343297547.200629: wlan0:  * address b8:62:1f:62:4f:d0
>
>
> Basically, I'm seeing a lot of deauthentications due to reason #10 which
> is apparently "Disassociated because the information in the Power
> Capability element is unacceptable" from 802.11-2007.  Which I don't
> actually know much about.  Any comments here Jouni?

Orthogonally -- or not -- I was finally able to trigger some weird
dmesg output which may compromise the logic of userspace logs. Do you
think whatever is causing this (
http://thread.gmane.org/gmane.linux.kernel.wireless.general/95588 ) is
causing the random disconnects?

-- 
Pedro


More information about the HostAP mailing list