[ale] ntp config?

Robert L. Harris nomad at rnd-consulting.com
Sat Oct 30 23:22:13 EDT 1999


I'm trying to sync to tock.usno.navy.mil.  I just want it to service
my single subnet right now.  I want them to sync when the clients
do an "rdate -s <my_server>".


Here's my ntp.conf:

----------------------------------------------------
server  192.5.41.41 prefer #tock.usno.navy.mil
server  127.0.0.1       # local clock

#
# Drift file.  Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /etc/ntp/drift
#multicastclient                        # listen on default 224.0.1.1
broadcastclient
broadcastdelay 0.008

#
# Authentication delay.  If you use, or plan to use someday, the
# authentication facility you should make the programs in the auth_stuff
# directory and figure out what this number should be on your machine.
#
authenticate no

#
# Keys file.  If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
# systems might be able to reset your clock at will.
#
#keys           /etc/ntp/keys
#trustedkey     30030
#requestkey     30030
#controlkey     30030
#
enable ntp
#
# How often to poll remote server.
minpoll 8
maxpoll 15
----------------------------------------------------

Thus spake Michael H. Warfield (mhw at wittsend.com):

> On Sat, Oct 30, 1999 at 08:19:47PM -0600, Robert L. Harris wrote:
> 
> > Is anyone running ntp on a subnet?  I'm trying to get a clock online, but
> > it's giving me some grief.  Can anyone send me an ntp.conf file?  I'm 
> > reading the www pages and man pages, but not getting far.
> 
> 	What exactly is the problem?
> 
> 	I have a couple of nets where I sync up one server to a stratum one
> chimer on the net and then sync up everything else to the resulting stratum
> two server on my subnet.  Everything just works.  No problems.
> 
> 	Are you trying to set up a stratum one server or are you trying to
> set up a master server that is not synchronized to a stratum one?  If that's
> what you are trying to do, you have to realize that an ntp time server
> is going to come up thinking it's at stratum 16 until it can synchronize
> to a better time reference.  Nothing will be able to sync up to it until
> it thinks it's got some reasonable time reference.  You need to either find
> a time-base (GPS, WWV/WWVB receiver, atomic clock, or other primary time
> source) to make it a stratum one or sync it up to another timer server
> (stratum one or two) out on the net, or find some other way to fake it
> out so it will act like something better than the bottom of the barrel.
> 
> > Robert
> > 
> > ---------------------------------------------------------------------------
> > Robert L. Harris                |   "A person is smart;
> > Senior System Engineer          |        People are dumb, panicky
> >   R&D Consulting.               \_            dangerous animals"  - Agent K  
> > 
> > 
> > http://www.orci.com/~nomad
> > 
> > DISCLAIMER:
> >       These are MY OPINIONS ALONE.  I speak for no-one else.
> > 
> > FYI:
> >  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> 
> 	Mike
> -- 
>  Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
>   (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
>   NIC whois:  MHW9      |  An optimist believes we live in the best of all
>  PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
> 

---------------------------------------------------------------------------
Robert L. Harris                |   "A person is smart;
Senior System Engineer          |        People are dumb, panicky
  R&D Consulting.               \_            dangerous animals"  - Agent K  


http://www.orci.com/~nomad

DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'






More information about the Ale mailing list