About "non WPA network not allowed"

Jouni Malinen j
Sun Sep 11 03:22:41 PDT 2011

On Sun, Sep 11, 2011 at 06:27:19AM +0800, why wrote:
> Hello, I'm new to hostapd and wpa_supplicant. I have a few question to ask about EAP-SIM and the "non WPA network not allowed".

> 1.My hostapd.conf is:
> auth_algs=3
> ieee8021x=1
> eapol_version=1
> eap_server=1

You seem to have configured hostapd for IEEE 802.1X without any kind of

> 6.My wpa_sim.conf
> key_mgmt=WPA-EAP

While wpa_supplicant is configured to require WPA-Enterprise.

> 7. I run "sudo ./wpa_supplicant -dd -D nl80211 -i wlan0 -c wpa_sim.conf"

> 3: 00:14:78:71:42:67 ssid='eap-sim' wpa_ie_len=0 rsn_ie_len=0 caps=0x401
>    skip - non-WPA network not allowed
> No suitable network found

And because of the configuration mismatch, wpa_supplicant does not
accept the network.

> 9.Where is wrong? How should I correct? Thank you very much!

Assuming you were trying to use WPA on the AP, you would need to add
wpa_key_mgmt=WPA-EAP into hostapd.conf.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list