NAS table

Nizar Zulmi siapa_bilang_emailku_panjang at yahoo.com
Tue Apr 14 09:00:16 CEST 2009


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 at imaginenet.net> wrote:

From: JDL <JDL at imaginenet.net>
Subject: Re: NAS table
To: "FreeRadius users mailing list" <freeradius-users at 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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090414/4a355099/attachment.html>


More information about the Freeradius-Users mailing list