In attempting to build a FreeRADIUS appliance using DAB, we begin with a stock debian 5 template from OpenVZ.org:
Links referred to:
http://packages.debian.org/lenny-backports/i386/freeradius/download
http://wirelessafrica.meraka.org.za/wiki/index.php/Antoine's_Research
http://www.howtoforge.com/wifi_hotspot_setup
OpenVZ template for latest 32bit Debian 5 (132 MB dated 3rd Feb 2010)
http://download.openvz.org/template/precreated/debian-5.0-x86.tar.gz
start the container
Since freeradius stop does not work correctly in debian, we enable RHEL service like commands:
service freeradius stop will work correctly when freeradius is installed.
***** debian5 backup *********
Enable lenny-backports by appending the following to /etc/apt/sources.list
If you want to get your packages from backports upgraded automatically the following entry in
/etc/apt/preferences should be (create the file if absent) sufficient:
Now install the freeradius package
Comment out the freerad user and group in /etc/freeradius/radiusd.conf (otherwise we will have to make the www-data user a member of the freerad group.
Configure FreeRADIUS to connect to the mysql database in /etc/freeradius/sql.conf and modify /etc/freeradius/radiusd.conf to authenticate using sql by uncommenting out the include line for the sql.conf file. Uncomment out lines beginning with sql under authorize, accounting, session, post-auth sections in /etc/freeradius/sites-available/default .
Links referred to:
http://packages.debian.org/lenny-backports/i386/freeradius/download
http://wirelessafrica.meraka.org.za/wiki/index.php/Antoine's_Research
http://www.howtoforge.com/wifi_hotspot_setup
OpenVZ template for latest 32bit Debian 5 (132 MB dated 3rd Feb 2010)
http://download.openvz.org/template/precreated/debian-5.0-x86.tar.gz
start the container
Code:
apt-get update
apt-get dist-upgrade
apt-get install apache2 mysql-server php5 php5-mysql php5-snmp
apt-get install php5-mcrypt php5-curl php5-gd php5-imap php5-radius php-pear
apt-get install zip unzip
apache2ctl restart
Code:
apt-get install sysvconfig
***** debian5 backup *********
Enable lenny-backports by appending the following to /etc/apt/sources.list
Code:
deb [URL]http://www.backports.org/debian[/URL] lenny-backports main
or
deb [URL]http://www.backports.org/debian[/URL] lenny-backports main contrib non-free
If you want to get your packages from backports upgraded automatically the following entry in
/etc/apt/preferences should be (create the file if absent) sufficient:
Code:
Package: *
Pin: release a=lenny-backports
Pin-Priority: 200
Code:
apt-get update
apt-get install debian-backports-keyring
apt-get update
apt-get install snmp rrdtool
apt-get -t lenny-backports install freeradius freeradius-mysql
apache2ctl restart
Configure FreeRADIUS to connect to the mysql database in /etc/freeradius/sql.conf and modify /etc/freeradius/radiusd.conf to authenticate using sql by uncommenting out the include line for the sql.conf file. Uncomment out lines beginning with sql under authorize, accounting, session, post-auth sections in /etc/freeradius/sites-available/default .
Last edited: