Hi,
I am trying to get freeradius to start at boot time so that I don't have to log in for it to start up. I saw a previous post that said to “Manually add the links in /etc/rc[0-6].d.”
I am not sure what links this is referring to though, so I am at a standstill as to how to do this.
dpends on what OS you have - and, under Linux, which distro you have. if you have installed from a package, then that package should have supplied the required start/stop scripts for the system and then you can use the OS's chosen service solution to configure whether/when the service is started. if you have built from source, then there are a few scripts supplied in the source tarball that can be used - eg there is a script for RedHat - just copy that script into /etc/init.d and do a 'chkconfig radiusd on' alan Guess I did forget to include that. I am using Fedora 11, installed from CD, and when I do a 'chkconfig radiusd on', it says no such file or directory. Paul
Hi,
Guess I did forget to include that. I am using Fedora 11, installed from CD, and when I do a 'chkconfig radiusd on', it says no such file or directory.
did you install FreeRADIUS via yum and a repository or from source? if from the repsository you should have a selectable service with eg the standard Fedora system startup tools - maybe they've decided to call it 'freeradius' or 'freeradius2' rather than radiusd? if from source, then the install part (make install) wont handle your OS directory - you'll need to copy the script (and maybe edit it according to install path choices made) from the contrib directory eg redhat/rc.radiusd-redhat to the correct place - /etc/init.d/ i'd note now that its not just the startup item - theres also a logrotate script which ties into the system logrotate cron stuff to ensure that freeradius logs (eg /var/log/radius/ get rotated when needed - eg each day for 90 days retention) alan
participants (2)
-
Alan Buxey -
Paul.Blalock@gmail.com