Using freeradius, the system enters in an infinite loop

Ricardo Ruiz ricardo_ruiz_lopez at
Sun Sep 10 18:07:57 CEST 2017

What do you mean exactly?In the log I see:Sun Sep 10 14:07:31 2017 : Info: [files] users: Matched entry ricardo at line 76 Sun Sep 10 14:07:31 2017 : Info: ++[files] = ok

Does that mean the problem is in LEDE and not freeradius?


    On Sunday, 10 September 2017, 16:47, Alan DeKok <aland at> wrote:

 On Sep 10, 2017, at 11:36 AM, Ricardo Ruiz via Freeradius-Users <freeradius-users at> wrote:
> I am using freeradius2 in a raspberry pi3 with last version of LEDE and FreeRADIUS Version 2.2.9, and it happens something really weird, an infinite loop when a user tries to connect from a wifi hotspot.
> After installing freeradius, I only change 2 things:
> Add:ricardo  Cleartext-Password := “testing”to /etc/freeradius2/users
> Comment out this# interface = br-lan from /etc/freeradius2/radiusd.conf
> I test the radius server using:root at LEDE:/etc/freeradius2# echo "User-Name = ricardo, User-Password = testing" | radclient -x auth testing123
> And it works:Sending Access-Request of id 28 to port 1812 User-Name = "ricardo" User-Password = "testing"rad_recv: Access-Accept packet from host port 1812, id=28, length=20
> However, when I setup WPA 2 Enterprise in the LEDE router (the same with freeradius server) and a user tries to connect, this infinite loop happens:

  Vimeo links aren't generally helpful.

> No error or warning message when running radiusd -XXXHere the log:

  Which doesn't show an infinite loop.  It shows a user authenticating successfully.

  If the user asks to authenticate over and over again... blame the user.  Not FreeRADIUS.

  Alan DeKok.


More information about the Freeradius-Users mailing list