anyone can help.. i want to set my radius server reading the NAS from table NAS on radius database. my radius are still reading NAS from clients.conf. apreciate your help.
Have you enabled read_clients in sql.conf? Doing that doesn't disable reading clients.conf. Just remove duplicate clients from the file. 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: 13 April 2009 19:40 To: freeradius-users@lists.freeradius.org Subject: NAS table i want to set my radius server reading the NAS from table NAS on radius database. my radius are still reading NAS from clients.conf.
i enable this on sql.conf readclients = yes do i have to remove this : client 127.0.0.1 { # # The shared secret use to "encrypt" and "sign" packets between # the NAS and FreeRADIUS. You MUST change this secret from the # default, otherwise it's not a secret any more! # # The secret can be any string, up to 31 characters in length. # secret = passwordradius # # # The shared secret use to "encrypt" and "sign" packets between # the NAS and FreeRADIUS. You MUST change this secret from the # default, otherwise it's not a secret any more! # # The secret can be any string, up to 31 characters in length. # secret = passwordradius # # The short name is used as an alias for the fully qualified # domain name, or the IP address. # shortname = localhost # # the following three fields are optional, but may be used by # checkrad.pl for simultaneous use checks # # # The nastype tells 'checkrad.pl' which NAS-specific method to # use to query the NAS for simultaneous use. # # Permitted NAS types are: # # cisco # computone # livingston # max40xx # multitech # netserver # pathras # patton # portslave # tc # usrhiper # other # for all other types # nastype = other # localhost isn't usually a NAS... ________________________________ From: Ivan Kalik <tnt@kalik.net> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Tuesday, April 14, 2009 5:11:55 AM Subject: RE: NAS table Have you enabled read_clients in sql.conf? Doing that doesn't disable reading clients.conf. Just remove duplicate clients from the file. 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: 13 April 2009 19:40 To: freeradius-users@lists.freeradius.org Subject: NAS table i want to set my radius server reading the NAS from table NAS on radius database. my radius are still reading NAS from clients.conf.
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.
participants (3)
-
Ivan Kalik -
JDL -
Nizar Zulmi