OK, setting up FreeRADIUS was fun, now what do you do to make your WAP use it?
Your nice Pyramid Linux-based WAP needs but a few lines in /etc/hostapd.conf. In this example, the IP address of the FreeRADIUS server is 192.168.1.250:
Edit /etc/network/interfaces so that hostapd starts when your LAN interface comes up. Add these lines to the end of your LAN interface stanza:
pre-up hostapd -B /etc/hostapd.conf
post-down killall hostapd
pyramid:~# /etc/init.d/networking restart
And youíre almost there. See the next recipe for client configuration.
All the different wireless access points are configured in different ways. The three things common to all of them are:
- FreeRADIUS Server IP Address
- FreeRADIUS Port: 1812 is the default
- FreeRADIUS Key: shared secret
Remember, you donít have to worry about keys and certificates on the access point. Itís just a go-between.
blog comments powered by
RADIUS, by Jonathan Hassell (OíReilly) for a good in-depth tour of running a RADIUS server
The FreeRADIUS Wiki: http://wiki.freeradius.org/
The example hostapd.conf