On Jan 12, 2023, at 2:48 PM, Kristian Maiorano <kristian.maiorano@gmail.com> wrote:
I have setup my Unifi network to connect to a Raspberry Pi 2 hosting FreeRadius 3.2.0 with MAC authentication. That all seems to work now, however I've run into an issue where it seems the FreeRadius service needs to be restarted fairly frequently,
Why?
at least multiple times a day. From what I can tell, the Pi is fine and there's plenty of storage and resources. Restarting the service allows anything that was having issues to connect, such as if it's been disconnected for a bit (e.g., my phone when I go out and come back) but even devices that don't leave the house and stay on sometimes lose connection until a service restart. I know I could probably setup a cron job that restarts the service every 30 minutes or so, but I wanted to check if people had ideas on how to fix it.
The server shouldn't lock up randomly. It would help to run "strace" or gdb on the locked process to see what it's doing. Alan DeKok.