Re: simple time server



If you are willing to settle for time to the nearest second you can use
rdate. If you need better; e.g. time to the nearest 100 milliseconds or
better, SNTP *might* do it for you but I wouldn't want to rely on it myself.

SNTP looks, from reading the introduction in the spec, like what I
want because it's provides rdate-like service, but using essentially
NTP (which I like because it's so common) and subsecond precision.
But I would still need an SNTP server program unlike what's available
today, whereas an adequate rdate ("time" protocol) server already
exists. So I'll have to weigh my options -- thanks for providing
them!

You can, if you wish, use ntpdate to set your clocks from some NTP
server. You could run it in a cron job once an hour or something like
that and it should keep your clock within a hundred milliseconds of the
server unless you have a machine with a really bad local clock.

For my computers on the Internet, I have been doing something like
this, but much less, for many years and have been quite happy with it.
My cron job runs Ntpdate once a _week_ and I monitor the amount of
correction it has to make. When the system clock is properly
calibrated, it's about 50 milliseconds each week. On a few of the
computers, the clock speed changes so that a couple of times a year
the correction grows beyond 250 milliseconds, and I manually change
the clock speed (Linux adjtimex) to get back to the 50 ms/week. Note
that for corrections less than 500 ms, Ntpdate slews the correction
in.

For what these computers do, this is more than enough precision and I
appreciate the simplicity and flexibility of it compared to the
conventional NTP deployment (simplicity and flexibility usually mean
less maintenance work for me and fewer disasters).

[By contrast, what I'm asking about now has to do with the computers
that are not on the Internet; it would be nice if I could use the
exact same strategy on them, except point them to a simple NTP server
(on one of my computers) that serves the local system clock time.]

Ntpdate does not provide the full functionality of ntpd and it is
"deprecated" and sooner or later will be dropped from the
distribution.

Not a problem, since I already have my copy, and the program probably
won't need any maintenance.

--
Bryan Henderson Phone 408-621-2000
San Jose, California
_______________________________________________
questions mailing list
questions@xxxxxxxxxxxxxxxxx
https://lists.ntp.isc.org/mailman/listinfo/questions

.



Relevant Pages

  • Re: "Atomic" Watches
    ... Most of the time on this planet humanity didn't have computers. ... they have the latest versin of a file and that the other server ... I must admit that I fail to realise the direct link between a clock ... rather than simply creating an artificial connection between two things ...
    (alt.horology)
  • Re: Poll frequency
    ... during this time the offset value set ... server 143.209.150.72 prefer ... The potential error in transferring time from server to client is 1/2 the round trip delay or over 200 milliseconds in your case. ... the offset figures suggest that your clock is in error by more than two days if the value is in seconds. ...
    (comp.protocols.time.ntp)
  • Re: Not true randomness...
    ... Random numbers on computers are routinely based on the computer's internal ... The lowest resolution of the internal clock is normally in the area of ... 10 milliseconds, or lower for some server motherboards. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Easy NTP Time Server question for the experts out there.
    ... Needless to say the clock can get many ... > invloved computers to be matched. ... > local machine. ... The server synchronises to an NTP server ...
    (alt.os.linux.suse)
  • Re: dump browse list
    ... The WINS server does not build or store the browse list. ... Shouldn't this command not dump a list of *all* computers in the ... 9-482D-8682-2137FEF1FF3E} with flags ffffffff ...
    (microsoft.public.windows.server.networking)