Date: Mon, 30 Aug 2004 18:13:49 -0500 From: "W. D." <NewsGroups@US-Webmasters.com> Cc: Danny Mayer <mayer@gis.net> Subject: Re: ntpd as broadcastclient - not working? Message-ID: <4133B4AD.1C74@US-Webmasters.com> References: <412F8064.353E@US-Webmasters.com> <413108CA.6826@US-Webmasters.com> <cgr4r5$pfd$1@dewey.udel.edu> <413124A7.476@US-Webmasters.com> <cgru7u$4dd$1@dewey.udel.edu> <41317FC5.3B5C@US-Webmasters.com> <4132C360.386D@US-Webmasters.com> <nPmdnYcopc3gEa7cRVn-hQ@comcast.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4133B4AD.1C74>