hostapd and freeradius with eap authentication

Per Hermansson hermansson.per at bredband.net
Fri Apr 24 17:25:08 EDT 2009


Hi
I'm having some troubles configuring hostapd (0.6.9) to do EAP 
authentication instead of mac authentication with freeradius (2.1.0).
My symptom of the problem is that in the output from freeradius I can 
see that it only receives the User-Name and password as the MAC address 
of my wireless card instead of the EAP identity.
What have I configured wrong below:

interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=3
logger_stdout=-1
logger_stdout_level=3
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=MY-radius
hw_mode=g
channel=6
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=2
auth_algs=1
ap_max_inactivity=300
ieee8021x=1
eap_server=0
own_ip_addr=192.168.1.1
nas_identifier=mynas
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=<sharedsecret>
acct_server_addr=127.0.0.1
acct_server_port=1813
acct_server_shared_secret=<sharedsecret>
wpa=2
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP
wpa_group_rekey=600

Thanks
Per


More information about the HostAP mailing list