Action disabled: source


Setup MySQL (or which ever database you plan to use).

In database/ run the following:

for i in core.tsql wisp.tsql users-accounting-summary.tsql
./convert-tsql mysql $i
done > smradius.mysql

Load smradius.mysql into your database:

mysql -u root -p smradius < smradius.mysql

Adjust smradiusd.conf to reflect your database details.

Copy the webgui/ & webui/ directories to your http directory and alter webgui/include/config.php and webui/user/include/config.php to reflect your database details.

Copy the smradius/ & awitpt/ directories into /usr/local/lib/smradius/:

mkdir /usr/local/lib/smradius
cp -r smradius /usr/local/lib/smradius/
cp -r awitpt/awitpt /usr/local/lib/smradius/

Copy smradiusd and smadmin into /usr/local/bin:

cp smadmin /usr/local/bin/
cp smradiusd /usr/local/sbin/

Setup system dirs:

mkdir /var/log/smradius
mkdir /var/run/smradius

If you are running smradius as an unprivileged user:

chown smradius.smradius /var/log/smradius /var/run/smradius

You can now browse to the web interface and configure.