Get errors with radtest on ip address
aland at deployingradius.com
Fri Sep 6 01:53:52 CEST 2013
Patricia Julien wrote:
> - I made a change to the users file to add the testing
> Cleartext-Password := "password". My hosts file indicates both lo and
> the ip address for the server. I can ping the server without issues.
> - After I added the line to the users file, I started radiusd -X
>>debug.txt I then opened another terminal window on the same server
> and performed the - radtest testing password 127.0.0.1 0 testing123.
> - I received an error indicating failed to find ip address for
> linux-mail.amber.net followed by nothing to do.
radtest looks up the $HOSTNAME to get an IP address, which it puts
into the NAS-IP-Address. If it says "failed to find IP address for
host", it's because the host name doesn't have a corresponding IP address.
> - I looked at clients.conf and change the ip address from 127.0.0.1 to
> my ip address and added hostname. The results remained the same so I've
> reverted to original config for this.
You're changing the server configuration. You need fix your DNS.
More information about the Freeradius-Users