MySQL support in Windows binary of FreeRadius
Hi all, I'm using the precompiled binary of FreeRadius from freeradius.net. Well, I'm happy to say that it works! My last challenge with FreeRadius is getting it to work with MySQL. I don't know if MySQL connectivity is possible with the precompiled Windows version. Can anyone confirm this? Cos I'm not getting very far trying to activate mysql. Basically I uncommented the sql line in line 2017 (under accounting), and the daemon will not run any more. It complains: Error: radiusd.conf[2017] Unknown module "sql" Can anyone comment on this? Thanks.
Foo JH wrote:
My last challenge with FreeRadius is getting it to work with MySQL. I don't know if MySQL connectivity is possible with the precompiled Windows version. Can anyone confirm this? Cos I'm not getting very far trying to activate mysql.
You will have to install the MySQL client libraries, and re-build FreeRADIUS. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
On Fri 09 Feb 2007 12:04, Foo JH wrote:
Hi all,
I'm using the precompiled binary of FreeRadius from freeradius.net. Well, I'm happy to say that it works!
My last challenge with FreeRadius is getting it to work with MySQL. I don't know if MySQL connectivity is possible with the precompiled Windows version. Can anyone confirm this? Cos I'm not getting very far trying to activate mysql.
Basically I uncommented the sql line in line 2017 (under accounting), and the daemon will not run any more. It complains: Error: radiusd.conf[2017] Unknown module "sql"
Can anyone comment on this? Thanks.
As far as we know the windows binary from freeradius.net contains no sql support at all. you should recompile it yourself or contact the packager. Regards -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Thanks Peter and Alan for your replies. I don't mind recompiling, except that I need to run FreeRadius as a Windows service, and I don't know what it takes to enable mysql in the compilation. Basically my problem with the default setup, is that it logs on a per-day basis. If I can configure FreeRadius to use a new accounting file every hour, it will be ideal. Does anyone know if this can be done? Peter Nixon wrote:
On Fri 09 Feb 2007 12:04, Foo JH wrote:
Hi all,
I'm using the precompiled binary of FreeRadius from freeradius.net. Well, I'm happy to say that it works!
My last challenge with FreeRadius is getting it to work with MySQL. I don't know if MySQL connectivity is possible with the precompiled Windows version. Can anyone confirm this? Cos I'm not getting very far trying to activate mysql.
Basically I uncommented the sql line in line 2017 (under accounting), and the daemon will not run any more. It complains: Error: radiusd.conf[2017] Unknown module "sql"
Can anyone comment on this? Thanks.
As far as we know the windows binary from freeradius.net contains no sql support at all. you should recompile it yourself or contact the packager.
Regards
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
This is documented in radiusd.conf in the "detail" section. -Peter On Fri 16 Feb 2007 06:46, Foo JH wrote:
Thanks Peter and Alan for your replies.
I don't mind recompiling, except that I need to run FreeRadius as a Windows service, and I don't know what it takes to enable mysql in the compilation.
Basically my problem with the default setup, is that it logs on a per-day basis. If I can configure FreeRadius to use a new accounting file every hour, it will be ideal.
Does anyone know if this can be done?
Peter Nixon wrote:
On Fri 09 Feb 2007 12:04, Foo JH wrote:
Hi all,
I'm using the precompiled binary of FreeRadius from freeradius.net. Well, I'm happy to say that it works!
My last challenge with FreeRadius is getting it to work with MySQL. I don't know if MySQL connectivity is possible with the precompiled Windows version. Can anyone confirm this? Cos I'm not getting very far trying to activate mysql.
Basically I uncommented the sql line in line 2017 (under accounting), and the daemon will not run any more. It complains: Error: radiusd.conf[2017] Unknown module "sql"
Can anyone comment on this? Thanks.
As far as we know the windows binary from freeradius.net contains no sql support at all. you should recompile it yourself or contact the packager.
Regards
------------------------------------------------------------------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
participants (3)
-
Alan DeKok -
Foo JH -
Peter Nixon