wpa_supplicant: iwl3945 + EAP-PEAP/MSCHAPv2 (eduroam) == random disconnects
Dan Williams
dcbw
Mon Jul 16 07:15:05 PDT 2012
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).
> >
> > I don't know exactly what the cause is, so I'm asking here (I'm
> > probably going to blame the driver since there are so much different
> > reasons but I thought I'd gather more opinions first)
> >
> > Here's a snippet from the output of wpa_cli (I removed some lines, as
> > the connection drops randomly but can hold >30 minutes working fine):
> > (connection managed by NetworkManager)
>
> 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.
Dan
> When a disconnect happens, NM will wait a certain amount of time for the
> supplicant to successfully reconnect to the network before tearing down
> the connection and starting another one (or retrying the same one).
> Which might be what's happening here. But that means we need to figure
> out *why* the supplicant can't reconnect within the allowed timeframe.
>
> Dan
>
> > { I'm not sure, but I'm assuming the reason list is the one in
> > include/linux/ieee80211.h, if so, the reason is the text in "{ }" }
> >
> > <3>CTRL-EVENT-DISCONNECTED bssid=b8:62:1f:54:c2:02 reason=2 {
> > WLAN_REASON_PREV_AUTH_NOT_VALID }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3 {
> > WLAN_REASON_DEAUTH_LEAVING }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:1f:ca:d2:20:0e reason=10 {
> > WLAN_REASON_DISASSOC_BAD_POWER (?? - iwl3945 doesn't support PS on
> > station side) }
> >
> > <3>CTRL-EVENT-EAP-STARTED EAP authentication started
> > <3>CTRL-EVENT-EAP-FAILURE EAP authentication failed
> >
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3 {
> > WLAN_REASON_DEAUTH_LEAVING ( 00:00:00:00:00:00 ???? maybe it's
> > http://thread.gmane.org/gmane.linux.kernel.wireless.general/91796 ) }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
> > <3>CTRL-EVENT-DISCONNECTED bssid=b8:62:1f:54:c2:02 reason=10 {
> > WLAN_REASON_DISASSOC_BAD_POWER (?? - iwl3945 doesn't support PS on
> > station side) }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:0f:24:6d:69:0f reason=2 {
> > WLAN_REASON_PREV_AUTH_NOT_VALID }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:0e:d7:09:57:01 reason=2
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3 {
> > WLAN_REASON_DEAUTH_LEAVING }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:1f:ca:d2:20:0e reason=10 {
> > WLAN_REASON_DISASSOC_BAD_POWER (?? - iwl3945 doesn't support PS on
> > station side) }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3 {
> > WLAN_REASON_DEAUTH_LEAVING }
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
> > <3>CTRL-EVENT-DISCONNECTED bssid=00:1f:ca:d2:20:0e reason=3
> >
> > Any ideas on what to blame?
> >
> > Thanks in Advance,
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
More information about the Hostap
mailing list