I've set my Raspberry Pi 4 to be an Access Point, but now I need it to authenticate in a freeRadius server that I set in my machine but it is not working. The problem is for sure in the hostapd.conf file in the RaspberryPi, because when I try to connect to the Access Point, it won't let me, and nothing shows up in the freeRADIUS server log. My hostapd.conf file is set like this:
country_code=PT
interface=wlan0
ssid=AccessPointTest
hw_mode=g
channel=7
# 2 --> for the use of and external RADIUS server
macaddr_act=2
auth_algs=1
ignore_broadcast_ssid=0
own_ip_address=127.0.0.1
#RADIUS authentication server
auth_server_addr=10.0.2.15
auth_server_port=1812
auth_server_shared_secret=radiuspass2020
wpa=2
wpa_key_mgmt=WPA-EAP
#2 --> required; reject authentication if RADIUS server does not include Tunnel-Password
wpa_psk_radius=2
UPDATE with info from a comment:
in my Radius server config I created a client with the IP address of the RasPi. and in the hostapd.conf
file I pointed the "auth_server_addr=10.0.2.15" which is the Radius Server IP Address, do I need anything more than that to connect to the server?
nmap -n -p 1812 10.0.2.15
. The most basic check otherwise would be to ping the IP address and make sure it responds. – Kate Dec 06 '20 at 20:23