Post radiusd -X output of server startup. Is sql enabled anywhere in the configuration? It isn't by default. Ivan Kalik Kalik Informatika ISP -----Original Message----- From: freeradius-users-bounces+tnt=kalik.net@lists.freeradius.org [mailto:freeradius-users-bounces+tnt=kalik.net@lists.freeradius.org] On Behalf Of Nizar Zulmi Sent: 14 April 2009 08:00 To: FreeRadius users mailing list Subject: Re: NAS table i comment out this on clients.conf #client 127.0.0.1 { # secret = passwordradius # shortname = localhost # nastype = other # localhost isn't usually a NAS... #} and i add this to NAS table on radius database. insert into nas (nasname, shortname, secret) values ("client 127.0.0.1","localhost","passwordradius"); i restart the mysql server and then i perform test using radtest and got this message: radtest Nizar 123456 localhost 1812 passwordradius Sending Access-Request of id 104 to 127.0.0.1 port 1812 User-Name = "Nizar" User-Password = "123456" NAS-IP-Address = 255.255.255.255 NAS-Port = 1812 .... Re-sending Access-Request of id 104 to 127.0.0.1 port 1812 User-Name = "Nizar" User-Password = "123456" NAS-IP-Address = 255.255.255.255 NAS-Port = 1812 radclient: no response from server for ID 104 why its still dosn't work..?? clue plase... --- On Tue, 4/14/09, JDL <JDL@imaginenet.net> wrote: From: JDL <JDL@imaginenet.net> Subject: Re: NAS table To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Date: Tuesday, April 14, 2009, 11:42 AM Nizar Zulmi wrote:
i enable this on sql.conf readclients = yes
do i have to remove this : client 127.0.0.1 { Do you have a "127.0.0.1" client in your the nas table? If so, then yes, you will need to remove it or else you will end up with a duplicate. If this client is not in your nas table, then you can just leave the 127.0.0.1 client in the clients.conf file.
BTW, I think the 127.0.0.1 client is just there for testing purposes. I do not believe it will break anything if it is completely removed (unless, of course, you are running also running some sort of radius client on the same server as FreeRADIUS). Jim L. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.53/2054 - Release Date: 04/11/09 10:51:00