home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!ucbvax!intellection.com!emcguire
- From: emcguire@intellection.com (Ed McGuire)
- Newsgroups: comp.protocols.time.ntp
- Subject: xntpd won't synch to local clock
- Message-ID: <9207212146.AA08905@mother.intellection.com>
- Date: 21 Jul 92 21:46:08 GMT
- References: <9207202106.AA20642@mother.intellection.com>
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: inet
- Organization: The Internet
- Lines: 33
-
-
- I've installed NTP Version 3 on a Sun SPARCserver 630MP (2 processors)
- running SunOS 4.1.2. The xntpd does not synchronize with the local
- clock driver (127.127.1.0) but remains at stratum 16.
-
- Thanks to all who replied, and especially John Sager who gave me the
- solution. See his article <1992Jun12.104156.16761@zoo.bt.co.uk> in
- comp.protocols.time.ntp. In short, he suggests changing LCLDISPERSION
- and LCLROOTDISPERSION in xntpd/refclock_local.c to 0x28f (representing
- 10 ms) if you are running an isolated network and using the local
- reference clock as your sole time source. After making the change and
- restarting xntpd, NTP worked as advertised. Score!
-
- Someone may be interested in the other changes I made to NTP Version 3.
-
- 1) In Config, reduce xntpd size by removing all but local reference
- clock support. Obviously this is only useful if your network is
- like John's and mine.
- remove -DPPS, -DPPSDEV, and -DDEBUG from DEFS
- remove -DPST, -DWWVB, and -DCHU from CLOCKDEFS
-
- 2) In Config, relocate BINDIR to /usr/local/bin.
-
- 3) Added rdist(1) Distfile for easy distribution of binaries,
- ntp.conf, and ntp.keys to all hosts.
-
- 4) In Makefile and */Makefile.tmpl, fixed a problem where "make" at
- the top level would not rebuild executables with changed source.
-
- 5) In some of */Makefile.tmpl, corrected install target to only
- copy an executable to BINDIR if it had been recompiled.
-
- peace. -- Ed
-