From owner-freebsd-questions Fri Apr 9 16:50:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id F1C1F14D24 for ; Fri, 9 Apr 1999 16:50:10 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA19655; Fri, 9 Apr 1999 16:47:55 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Fri, 9 Apr 1999 16:47:55 -0700 (PDT) From: Doug White To: Sean-Paul Rees Cc: questions@FreeBSD.ORG Subject: Re: xntpd isn't syncing, or passing any messages In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 9 Apr 1999, Sean-Paul Rees wrote: > I'm trying to sync time with a ntp server, so I can inturn sync my PC's in > my network. xntpd is just not syncing. Is there a special kernel option I > need? xntpd isn't putting messages in my systemlog. It should spew some stuff when it comes up. > My network is unroutable, and my system has two interfaces (the other to > a routable network), and does routing between the two. The default route > is outside the network though. > > Any ideas? Well, you hvae to be able to talk to the server ... try running 'xntpdc' to get into the controller, then run 'peers' and see if it's seeing the remotes (ie, the 'st' (stratum) isn't 16). For example, mine looks like (ip hidden by me): sturbei,ttyp1,~,17>xntpdc xntpdc> peers remote local st poll reach delay offset disp ======================================================================= *network-service xx.yy.zz.qq 2 1024 377 0.04721 0.000276 0.00952 > /etc/ntp.conf: > server clepsydra.dec.com prefer > server time.apple.com You should pick something *really* close, like your ISP. xntpd won't work if they're too far away; the dispersion never syncs up. You can use ntpdate against any NTP server, though, it doesn't care. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message