WPA2-PEAP problems

Harshal Chhaya harshal at gmail.com
Tue May 24 14:44:34 EDT 2011


Ed,

In my particular case, my clients get disconnected and re-try after
waiting a bit. I haven't tried using a wrong password but I can see
why the behavior would be same - this problem occurs before the
password is checked.

Try setting 'eap_version' to 1 (instead of 2) and 'wmm_enabled' to 0
(the default is 1) since that seems to help in some cases (not in my
case though).

Regards,
- Harshal




On Mon, May 23, 2011 at 6:22 AM, Ed W <lists at wildgooses.com> wrote:
> Hi
>
> The clients use WPA2-PEAP (with username and passwords) to authenticate with
> the AP and RADIUS server.
> The username and password are stored in an 'eap_user' file.
>
> I'm just setting up a hostapd box and getting a very similar failure log to
> yours.  I haven't checked exactly, but my config seems very similar by eye.
> My system is a gentoo x86 based box, so not using the same binaries as you
> (for example).
>
> Quick question: I see no difference if I try and login with the correct
> password or wrong password - do you get the same? In all cases the client
> appears to just hang with "authenticating" on the screen and there is no
> progress seen? This seems to be a clue, but unsure how to debug further?
>
> This in your log file seems significant (it's also in mine):
>
> Jan  1 00:02:22 OpenWrt user.debug hostapd: wlan0: STA 00:09:37:09:03:87
> IEEE 802.1X: Sending EAP Packet (identifier 225)
>
> Jan  1 00:02:22 OpenWrt user.debug hostapd: wlan0: STA 00:09:37:09:03:87
> IEEE 802.1X: unauthorizing port
>
> Jan  1 00:02:22 OpenWrt user.warn hostapd: wlan0: STA 00:09:37:09:03:87 IEEE
> 802.1X: authentication failed - EAP type: 0 ((null))
>
> Jan  1 00:02:22 OpenWrt user.info hostapd: wlan0: STA 00:09:37:09:03:87 IEEE
> 802.1X: Supplicant used different EAP type: 25 (PEAP)
>
> Please post if you figure out your issue?
>
> Kind regards
>
> Ed W
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>


More information about the HostAP mailing list