[ntp:questions] Re: sntp output for bootstrapping system time

Christopher Nelson cnelson at nycap.rr.com
Tue Nov 22 15:26:50 UTC 2005


Richard B. Gilbert wrote:
> Christopher Nelson wrote:
> > I'm new enough to NTP that I'm not sure what to expect.  I'm having a
> > problem in that it's not doing what I need but it may be behaving as
> > expected and designed and I just haven't figured out how to use it yet.
> >
> > I have ntp-4.2.0 which I cross-built on Intel Linux for PPC using gcc
> > version 2.95.3 20010315 (release).   What I see is:
> >
> >   ~ # date
> >   Fri Dec 31 19:20:10 EST 1999
> >   ~ # sntp -r 10.128.0.1
> >   The time correction is 185922449.254 +/- 0.054+0.003 seconds
> >   Do you want to correct the time anyway? y
> >   ~ # date
> >   Fri Dec 31 19:20:19 EST 1999
> >   ~ #
> > ...
> A reading of the SNTP documentation  (in the .html directory) seems to
> suggest that the maximum allowable offset is 60 seconds.  The fact that
> it asks you for permission to make the change and then ignores your
> reply suggests that there is a bug in the version you are using.

I'll write it up.

> Why is your clock set to "Fri Dec 31 19:20:19 EST 1999"?   Deprecated or
> not, ntpdate could hardly do worse than that!!!!!

It's an embedded system that just booted and has no battery-backed RTC.
  That's why I need sntp to bootstrap the time.




More information about the questions mailing list