CP auth info hand off to Radius stops functioning after Radius restart
Pfsense, running a snapshot from the first part of this month (March 2007) gets a master radius users list from the home server which is updated every 15 min or so. The pfsense box only retrieves this list every couple of hours. The server runs a cron to the get updated list and restart radius. Here is the shell script that it executes:
sftp root@www.*******.net << "EOF" #getting the radius file lcd /usr/local/etc/raddb/ cd /var/www/radius/ get users #putting the ipUpdater file quit EOF /usr/local/etc/rc.d/radiusd.sh restart
I've also tried restarting radius with this instead of the shell script:
killall radiusd radiusd -s &
Okay, now comes the two problems. Upon restarting radius, sometimes radius just dies altogether. Also, sometimes after radius is restarted, the captive portal will start to refuse ALL connections regardless of the username or password given. The only way to resolve it is to restart the CP and then it starts accpeting again. Any help here would be greatly appreciated!
Instead of killing it like that try:
killall -HUP radiusd
Then you may not need to restart it. It should tell it to reread the configuration files.
I'll gave that a shot, thanks Sullrich!
hoo boy, that did it! Not sure why I didn't think of that, but no more problems for the last hour or so. Thanks again