i am trying to test EAP-SIM with hostapd as AP and wpa_supplicant. I have built the hlr_auc_gw in hostapd for doing this. hlr_auc_gw and hostapd start fine but when i start wpa_supplicant, nothing happens. EDIT: hostapd.conf is:
interface=wlan0
driver=nl80211
ieee8021x=1
eap_server=1
ssid=Test-EAP-SIM
eap_user_file=/tmp/hostapd.eap_user
eap_sim_db=unix:/tmp/hlr_auc_gw.sock
radius_server_auth_port=1812
radius_server_clients=/tmp/radius_clients
wpa=3
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP TKIP
wpa_supplicant.conf is:
network={
ssid="Test-EAP-SIM"
key_mgmt=WPA-EAP
eap=SIM
identity="1232010000000000"
password="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b9258e6dca4760379fb82581"
}
hostapd still gives me the error: wlan1: STA d6:f0:e3:1b:0f:f2 IEEE 802.1X: unauthorizing port wlan1: STA d6:f0:e3:1b:0f:f2 IEEE 802.1X: authentication failed - EAP type: 0 (unknown) wlan1: STA d6:f0:e3:1b:0f:f2 IEEE 802.1X: Supplicant used different EAP type: 18 (SIM)
What could i be missing?