我正在尝试使用 hostapd 作为 AP 和 wpa_supplicant 来测试 EAP-SIM。为此,我在 hostapd 中构建了 hlr_auc_gw。hlr_auc_gw 和 hostapd 启动正常,但是当我启动 wpa_supplicant 时,没有任何反应。编辑:hostapd.conf 是:
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 是:
network={
ssid="Test-EAP-SIM"
key_mgmt=WPA-EAP
eap=SIM
identity="1232010000000000"
password="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b9258e6dca4760379fb82581"
}
hostapd 仍然给我错误: 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 (未知) wlan1: STA d6:f0:e3:1b:0f:f2 IEEE 802.1X: 请求者使用不同的 EAP 类型: 18 (SIM)
我可能会错过什么?