ntp / ntpdate

Tom Samplonius tom at sdf.com
Mon Mar 31 09:43:24 PST 2003


On Mon, 31 Mar 2003, Bill Vermillion wrote:

> Ashes to ashes, and DOS to DOS Arie J. Gerszt was heard to say 
> on or about Mon, Mar 31, 2003 at 19:06 :
> 
> > Hi List
> 
> > How do you update your servers with ntp? I have seen ntpd,
> > ntpdate, xntpd and are a bit confused. Aside that, ntpdate
> > never seems to work ( get the offset, but the time stays the
> > same, securelevel -2, done as root).
> 
> Read   man 8 init .  You will see that if secure level is set above
> 1 that time changes are restricted to less than one second.
> 
> You just may need to run your ntp programs more often to ensure you
> stay within that time window.

  Or just use ntpd, which will do this continuously.

  ntpdate is deprecated so don't use that.  xntpd and ntpd are basically
the same thing.

> I run my hourly and normally get only about .2 or .3 second offset.
> iNTEL based HW clocks are not known for long time stability.

  Isn't it a software clock though?  gettimeofday() is described as using
a "virtual" clock.  

> Bill
> -- 
> Bill Vermillion - bv @ wjv . com
> _______________________________________________
> freebsd-isp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"
> 
> 

Tom



More information about the freebsd-isp mailing list