How to Install Freeradious

Before installing freeradius go to “spec for freeradius.doc” for installing prerequisite libraries/packages.

Take the following steps to build and install the server:

tar –zxvf freeradius.1.02.tar.gz
cd freeradius.1.02
./configure --localstatedir=/var --sysconfdir=/etc
make install

That means binaries will get installed in /usr/local/{bin,sbin},
manpages in /usr/local/man, configuration files in /etc/raddb, and
logfiles in /var/log and /var/log/radacct.

Note: you will not able to make it unless you install all rpm which are pre-requisite and you can find it in the file /path of freeradius.1.20/suse/freeradius.spec

To start the server in debugging mode, do:

radiusd –X

For the configuration to Ras, we go to the directory of /etc/raddb, we find three main configuration files 1) radiusd.conf 2)client.conf 3)sql.conf ( if we want our users to use mysql)
For further configuration go to these files and see the lines which are highlighted in red color.
Before it run the service of mysql as follows
/etc/init.d/mysql start
mysql –uroot
mysql> make database radius;
mysql>use radius;
mysql> source radius <>exit;

Now configure your radiusd.conf file first, and give the spool there and enable the sql entries if u want to use it.
Then configure your client.conf and give at the client section the name of your Ras server.
Then configure your sql.conf file and enable the entries for connecting to database.

Start the debugging mode of radius again as follows

radiusd –X

For the configuration of dialup admin, just go the directory of dialup admin which is in the directory of freeradius.1.20
And just see the entries in the admin.conf file, you will see every thing in red color there…

For any further help contact

Forex Trading