From owner-freebsd-questions@FreeBSD.ORG Mon Aug 30 23:14:00 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 5810216A4CE for ; Mon, 30 Aug 2004 23:14:00 +0000 (GMT) Received: from cgpf2.cgp.netins.net (f2phy.netins.net [167.142.229.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C461143D41 for ; Mon, 30 Aug 2004 23:13:59 +0000 (GMT) (envelope-from NewsGroups@US-Webmasters.com) Received: from [216.248.109.50] (HELO xyz) by cgpf2.cgp.netins.net (CommuniGate Pro SMTP 4.1.8) with SMTP id 637651746; Mon, 30 Aug 2004 18:13:56 -0500 Message-ID: <4133B4AD.1C74@US-Webmasters.com> Date: Mon, 30 Aug 2004 18:13:49 -0500 From: "W. D." Organization: Start Here to Find It Fast!(TM) -> http://www.US-Webmasters.com/best-start-page/ X-Mailer: Mozilla 3.04Gold (Win95; U) MIME-Version: 1.0 Newsgroups: comp.protocols.time.ntp References: <412F8064.353E@US-Webmasters.com> <413108CA.6826@US-Webmasters.com> <413124A7.476@US-Webmasters.com> <41317FC5.3B5C@US-Webmasters.com> <4132C360.386D@US-Webmasters.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: FreeBSD-Questions@FreeBSD.org cc: stenn@ntp.org cc: Harlan Stenn cc: david-taylor@blueyonder.co.uk cc: Danny Mayer Subject: Re: ntpd as broadcastclient - not working? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: NewsGroups@US-Webmasters.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 23:14:00 -0000 At 01:46 8/30/2004, Harlan Stenn, wrote: >Better to follow the FreeBSD convention and leave them in /usr/local. > >Change xntpd_program in /etc/rc.conf . > >H Thanks Harlan for your reply. FreeBSD appears to expect these NTP programs to be in: /usr/sbin/ That is where the 2003 Oct port put them. I downloaded the most recent 'ntp-dev' tarball I could find: ftp://ftp.starhub.net.sg/pub/funet/unix/tcpip/ntp/xntp/udel/ntp4/ntp-dev-4.2.0a-20040826.tar.gz I did a 'make install' as we discussed previously. As before, the files were compiled to: /usr/local/sbin/ I added the middle line of these three to rc.conf: xntpd_enable="YES" xntpd_program="/usr/local/sbin/ntpd" xntpd_flags="-A -b -c /etc/ntp.conf -p /var/run/ntpd.pid -l /var/log/ntpd.log" After rebooting, the ntpd program is now running. However, it doesn't appear to be able to 'hear' the NTP broadcasts that the 2003 Oct version did. Here is a log snippet: 30 Aug 21:50:05 ntpd[88]: logging to file /var/log/ntpd.log 30 Aug 21:50:05 ntpd[88]: ntpd 4.2.0a@1.1219-o Mon Aug 30 14:14:07 GMT 2004 (1) 30 Aug 21:50:05 ntpd[88]: precision = 4.191 usec 30 Aug 21:50:05 ntpd[88]: Listening on interface dc0, fe80:1::2a0:ccff:fe50:e7c7#123 30 Aug 21:50:05 ntpd[88]: Listening on interface dc0, 192.168.2.177#123 30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, ::1#123 30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, fe80:3::1#123 30 Aug 21:50:05 ntpd[88]: Listening on interface lo0, 127.0.0.1#123 30 Aug 21:50:05 ntpd[88]: kernel time sync status 2040 30 Aug 21:50:05 ntpd[88]: frequency initialized 0.000 PPM from /etc/ntp.drift 30 Aug 21:50:05 ntpd[88]: Unable to listen for broadcasts, no broadcast interfaces available The Windows computer generating the Tardis NTP broadcasts is at IP address: 192.168.2.119. Does anyone have any idea why it's not picking up these broadcasts? Somewhere in here I also changed the CMOS Real Time Clock to UTC, and reconfigured for my local time in /stand/sysinstall Now what? How do I get the program to 'hear' the broadcasts?