Re: time acuracy



In article <007a01c76475$8974e880$861fa8c0@tv>,
Brian K. White <brian@xxxxxxxxx> wrote:

----- Original Message -----
From: "Michel Donais" <donais@xxxxxxxxxxxx>
Newsgroups: comp.unix.sco.misc
To: <distro@xxxxxxx>
Sent: Monday, March 12, 2007 1:20 AM
Subject: time acuracy


Sco OpenServer 5.0.4

Is there some way to keep time acuracy using an
external ntp server.

I found timed, ntpd and xntpd

The two last ones seem's to act as tme server and
I didn't find my way with timed

Any clues from somebody?

--
Michel Donais


ntpd is both client and server of the ntp protocol.
disregard xntpd and timed.

There is also a client-only for ntp called ntpdate.
In my opinion it's about exactly as easy or simple to use ntpdate in a cron
job as to configure ntpd to run all the time.
Nor is there any cpu/ram penalty by having ntpd running.

In either case, you need to look up an appropriate 2nd or 3rd tier ntp
server that is geographically close to you, perhaps your isp provides one.

Then for ntpd just create /etc/ntpd.conf with one line in it "server
tock.jrc.us"
Then "tcp stop ; tcp start" or reboot, or run ntpd -g manually. It will also
run at boot simply because ntpd.conf exists
Except you're going to want to reboot anyways for the new daylight savings
adjustment. more on that below.

For ntpdate there is no config file, just run this any time any where
ntpdate -b tock.jrc.us
or if you're behind a firewall or nat router you might need to add -u
ntpdate -bu tock.jrc.us

..and which can be placed in a cron job to reset the time once a day (or
however often you want)
22 2 * * * ntpdate -bu tock.jrc.us

One of the prefered servers for time is a pool of ntp servers.
You get them by using ntpdate north-America.pool.ntp.org.

I actually run from the pool on an hourly basis.

Bill


--
Bill Vermillion - bv @ wjv . com
.



Relevant Pages

  • How can I get ntpdate functionality from ntpd ?
    ... I prepared by reading the handbook chapter 27.10 "Clock Synchronization with NTP", also went through /usr/share/doc/ntp, and the usual rtfm of ntpd, ntp.conf and ntpdate. ... I also found a thread in this newsgroup by from 07-MAR-2007 with the subject "NTPD server". ... server 0.hu.pool.ntp.org iburst ...
    (comp.unix.bsd.freebsd.misc)
  • Re: time acuracy
    ... external ntp server. ... In my opinion it's about exactly as easy or simple to use ntpdate in a cron ... Nor is there any cpu/ram penalty by having ntpd running. ... server that is geographically close to you, ...
    (comp.unix.sco.misc)
  • Re: [SLE] Atom clock synching tool
    ... Remember it needs a permanent network connection. ... Perhaps as a last comment - ntpd does't actually need a permanent ... server you have specified, and when it doesn't have a connection, you ... to call than ntpdate. ...
    (SuSE)
  • RE: rh-l] NTP Problems Redux
    ... I have been stopping/starting ntpd as needed to run ntpdate, ... server 192.168.1.50 ... I wait a few days to see if the clocks will drift out of sync. ...
    (RedHat)
  • Re: Time server...how to set it up on FC1?
    ... They're in essence the same daemon and when ntpdate starts it sees ... >ntpd and shuts itself down. ... from the server, regardless of what that result was and with no sanity ... If the server is 10 years off from the local system time, ...
    (Fedora)