home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / protocol / time / ntp / 733 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.8 KB

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