hostapd is working as RADIUS server

Jagadish jagadish.nadimpalli
Thu Dec 13 00:40:09 PST 2007


The hostapd daemon is working as RADIUS server for me. I did the 
following configuration for it.

1) In hostapd.conf file

    a) interface=eth0  --- Since I used wired driver.
    b) removed all AP related configurations.
    c) In "Integrated EAP server" section, added eap_server=1, 
    eap_user_file=/etc/hostapd.eap_user, ca_cert=/etc/root.pem,
    server_cert=/etc/server.pem, private_key=/etc/server.pem,
    d) In "RADIUS authentication server configuration" section added
    e) In "WPA/IEEE 80211i configuration" added wpa_key_mgmt=WPA-EAP,
    wpa_pairwise=TKIP CCMP.

2) In /etc/hostapd.eap_user file

    Add * TLS. I am using EAP_TLS. So enabled this and disabled all
    other methods.

3) In /etc/hostapd.radius_clients

    Add your subnet on which the AP reside. Shared key need to be
    specified. This is shared between AP and RADIUS server.

With this configuration I ran hostapd with hostapd.conf as argument. It 
is working.


More information about the Hostap mailing list