Test failure after I installed successfully freeradius

Alan DeKok aland at deployingradius.com
Wed Feb 1 14:30:51 CET 2012


artaxerxe wrote:
> I installed FreeRADIUS 2.1.10 on CentOS 6.2 via yum. The problem is that
> when I try to make a test, I get the following message:
> 
> # radtest "John Doe" hello 127.0.0.1 0 radiussecret
> radclient:: Failed to find IP address for artaxerxe
> radclient: Nothing to send.
> 
> artaxerxe is my hostname.

  No, it's not.  You don't have DNS set up.

> So, can anybody explain me why it doesn't work?

  Edit radtest to use something else for the NAS name.

> the /etc/raddb/users file:
> 
> ...
> 
> "John Doe"	Auth-Type := Local, User-Password == "hello"

  That's wrong.  Very, very wrong.

  Delete the "Auth-Type := Local".  It's useless.

  Change "User-Password ==" to "Cleartext-Password :=".  This is in the FAQ.

  Alan DeKok.



More information about the Freeradius-Devel mailing list