Been using Freeradius for years.. Quad core Xeon server New Server setup UBUNTU 8.04 Mysql 5.0.51 Running newest version of freeradius Have dual mysql databases running .. One has all the user data and the other gets all the accounting. The server takes about 20-30 seconds to start.. Where on the previous servers old P3 500mhz it took only 2-3 seconds.. It works and responds perfectly fine.. But just takes a while to finish reading the configs.. Running debugging it loads. To the point where it says --------------Cut--------------------------------------- main: debug_level = 0 read_config_files: reading dictionary read_config_files: reading naslist Using deprecated naslist file. Support for this will go away soon. read_config_files: reading clients ---------------------------end Cut------------------------------------ Then after about 30 seconds blasts out the rest of the normal load.. Attaching to all the databases etc..etc... Anyone have any Ideas what this may be waiting around for? Thanx
On Wed, Aug 06, 2008 at 05:18:51PM -0400, Cris Boisvert wrote:
Been using Freeradius for years..
Have dual mysql databases running .. One has all the user data and the other gets all the accounting.
The server takes about 20-30 seconds to start.. Where on the previous servers old P3 500mhz it took only 2-3 seconds..
It works and responds perfectly fine.. But just takes a while to finish reading the configs..
Running debugging it loads. To the point where it says --------------Cut--------------------------------------- main: debug_level = 0 read_config_files: reading dictionary read_config_files: reading naslist Using deprecated naslist file. Support for this will go away soon. read_config_files: reading clients ---------------------------end Cut------------------------------------
Then after about 30 seconds blasts out the rest of the normal load.. Attaching to all the databases etc..etc...
Anyone have any Ideas what this may be waiting around for?
DNS? -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org
Where would you think the dns problem is .. Is their a debug mode that is more verbose that can show the exact thing that freeradius us looking for? All the naming is by IP not a dns name .. Also there are not a lot of places in the freeradius to put in dns servers numbers. -----Original Message----- From: freeradius-users-bounces+cris=usai.net@lists.freeradius.org [mailto:freeradius-users-bounces+cris=usai.net@lists.freeradius.org] On Behalf Of Scott Lambert Sent: Wednesday, August 06, 2008 10:58 PM To: FreeRadius users mailing list Subject: Re: Slow Starting.. On Wed, Aug 06, 2008 at 05:18:51PM -0400, Cris Boisvert wrote:
Been using Freeradius for years..
Have dual mysql databases running .. One has all the user data and the other gets all the accounting.
The server takes about 20-30 seconds to start.. Where on the previous servers old P3 500mhz it took only 2-3 seconds..
It works and responds perfectly fine.. But just takes a while to finish reading the configs..
Running debugging it loads. To the point where it says --------------Cut--------------------------------------- main: debug_level = 0 read_config_files: reading dictionary read_config_files: reading naslist Using deprecated naslist file. Support for this will go away soon. read_config_files: reading clients ---------------------------end Cut------------------------------------
Then after about 30 seconds blasts out the rest of the normal load.. Attaching to all the databases etc..etc...
Anyone have any Ideas what this may be waiting around for?
DNS? -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.12/1597 - Release Date: 8/7/2008 5:54 AM
Hi,
Where would you think the dns problem is .. Is their a debug mode that is more verbose that can show the exact thing that freeradius us looking for?
All the naming is by IP not a dns name .. Also there are not a lot of places in the freeradius to put in dns servers numbers.
clients.conf proxy.conf alan
Using freeradius with mysql backend. Currently lets all nas devices authenticate user/pass. Want to set it up so that specific users can authenticate only from specific nas devices. Like huntgroups but need to have it setup in mysql Does anyone have a reccomended config for this?
Hi, You can use huntgroups and sql groups that check those huntgroups: DIALUP NAS-Identifier == "akl-grafton-diallns3" DIALUP NAS-Identifier == "akl-grafton-diallns4" and then in the db - create groups that match the huntgroups. radbackend=> select * from radgroupcheck; id | groupname | attribute | op | value ----+--------------+----------------+----+-------------------- 5 | DIALUP | Huntgroup-Name | == | DIALUP and set up user accounts like this so they use groups: radbackend=> select * from radusergroup where username='przem'; username | groupname | priority ----------+-----------+---------- przem | ADSL | 1 przem | DIALUP | 2 kind regards Pshem 2008/8/8 Cris Boisvert <cris@usai.net>:
Using freeradius with mysql backend.
Currently lets all nas devices authenticate user/pass.
Want to set it up so that specific users can authenticate only from specific nas devices.
Like huntgroups but need to have it setup in mysql
Does anyone have a reccomended config for this?
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
Cris Boisvert -
Pshem Kowalczyk -
Scott Lambert