Failed binding to authentication address

Alan DeKok aland at deployingradius.com
Thu Nov 26 16:35:54 CET 2015


On Nov 26, 2015, at 10:33 AM, Federico Olivieri <lvrfrc87 at gmail.com> wrote:
> 
> That is the link
> 
> http://www.binaryheartbeat.net/2013/12/raspberry-pi-based-freeradius-server.html

  Why are you following some crappy third-party documentation?  The server comes with *tons* of documentation. The web site has tons of documentation.

  Follow the *correct* documentation.

> I have just re-booted the server

  You don't need to do that.

> and that is the result
>
> root at raspberrypi:~# radtest "John Doe" hello 127.0.0.1 0 testing123
> Sending Access-Request of id 78 to 127.0.0.1 port 1812
>        User-Name = "John Doe"
>        User-Password = "hello"
>        NAS-IP-Address = 127.0.1.1
>        NAS-Port = 0
>        Message-Authenticator = 0x00000000000000000000000000000000
> rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=78,
> length=20
> 
> root at raspberrypi:~# ps aux | grep radiusd
> root      3531  0.0  0.4   3548  1796 pts/2    S+   15:30   0:00 grep
> radius

  It's probably called "freeradius"

> Same error
> 
> Thu Nov 26 15:32:34 2015 : Error: Failed binding to authentication address
> * port 1812: Address already in use
> Thu Nov 26 15:32:34 2015 : Error: /etc/freeradius/radiusd.conf[240]: Error
> binding to port for 0.0.0.0 port 1812

  Stop the existing FreeRADIUS.  See your OS documentation for how to do this.

  Then, run it in debugging mode.

  Alan DeKok.




More information about the Freeradius-Users mailing list