hostapd 0.5.7: failover to secondary RADIUS problem
Thu Apr 3 07:28:41 PDT 2008
I am using hostapd 0.5.7 + madwifi driver and a Cisco card on a RHEL5
system. Hostapd is configured to use 802.1X authorization with 2
external Authentication Servers. The radius servers are both running
under RHEL4 and use freeradius-server-2.0.1.
Here is the relevant part of the hostapd.conf file:
This is working fine when the primary server is started.
I wanted however to test the failover to the secondary server: I stopped
the primary server and waited to see when hostapd would start using the
secondary one. And this never happened...
I saw the following in the printouts:
recv[RADIUS]: Connection refused
which seems normal since the server is not running but hostapd never
seem to try the secondary one...
I then shut down the IP address attached to the primary server and
noticed that this time hostapd was switching to the secondary server.
Is this an expected behaviour?
If yes, is it possible to configure/change this behaviour so that a
"Connection refused" error leads to a failover?
More information about the Hostap