From owner-freebsd-questions@FreeBSD.ORG Sun Aug 29 11:04:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA58B16A4CE for ; Sun, 29 Aug 2004 11:04:09 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 565D743D2D for ; Sun, 29 Aug 2004 11:04:08 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i7TB43nv010304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Aug 2004 12:04:03 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i7TB420k010303; Sun, 29 Aug 2004 12:04:02 +0100 (BST) (envelope-from matthew) Date: Sun, 29 Aug 2004 12:04:02 +0100 From: Matthew Seaman To: "W. D." Message-ID: <20040829110402.GD9230@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "W. D." , freebsd-questions@freebsd.org References: <5.1.0.14.2.20040827020055.07f07260@209.152.117.178> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mSxgbZZZvrAyzONB" Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20040827020055.07f07260@209.152.117.178> User-Agent: Mutt/1.5.6i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 29 Aug 2004 12:04:03 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: ntpd as broadcastclient - not working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 11:04:10 -0000 --mSxgbZZZvrAyzONB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 27, 2004 at 02:07:16AM -0500, W. D. wrote: > Hi folks, >=20 > I have Tardis (Windows) running on my network broadcasting NTP=20 > time signals (right now every 4 seconds), but the=20 > FreeBSD machine is running 5 seconds faster than=20 > all the other computers. >=20 >=20 > Here are the lines that I added to /etc/rc.conf: >=20 > xntpd_enable=3D"YES" > xntpd_flags=3D"-A -c /etc/ntp.conf -p /var/run/ntpd.pid -l /var/log/ntpd.= log"=20 >=20 > (Both 'top' and 'ps -aux' show ntpd running after I rebooted. >=20 >=20 > Here are the lines that I added to /etc/ntp.conf: >=20 > driftfile /etc/ntp.drift > broadcastclient >=20 >=20 > Does anyone have some ideas why it isn't synching up? Don't you need to use ntp.keys in order to synch to a broadcast or multicast server? See ntp.conf(5): broadcastclient This command enables reception of broadcast server messages to any local interface (type b) address. Upon receiving a message for the first time, the broadcast client measures the nominal server propagation delay using a brief client/server exchange with the server, then enters the broadcast client mode, in whi= ch it synchronizes to succeeding broadcast messages. Note that, = in order to avoid accidental or malicious disruption in this mode, both the server and client should operate using symmetric-key = or public-key authentication as described in Authentication Optio= ns. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --mSxgbZZZvrAyzONB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBMbgiiD657aJF7eIRAi7FAJ0UXb+a2IVTq/rafXt2LxcY3Qpo4gCgtd15 723NEYvCf5pZ7lYbeAd0n48= =hMCh -----END PGP SIGNATURE----- --mSxgbZZZvrAyzONB--