Using freeradius, the system enters in an infinite loop
aland at deployingradius.com
Sun Sep 10 17:47:12 CEST 2017
On Sep 10, 2017, at 11:36 AM, Ricardo Ruiz via Freeradius-Users <freeradius-users at lists.freeradius.org> 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 127.0.0.1 auth testing123
> And it works:Sending Access-Request of id 28 to 127.0.0.1 port 1812 User-Name = "ricardo" User-Password = "testing"rad_recv: Access-Accept packet from host 127.0.0.1 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:https://vimeo.com/233192357
Vimeo links aren't generally helpful.
> No error or warning message when running radiusd -XXXHere the log:https://gist.github.com/Ricardo1980/a5a7047fd0a03a6b10aea3b82f5e7cdf
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.
More information about the Freeradius-Users