Slight modification
Install/Configure Ubuntu 7.04 with freeradius 1.1.6
-----------------------------------------------------
This how will guide you how to install and configure FreeRadius to work with Linksys WRT54G on which Chillispot runs.
I assume LAMP is installed.
Go to www.freeradius.org and download Free Radius 1.1.6
Before Installing Radius
------------------------
Before you compile version 1.1.6 of Free Radius, ensure the following packages are installed.
They ensure that Free Radius can use the Perl and MySQL modules.
sudo apt-get install build-essential libmysqlclient15-dev libperl-dev
Installing Radius
-----------------
#tar -xzvf freeradius-1.1.6.tar.gz
#cd freeradius-1.1.6
#./configure
#make
#sudo make install
Testing Radius
--------------
#sudo /usr/local/sbin/radiusd -X
press ctrl+c to exit
Configuring Radius clients.conf
-------------------------------
Ok our radius is compiled and installed.
The configuration files can be found under /usr/local/etc/raddb/
#sudo nano /usr/local/etc/raddb/clients.conf
First thing we are going to edit clients.conf file.
In this file we will add every Linksys WRT54G to clients list.
Remember to add public IP address or address which are assigned to INTERNET port on our WRT54G.
For example I have only one WRT54G so I will add entry like that:
client ***.***.***.*** {
secret = testing123
shortname = r-wifi-01
nastype = other
}
The *** should be IP address of your WRT.
Secret - you should have the same entry here and in WRT54G