Freeradius, 执行 radtest, 出现错误:无法找到 ip

来源:互联网 发布:微信检测僵尸粉源码 编辑:程序博客网 时间:2024/06/05 09:51
执行radtest test test localhost 0 testing123    给出如下提示

radclient:: Failed to find IP address for servername

radclient: Nothing to send.

解决办法:修改  /etc/hosts

添加:127.0.0.1     servername   (这样返回信息中的NAS-IP-Adress就是127.0.0.1

问题就解决了。

0 0