Radius says client is unknown.
Hello, I have configured freeRadius server and a Cisco AP350. When I run the server in debug mode, it prints 'unknown client', although the client is explicitely defined in clients.conf. Output is: rad_recv: Access-Request packet from host 10.2.8.150:1058, id=31, length=143 Ignoring request from unknown client 10.2.8.150:1058 --- Walking the entire request list --- Nothing to do. Sleeping until we see a request. clients.conf entity is: client 10.2.8.150 { secret = testing123 shortname = tnl2-network } Any idea on what's wrong? Regards, Onur. --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
On Tue 27 Feb 2007 16:58, M. Onur ERGiN wrote:
Hello, I have configured freeRadius server and a Cisco AP350. When I run the server in debug mode, it prints 'unknown client', although the client is explicitely defined in clients.conf. Output is: rad_recv: Access-Request packet from host 10.2.8.150:1058, id=31, length=143 Ignoring request from unknown client 10.2.8.150:1058 --- Walking the entire request list --- Nothing to do. Sleeping until we see a request.
clients.conf entity is: client 10.2.8.150 { secret = testing123 shortname = tnl2-network }
Any idea on what's wrong?
You have not restarted radiusd.... -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Hi,
Hello, I have configured freeRadius server and a Cisco AP350. When I run the server in debug mode, it prints 'unknown client', although the client is explicitely defined in clients.conf. Output is: rad_recv: Access-Request packet from host 10.2.8.150:1058, id=31, length=143 Ignoring request from unknown client 10.2.8.150:1058 --- Walking the entire request list --- Nothing to do. Sleeping until we see a request.
clients.conf entity is: client 10.2.8.150 { secret = testing123 shortname = tnl2-network }
Any idea on what's wrong?
have you restarted FreeRADIUS after adding it to clients.conf? alan
Yes, I restarted it several times. 10.2.8.150 is the AP's address. I guess there is nothing wrong with the AP. Just a moment ago, I noticed that I can't start radiusd daemon with 'service radiusd start' command. It gives the following error: [root@moe raddb]# service radiusd start Starting RADIUS server: Tue Feb 27 21:44:38 2007 : Info: Starting - reading configuration files ... 6490:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:632:Expecting: CERTIFICATE 6490:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:632:Expecting: CERTIFICATE 6490:error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib:ssl_rsa.c:534: [FAILED] But I can start it with 'radiusd -X' Can the prooblem be related to that? By the way, I have signed a new certificate to be used in radius. But it seems okay. Thanks for any help, Onur. A.L.M.Buxey@lboro.ac.uk wrote: Hi,
Hello, I have configured freeRadius server and a Cisco AP350. When I run the server in debug mode, it prints 'unknown client', although the client is explicitely defined in clients.conf. Output is: rad_recv: Access-Request packet from host 10.2.8.150:1058, id=31, length=143 Ignoring request from unknown client 10.2.8.150:1058 --- Walking the entire request list --- Nothing to do. Sleeping until we see a request.
clients.conf entity is: client 10.2.8.150 { secret = testing123 shortname = tnl2-network }
Any idea on what's wrong?
have you restarted FreeRADIUS after adding it to clients.conf? alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.
On Tuesday 27 February 2007 14:47, M. Onur ERGiN wrote:
Just a moment ago, I noticed that I can't start radiusd daemon with 'service radiusd start' command. It gives the following error:
[root@moe raddb]# service radiusd start Starting RADIUS server: Tue Feb 27 21:44:38 2007 : Info: Starting - reading configuration files ... 6490:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:632:Expecting: CERTIFICATE 6490:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:632:Expecting: CERTIFICATE 6490:error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib:ssl_rsa.c:534: [FAILED]
But I can start it with 'radiusd -X'
Can the prooblem be related to that? By the way, I have signed a new certificate to be used in radius. But it seems okay.
Thanks for any help, Onur.
Sounds like a permissions issue to me. Check the user/group that is configured in radiusd.conf, then verify that the user can read the certificates and config files. Kevin Bonner
I used CA.all script to create certificates and ran it as root. I also run radiusd as root. What do the error codes mean? (....6490:error....) Oh, by the way, may be this is a little off-topic but can I authenticate windows xp users through peap without using a certificate? Regards, Onur. Kevin Bonner <keb@pa.net> wrote: On Tuesday 27 February 2007 14:47, M. Onur ERGiN wrote:
Just a moment ago, I noticed that I can't start radiusd daemon with 'service radiusd start' command. It gives the following error:
[root@moe raddb]# service radiusd start Starting RADIUS server: Tue Feb 27 21:44:38 2007 : Info: Starting - reading configuration files ... 6490:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:632:Expecting: CERTIFICATE 6490:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:632:Expecting: CERTIFICATE 6490:error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib:ssl_rsa.c:534: [FAILED]
But I can start it with 'radiusd -X'
Can the prooblem be related to that? By the way, I have signed a new certificate to be used in radius. But it seems okay.
Thanks for any help, Onur.
Sounds like a permissions issue to me. Check the user/group that is configured in radiusd.conf, then verify that the user can read the certificates and config files. Kevin Bonner - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --------------------------------- TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV.
Hi,
I used CA.all script to create certificates and ran it as root. I also run radiusd as root.
you may 'run it as root' but radiusd will then change to run as the user defined in the radiusd.conf file - which MUST be able to read the config files and SSL keys etc. alan
Oh, by the way, may be this is a little off-topic but can I authenticate windows xp users through peap without using a certificate?
you COULD decide not to trust or check any certificate. nasty though. alan
Hi, A.L.M.Buxey@lboro.ac.uk wrote:
Oh, by the way, may be this is a little off-topic but can I authenticate windows xp users through peap without using a certificate?
you COULD decide not to trust or check any certificate. nasty though. Radius says peap needs tls for windows xp authentication. And tls requires valid certificates. But how can I bypass certificate checking? or can I just configure it without certificates? Radius rejects my authentication requests and I guess it is because of certificates. Is it possible? Thanks. Onur. --------------------------------- Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
Simple question .... Is the config file your ediiting the one that Freeradius is using? (I've done this before) Us the locate radiusd.conf and see all the instances.
King, Michael wrote:
Us the locate radiusd.conf and see all the instances.
"locate" is not a universal app. It is only installed if your distro installs it by default or you install it specifically. Also, new/moved files will not be seen by locate unless the update runs (usually in cron at 4am, which won't happen if you happen to turn off this machine at the end of the day). A better solution is to use "find" which is on most systems: find / -name <filename> e.g. find / -name clients.conf "man find" for more info. Note that locate will be faster if you have locate on your system. Just be aware that it may not always be accurate. "Finding" a file from the root of the filesystem on a "clean" server (ie fresh install w/o unnecessary apps or a GUI) should be pretty quick. -- Dennis Skinner Systems Administrator BlueFrog Internet http://www.bluefrog.com
:) thank you. how confusing it is: I have both radiusd.conf under /etc/raddb and under /usr/local/etc/raddb .. The correct one is that under /usr/.... I don't know why but when I type something wrong into the one under /etc/raddb; radiusd still returns error. May be I must remove everything and reinstall freeradius from the beginning. Then let me ask one more question; Now I can send my user/password over my AP. but I receive access-reject and it says: rad_check_password: Found Auth-Type Local auth: type Local auth: No User-Password or CHAP-Password attribute in the request auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 Can it be my certificate again? I edited eap.conf so that it includes default_eap_type = peap peap { default_eap_type = mschapv2 } and I uncommented the default certificate lines under tls{..} Best regards, Onur. "King, Michael" <MKing@bridgew.edu> wrote: Simple question .... Is the config file your ediiting the one that Freeradius is using? (I've done this before) Us the locate radiusd.conf and see all the instances. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --------------------------------- Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
Also check if the distro had freeradius already installed. The start script in /etc/init.d, unless replaced, will call the preinstalled version - not the one you installed. rpm -q freeradius (for rpm based distros). Do "which radiusd" to see if the one in the path is the one you want to call. The path to radiusd.conf is part of the compile and a preinstalled version will usually look in /etc/raddb unless otherwide instructed. Mearl ________________________________________ From: freeradius-users-bounces+jmdanner=samford.edu@lists.freeradius.org [mailto:freeradius-users-bounces+jmdanner=samford.edu@lists.freeradius.org] On Behalf Of M. Onur ERGiN Sent: Tuesday, February 27, 2007 4:08 PM To: FreeRadius users mailing list Subject: RE: Radius says client is unknown. :) thank you. how confusing it is: I have both radiusd.conf under /etc/raddb and under /usr/local/etc/raddb .. The correct one is that under /usr/.... I don't know why but when I type something wrong into the one under /etc/raddb; radiusd still returns error. May be I must remove everything and reinstall freeradius from the beginning. Then let me ask one more question; Now I can send my user/password over my AP. but I receive access-reject and it says: rad_check_password: Found Auth-Type Local auth: type Local auth: No User-Password or CHAP-Password attribute in the request auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 Can it be my certificate again? I edited eap.conf so that it includes default_eap_type = peap peap { default_eap_type = mschapv2 } and I uncommented the default certificate lines under tls{..} Best regards, Onur. "King, Michael" <MKing@bridgew.edu> wrote: Simple question .... Is the config file your ediiting the one that Freeradius is using? (I've done this before) Us the locate radiusd.conf and see all the instances. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html ________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
participants (7)
-
A.L.M.Buxey@lboro.ac.uk -
Danner, Mearl -
Dennis Skinner -
Kevin Bonner -
King, Michael -
M. Onur ERGiN -
Peter Nixon