This is a discussion on NTP within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> How to start NTP at boot on Slackware 9.1?...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| JR wrote: > How to start NTP at boot on Slackware 9.1? 1) create an ntp.conf file in /etc with a pointer to your time server of choice. Here is mine: $ cat /etc/ntp.conf server tick.jrc.us driftfile /etc/ntp/ntp.drift 2) create an /etc/ntp directory (this may be optional, but do it in case) 3) add a line in rc.local or another startup file (local is better) that calls ntpd -A (to load as a daemon) or ntpd -q to just sync and exit. Of course, this assumes you have the package loaded and installed. Also, if you use dhcp, be sure to change the line in /etc/rc.d/rc.inet1 that calls dhcpcd so that it includes the command line option -N to prevent it from overwriting your ntp.conf file each time. Good luck |
| ||||
| In slackware 8.1 & 9, the default location is /etc/rc.d/rc.local, has it been changed in 9.1? I havent made the upgrade yet. Thanks, Jason ---- Message posted via www.linuxforums.org - the HTTP Linux community. |