Hi All! I have a problem with freeradius getting access to a mysql database. I installed freeradius 1.1.5 on OpenSuse. The radius server is working, because I get an Access-Accept Packet with radtest (I configured the clients.conf). But how do I configure FreeRadius to use an MySql-database? I already installed lampp, it contains an MySql-Server with the comfotable tool PHP-MyAdmin... Thanks Michael
Michael Ziemann wrote:
But how do I configure FreeRadius to use an MySql-database?
You'll need the mysql-client development packages. Then, "./configure;make;make install" should build the server with MySQL support. Then, read "radiusd.conf", and look for "sql". Alan DeKok.
On Mon 09 Jul 2007, Michael Ziemann wrote:
Hi All!
I have a problem with freeradius getting access to a mysql database. I installed freeradius 1.1.5 on OpenSuse. The radius server is working, because I get an Access-Accept Packet with radtest (I configured the clients.conf).
But how do I configure FreeRadius to use an MySql-database?
Did you use the SUSE packages? My packages? or compile yourself from source? Both SUSE and my packages contain mysql support, you simply need to read through radiusd.conf (search for sql) and enable it. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Make the database tables using this script: http://wiki.freeradius.org/MySQL_DDL_script Configure connection details (server, username, password) to MySQL in sql.conf. Make sure that user(name) has appropriate access to the database. Find sql entries in radiusd.conf and uncomment them Ivan Kalik kalik Informatika ISP Dana 9/7/2007, "Michael Ziemann" <mailinglist@ziemann-perl.de> piše:
Hi All!
I have a problem with freeradius getting access to a mysql database. I installed freeradius 1.1.5 on OpenSuse. The radius server is working, because I get an Access-Accept Packet with radtest (I configured the clients.conf).
But how do I configure FreeRadius to use an MySql-database?
I already installed lampp, it contains an MySql-Server with the comfotable tool PHP-MyAdmin...
Thanks
Michael
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan DeKok -
Michael Ziemann -
Peter Nixon -
tnt@kalik.co.yu