Freeradius 2.0.5 simple configuration fail

2011-07-06 Thread ael . gain
Hi everyone,
I'm currently trying to set a Freeradius 2.0.5 on a synology NAS which I 
installed via ipkg. 
I would like to authenticate the wifi users throught a netgear WG103 '802.1x 
enabled'.
So i've just modified the users file to add a 'rad' user :
rad Cleartext-Password := rad
And added in clients.conf :
client 10.1.1.16 {
secret  = ap_pass
shortname   = ap  
}
I configured the ap according to these settings.
Everything works fine when using radtest, but when trying to authenticate with 
the ap, i get the debug output that I put in attached file.

I suppose the problem comes from :
auth: No authenticate method (Auth-Type) configuration found for the request: 
Rejecting the user
auth: Failed to validate the user.

I search the Internet a whole day to fix this error without making the radius 
working...
Do you have any idea ?
thanks

debug
Description: Binary data
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius 2.0.5 simple configuration fail

2011-07-06 Thread ael . gain
Thank you for your quick answer.
I just change to peap in the eap.conf but i still have the same error.
Maybe i'll send an email to the maintener of the paquet.
I also tried to compile the last version of FreeRadius from sources but i was 
running into a lot of bugs...


- Mail Original -
De: Alan Buxey a.l.m.bu...@lboro.ac.uk
À: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Envoyé: Mercredi 6 Juillet 2011 13h22:55 GMT +01:00 Amsterdam / Berlin / Berne 
/ Rome / Stockholm / Vienne
Objet: Re: Freeradius 2.0.5 simple configuration fail

Hi,

 I'm currently trying to set a Freeradius 2.0.5 on a synology NAS which I 
 installed via ipkg. 
 I would like to authenticate the wifi users throught a netgear WG103 '802.1x 
 enabled'.
 So i've just modified the users file to add a 'rad' user :
 rad Cleartext-Password := rad
 And added in clients.conf :
 client 10.1.1.16 {
 secret  = ap_pass
 shortname   = ap  
 }
 I configured the ap according to these settings.
 Everything works fine when using radtest, but when trying to authenticate 
 with the ap, i get the debug output that I put in attached file.

firstly, 2.0.5 is hideously old - and very very buggy.  2.1.x should be
a minimum. can you get your package folk to upgrade their FreeRADIUS package?


secondly, change your default eap type in the eap.conf to peap - you seem to 
have md5 
which means a lot of NAK junk - this streamlines EAP.   you cant do md5 with 
wireless.

 I suppose the problem comes from :
 auth: No authenticate method (Auth-Type) configuration found for the 
 request: Rejecting the user
 auth: Failed to validate the user.


from a quick look i'd say things should be okay - make the EAP change and
see if the AP plays nicely

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html