-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is doesnt work with Freeradius 2.8 #2
Comments
How do you specify your RADIUS servers in your config? |
Ok. I found my error. But I don't understand as this script works. |
No. This is specifically for cases where you have more than one RADIUS server and only want to restart one if the there are other servers currently working.
I'm not sure what you mean. This script is acting as a NAS. You need the secret and IP address configured in FreeRADIUS so it can authenticate to the server as the test user. |
I tried test it, but get error:
/home/spo/FreeRADIUS-NAS-change-restarter-master# python reloader.py
Reload needed
Traceback (most recent call last):
File "reloader.py", line 110, in
if peers_alive(config):
File "reloader.py", line 74, in peers_alive
reply = srv.SendPacket(req)
File "/usr/lib/python2.7/dist-packages/pyrad/client.py", line 159, in SendPacket
return self._SendPacket(pkt, self.authport)
File "/usr/lib/python2.7/dist-packages/pyrad/client.py", line 123, in _SendPacket
self._socket.sendto(pkt.RequestPacket(), (self.server, port))
socket.gaierror: [Errno -2] Name or service not known
The text was updated successfully, but these errors were encountered: