[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Timeserver?



On Tue, Oct 13, 1998 at 03:23:55PM -0700, Cliff W. Draper wrote:
> I have a LAN off of the net and I want to run my own NTP server.  Is there
> a special NTP server program available?  I haven't been able to figure out
> how to make xntp3 be a server when it doesn't have another NTP server to
> sync off of.  Any ideas?

Have you any real clock sources? When no, use your system clock as
reference. Simply add two lines to /etc/ntp.conf:

  server 127.127.1.1
  fudge  127.127.1.1 stratum 8

Server 127.127.1.1 is just system clock - read
/usr/doc/xntp3/html/*:

|    Synopsis
|
|   Address: 127.127.1.u
|   Reference ID: LCL
|   Driver ID: LOCAL
|
|    Description
|
|  This is a hack to allow a machine to use its own system clock as a
|  reference clock, i.e., to free-run using no outside clock discipline
|  source. This is useful if NTP is to be used in an isolated environment
|  with no radio clock or NIST modem available. Pick a machine that has a
|  good clock oscillator (Digital machines are good, Sun machines are not)
|  and configure it with this driver. Set the clock using the best means
|  available, like eyeball-and-wristwatch. Then, point all the other
|  machines at this one or use broadcast (not multicast) mode to distribute
|  time.
[...]

and use stratum 8 (or greater) to don't fake real clock references when
you'll connect to them.

Mirek


Reply to: