The installation of the FreeRADIUS server is unquestionably a challenge. Several steps have to be strictly followed to have a working configuration. To do this we will divide the installation in five steps:
Package and dependencies installation
Database configuration
FreeRADIUS configuration
Radiusclient-ng installation
OpenSER configuration
For FreeRADIUS, freeradius-mysql and CDRTool install the packages below:
apt-get install freeradius freeradius-mysql
Step 1: Create the database for the FreeRADIUS server.
mysqladmin -u root –p create radius
Step 2: Create the tables below to support the RADIUS server.
cd /usr/share/doc/freeradius/examples gunzip mysql.sql.gz mysql -u root radius <mysql.sql
Step 3: Apply the RADIUS and radacct patches that comes together with CDRTool. The FREERADIUS patch fixes a problem with accounting type...