@vLANity said in Freeradius3: No more automatic service restart upon config change?:
I managed to find an explanation that freeradius only reads the configs on startup
Processes on most OSs (Microsoft Windows, Linux, AppleOS, FreeBSD, whatever) read the config upon start.
I know for a fact that 'postfix' (mail server process) can re parse some of the many config files, as they are dynamic.
pfSense, before it starts any process, builds a 'fresh' config file(s) first based upon the system wide config - the config you find in the GUI.
When you change something in the Freeadius config, and save that config page, pfSense stops Freeradius, rebuilds the config files (there are many) and then start FreeRadius again.
Do not use these :
service radiusd stop
service radiusd onestart
service radiusd onedebug
pfSense is not Linux neither really FreeBSD.
What you can do :
On the pfSense dashboard, stop the freeradius process manually - click on the round square :
14ac0829-bf76-438c-a96b-cb783c3396cb-image.png
Now, open SSH (or console) and use option 8.
Enter :
radiusd -X
Keep in mind : before changing the config in the GUI, stop (Ctrl-C) radiusd first.
Then edit the config and save.
Kill the running radiusd process (started by pfSense).
Enter radiusd -X manually again, and check the logs.
Now you see everything real time.
If there is some config file error, you can see it.
Btw : I use my Freeradius "0.15.10_2" together with the captive portal of pfSense. Freerdius authenticate the users .
I've set it up "as shown in the video (Youtube Netgate channel) from a decade old.
It works pretty well, the way I use it, which is just authentication, and some accounting, ever since.