hostapd is working as RADIUS server

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


Hi,

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,
    private_key_passwd=serverpasswd.
    d) In "RADIUS authentication server configuration" section added
    radius_server_clients=/etc/hostapd.radius_clients,
    radius_server_auth_ports=1812.
    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.

thanks,
Jagadish




More information about the Hostap mailing list