[lug] Network time

Nate Duehr nate at natetech.com
Thu Dec 7 16:05:12 MST 2000


This is one of the lists I've always used... like most Internet lists,
many of them are not working, and others do request that you e-mail the
sysadmin before you synch from them.

http://www.eecis.udel.edu/~mills/ntp/clock2.htm

On Wed, Dec 06, 2000 at 10:08:29PM -0700, Timothy C . Klein wrote:
> Nate,
> 
> One of your comments makes me wonder, how do I find a 'lower stratum' server? 
> Is there a list of such servers anywhere?  I have always just used 
> time.nist.gov.
> 
> Thx,
> 
> Tim
> 
> On Tuesday 05 December 2000 16:33, you wrote:
> > Many of the docs on NTP make it seem much harder to set up than it
> > really is for most of us, because they were written by folks who need
> > ultimate precision.
> >
> > -----
> >
> > For NTP setup, on your "master" machine, just edit /etc/ntp.conf and add
> > something like this (replacing the time servers with lower stratum
> > servers... this is just a working example...)
> >
> > # Using NIST Atomic Clock and Naval Observatory
> > server time-a.nist.gov
> > server time-b.nist.gov
> > server tick.usno.navy.mil
> > server tock.usno.navy.mil
> >
> > # If you're going to have two "masters", which you probably don't
> > # need...
> > peer timeserver2.yourdomain.com
> >
> > # Get a logfile where you want it...
> > logfile /var/log/ntpd
> > driftfile /etc/ntp/driftfile
> >
> > That should do it for server 1.
> >
> > -----
> >
> > For your client machines...
> >
> > # Using timeserver1.yourdomain.com and timeserver2.yourdomain.com
> > server timeserver1.yourdomain.com
> > server timeserver2.yourdomain.com
> > logfile /var/log/ntp
> > driftfile /etc/ntp/driftfile
> >
> > -----
> >
> > That basic config will work fine.  If you want to get fancy you can use
> > NTP's abilities to do a lot more in the future and it gives you room to
> > grow into more knowledge of how to use it.  Stuff like multicasting time
> > packets so clients don't have to establish a session to the server, and
> > adding key authorization between your clients and servers and other fun
> > stuff can come later... and this configuration will get you started.
> >
> > Hopefully that helps.  This is a totally simple config and you can do
> > more later with it.  It's just to show that NTP really isn't that hard
> > (and certainly not as detailed as DNS!).  ;)
> >
> > On Tue, Dec 05, 2000 at 02:14:44PM -0500, John Karns wrote:
> > > I'm interested in a *simple* method (if there is such a class in the
> > > world of *nix) to set the clock of a dial-up machine via the net.  The
> > > method proposed here in a recent thread ("ntpdate time-nw.nist.gov")
> > > would do fine for this part.
> > >
> > > Then I would like to propagate this time to various other Linux boxes on
> > > a *small* net.  I don't need all the complexity of ntp, which seems to be
> > > about as involved as setting up DNS (lord help us!).  I really don't care
> > > if my clocks are set to the precision of a cesium clock, and it's not a
> > > big deal if there is are a few seconds difference between various
> > > machines.
> > >
> > > Is there a way of doing this without setting up an ntp server on my local
> > > net?
> > >
> > > ----------------------------------------------------------------------
> > > John Karns                                              jkarns at csd.net
> > > Bogota, Colombia                                  Voice: 57-1-341-0300
> > >
> > >
> > >
> > > _______________________________________________
> > > Web Page:  http://lug.boulder.co.us
> > > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 
> -- 
> ===================================================================
> == Timothy Klein       || And what rough beast                   ==
> == teece at hypermall.net || Its hour come round at last            ==
> == Aufwiedersehen!     || Slouches towards Bethleham to be born? ==
> == Aufwiedersehen!     || The beast of Redmond, nothing more.    ==
> ===================================================================
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

-- 
Nate Duehr <nate at natetech.com>

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.




More information about the LUG mailing list