From owner-freebsd-questions Sun May 5 03:51:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA09692 for questions-outgoing; Sun, 5 May 1996 03:51:51 -0700 (PDT) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA09686 for ; Sun, 5 May 1996 03:51:44 -0700 (PDT) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.7.5/8.7.3) id MAA19096; Sun, 5 May 1996 12:49:47 +0200 (SAT) From: John Hay Message-Id: <199605051049.MAA19096@zibbi.mikom.csir.co.za> Subject: Re: xntpd server To: pol@leissner.se (Peter Olsson) Date: Sun, 5 May 1996 12:49:47 +0200 (SAT) Cc: questions@freefall.freebsd.org, archie@whistle.com In-Reply-To: <9605051212.aa14960@lda.leissner.se> from Peter Olsson at "May 5, 96 12:12:18 pm" X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On the one that must supply the others with time, put the following line in the ntp.conf file: server 127.127.1.0 # Local phase-locked clock That will make that one use its local clock as a reference clock. John -- John Hay -- John.Hay@mikom.csir.co.za > Hello! > > Archie Cobbs wrote: > > How does one get xntpd running on a server so that local machines > > can use it for time synchronization (clients using ntpdate)? > > > > Even though xntpd is running and there are some packets exchanged > > (detected with EtherNet sniffer), the ntpdate command on the client > > yeilds "no suitable servers for synchronization found" ... > > > > I'd like to have the server synchronizing from some "unspecified" > > source, for now external Internet servers but in the future possibly > > a radio. So in either case, the server would service requests using > > whatever the system time was. > > What a coincidence! Yesterday I was assigned the task of coordinating > time among our freebsd-servers. I started playing with xntpd and > ntpdate. I got "no suitable servers ..." every time, so I looked in > the code. > > Seems that ntpdate (and probably also xntpd) requires a server with stratum > less than 16 to synchronize time with that server. The problem is that > all our freebsd-servers have stratum=16. > > So, how do I either lower a servers local stratum or make the programs > accept servers with stratum=16? Seems to me that this requirement is there > for a reason, that's why I'd rather not hack the code if I can avoid it. > > Peter Olsson pol@leissner.se >