WPA authentication problem

Robert Deliën robert
Thu Mar 19 04:26:17 PDT 2015


Hi guys,

I'm using hostapd to setup an access point on a FreeScale i.MX28 processor with a ATH6KL SDIO based NIC.

With this setup, I can successfully connect to an existing access point, using both no security, WEP64/12 security and WPA/2 security. Setting up an access point with this test setup works if no security is used. However, when setting up an access point using WPA and/or WPA2, connections always fail.

I have maximized syslogging and a connection attempt from a client shows this in the log:
Mar 19 11:12:46 wivi daemon.info hostapd: wlan0: STA 10:fe:ed:58:21:06 IEEE 802.11: associated
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 WPA: event 1 notification
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 WPA: start authentication
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 IEEE 802.1X: unauthorizing port
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 WPA: sending 1/4 msg of 4-Way Handshake
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 WPA: received EAPOL-Key frame (2/4 Pairwise)
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 WPA: sending 3/4 msg of 4-Way Handshake
Mar 19 11:12:46 wivi daemon.info hostapd: wlan0: STA 10:fe:ed:58:21:06 IEEE 802.11: disassociated
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 WPA: event 2 notification
Mar 19 11:12:46 wivi daemon.debug hostapd: wlan0: STA 10:fe:ed:58:21:06 IEEE 802.1X: unauthorizing port

It seems like no second EAPOL-Key frame is received, or it's reception triggers a disassociation. Unfortunately no reason is logged.

I started with hostapd 2.3, but now I'm running 2.5-devel, straight from the trunk and the problem persists. I have tried different clients (Ubuntu 14.04, iOS) but the result is the same.

I couldn't find any similar problems on the web, so I'm probably overlooking something dead obvious. Can anybody point me in the right direction?

Cheers,

        Robert.



More information about the Hostap mailing list