Problem in setting up a WPA-EAP network (Freeradius+hostapd on raspberry pi)
Hello, I have built the Freeradius 3.0.17 on raspberry pi and I'm trying to create a hotspot that supports WPA-EAP. I'm mostly using this page as a reference: https://exitno.de/linux_wlan The Raspberry Pi hotspot works fine with WPA-PSK (using hostapd based on this tutorial from raspberrypi.org <https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md> ). The Freeradius radtest also works fine with this test: radtest testing password 127.0.0.1 0 testing123 but when I try to combine them it doesn't work and the user can't connect. I have tested some variation of this hostapd configuration: interface=wlan0 driver=nl80211 ssid=SOMESSID hw_mode=g channel=7 ieee8021x=1 wpa=2 wpa_key_mgmt=WPA-EAP rsn_pairwise=CCMP auth_algs=1 auth_server_addr=127.0.0.1 auth_server_port=1812 auth_server_shared_secret=testing123 acct_server_addr=127.0.0.1 acct_server_port=1813 acct_server_shared_secret=testing123 I'm trying to connect with an android device. I see the SSID but it doesn't connect. The log of the radiusd -X after attempting to connect the mobile phone to network is attached. Any help would be highly appreciated.
I'm trying to connect with an android device. I see the SSID but it doesn't connect. The log of the radiusd -X after attempting to connect the mobile phone to network is attached.
Your log file shows authentication completes, so everything is probably OK from the FreeRADIUS side. You should try on the hostapd list to ensure your hostapd configuration file is correct. If you can get at the wpa_supplicant logs and from your android device and hostapd logs that'd probably help too. -Arran
participants (2)
-
Arran Cudbard-Bell -
Vafa Andalibi