Solution: libpam-radius-auth: Sends out 127.0.0.1 as NAS-IP-Address

  • Post by Mike Dixson
  • Nov 04, 2015
post-thumb

Symptom

When authentication linux to radius using libpam-radius-auth: Sends out 127.0.0.1 as NAS-IP-Address

Cause

/etc/hosts file contains the local machine’s hostname with 127.0.0.1

Solution

Either remove the offending line, or before this line place the correct ip address with the hostname (note that order is important).
10.0.0.5 computerName
127.0.0.1 computerName