DaloRADIUS installed on Ubuntu.

Fronting the white conch.
According http://putudude.blogspot.com/2009/05/freeradius-on-ubuntu-904.html, http://daloradius.wiki.sourceforge.net/space/showimage/daloRADIUS+Users+Manual.pdf on trial. Ubuntu 9.04.
Recommended DaloRADIUS.
DaloRADIUS advanced RADIUS web plateform is intended to manage hotspots and the use of the ISP general management. user, graphical reporting, accounting for the (accounting) and billing engine to GoogleMaps for a management position.
DaloRADIUS. Eii user writes with the PHP language and JavaScript, and use of database systems like MySQL, PostgreSQL, Sqlite, MsSQL and other
safeguard FreeeRadius to develop a muted database server acts as a backend for other features, it can import. implement ACLs, GoogleMaps to locate. hotspots / access point and other features.
DaloRADIUS a Web Application to manage radius server based on principle and to manage radius server which has only a FreeRadius and Database structure of FreeRadius. the upgrade. upgrade daloRADIUS associated with the update. daloradius.conf.php it with newer options with a writable directory with all of the old daloradius. php / html / javascript code to the latest available daloradius package file to import the database scheme file update / insert new record into the databse. for details on upgrading the more I see the manual of daloRADIUS.



The process of installation.
A. If it is not installed, install apache with the command.
Apt-get Install apache2.2nd. are installed on php.
Apt-get Install PHP5 PHP5-GD-Common PHP-DB PHP Pear-libapache2-mod-PHP5.3rd. to install MySQL as follows.
Apt-get Install PHP5-MySQL MySQL-Server.fourth. If it is not installed, install FreeRadius command.
Apt-get Install Freeradius Freeradius-MySQL.fifth. download from daloRADIUS. Http://sourceforge.net/projects/daloradius. follows.
wget http://sourceforge.net/projects/daloradius/files/daloradius/daloradius-0.9-8.tar.gz.6. the file command.
tar-zxvf Daloradius-0.9-8.tar.gz.7th. to the directory of the web daloradius to the location of the command.
CP Daloiradius-xy-Z / / var / www-R.eight. set the permission.
chown www-data: www-data / var / www / Daloradius-XX-Z-R.the ninth. the chmod as follows.
the six hundred and forty fourth chmod / var / www / Daloradius-xy-Z / Library / Daloradius.conf.php.ten. to create a database called the radius.

11. The quit command to exit the base. MySQL.
12. the table to the database name. RADIUS. by using a script provided with the following command daloradius cups.
mysql-u root-p radius </ var/www/daloradius-0.9-8/contrib/db/fr2-mysql-daloradius-and-freeradius.sql.
The word. RADIUS. for Mau's name database. And when prompted for a password, enter the root password for the database name radius will not have to create the database. Use this command to run the script file as follows.
mysql-u root-p radius </ var/www/daloradius-0.9-8/contrib/db/mysql-daloradius.sql.
If it is an upgrade, see the guide as a reference to it.
13. Open the configuration file. / Var / www / daloradius-xy-z / library / daloradius.conf.php.แg prepaid fixed fee as follows.
CONFIG_DB_ENGINE = mysql.
CONFIG_DB_HOST = 127.0.0.1.
CONFIG_DB_USER = root.
CONFIG_DB_PASS = CONFIG_DB_NAME = radius.
14th. To configure freeradius.
1.14 file. / Etc / freeradius / sql.conf. To run the database with the radius of the root user password, which is defined as follows.
server = "localhost".
login = "root".
password = "xxxxxx".
radius_db = "radius".
14.2 The Client will provide the password to use FreeRadius file / etc / freeradius / clients.conf by the client 127.0.0.1 (or client localhost) is the secret = radiussecretclient.
localhost {.
secret = radiussecret.
{.
Allow the machine to another client, such as Title FreeRadius client with the IP address is 172.24.51.16 configured it as follows.
client 172.24.51.16 {.
secret = radiussecret.
shortname = chilli.
}.
3.14 file. / Etc / freeradius / sql.conf readclients = yes to set the radius client to read the values ​​from the database.
14.4 Edit the file / etc / freeradius / site-enabled / default as follows.
The. Accounting. {......}. make a mark in front of the # sql out to retrieve the data from the database to verify the username, password and do the accounting.
A. Session. {......}. make a mark in front of the # sql out to retrieve the data from the database to verify the username, password in the session.
The. Authorize. {......}. to remove mark # in front of the files. and remove. #. out of it. SQL.
Command to restart FreeRadius 5.14.
/ Etc / init.d / freeradius restart.
15th. To restart apache with the command.
/ Etc/init.d/apache2 restart.
16. The Directory and the touch.
mkdir / var / log / freeradius / radacct /.
touch / var / log / freeradius / radacct / sql-relay.
17. Open the Browser. Http://ip_address/daloradius-xy-z.
user = administrator.
password = radius.
18. On the Login window is as follows.




The user can manage this. Examining the FreeRadius with the following command radtest radtest username password 127.0.0.1 0 mysecret If set up correctly and enter the result that they are correct. Access-Accept Fig.

Comments

Popular posts from this blog

PHPMixBill V5 mikrotik Billing Solutions

How to install Asterisk and A2billing on Ubuntu Server 12.04LTS

odbcinst: SQLGetPrivateProfileString failed with