[lug] NTP Configuration
zlynx at acm.org
Wed Sep 26 13:06:59 MDT 2001
The ntpdate program does not use /etc/ntp.conf. You must specify the
server to use on the command line.
If you got xntpd or ntpd as part of a package it should have come with
an init script. The init script on RedHat is set to read
/etc/ntp/step-tickers to run ntpdate. After running ntpdate to set the
time, it then starts ntpd to _keep_ the time syncronized. ntpd is what
uses the /etc/ntp.conf file.
And speaking of /etc/ntp.conf, some packages are configured to put all
the configuration for NTP inside the /etc/ntp/ directory, so you might
need to put the file at /etc/ntp/ntp.conf
If you're on a dial-up connection, you don't get a lot of benfit from
running ntpd (unless you want to syncronize other computers inside your
home network), and you should probably modify your ip-up scripts to call
ntpdate when the connection comes up.
Glenn Murray wrote:
>No luck, the /etc/ntp.conf
>$ sudo ntpdate -v
>26 Sep 09:14:07 ntpdate: no servers can be used, exiting
>Did you actually mean "dirfitfile"?
>Thanks for any help,
>On Fri, 14 Sep 2001, Hugh Brown wrote:
>>I have had success just using
>>for my ntp.conf
>Web Page: http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG