Date: Sat, 12 Jul 2003 16:04:29 -0700 From: "Drew Tomlinson" <drew@mykitchentable.net> To: "Jonathan Chen" <jonc@chen.org.nz>, "Kurt" <kurtbuff@spro.net> Cc: freebsd-questions@freebsd.org Subject: Re: NTP broadcast client Message-ID: <20030712230551.CFF2F3BF597@blacklamb.mykitchentable.net> References: <020201c348bb$b97b5de0$3f05a8c0@bfgapollo1> <20030712215259.GB1519@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Jonathan Chen" <jonc@chen.org.nz> To: "Kurt" <kurtbuff@spro.net> Cc: <freebsd-questions@freebsd.org> Sent: Saturday, July 12, 2003 2:52 PM > On Sat, Jul 12, 2003 at 02:22:39PM -0700, Kurt wrote: > > Howdy all, > > > > I've got a Windows machine running Tardis ( nice piece of shareware) on > > my network, and it's broadcasting ntp updates on the subnet. I'm trying > > to get my freebsd machines to listen to those broadcasts to maintain > > their own clocks, rather than querying the outside servers. > > > > I've got the following line in my rc.conf, which I read *somewhere* > > after much googling that it would simply start the ntp daemon in > > listening mode: > > > > ntpd_enable="YES" > > > > However, I see no ntp daemon, and am wondering just where I went > > wrong.... > > You're missing a /etc/ntp.conf. ntp.conf(5). This needs to contain the > line: > > broadcastclient You also need to setup authentication (which I haven't been able to figure out) or pass the -A switch to disable it. Otherwise you will wonder why your server won't respond to the broadcasts like I did for several weeks. :) Here's the lines from my rc.conf: # Start ntpd on boot xntpd_enable="YES" # Run ntpd Network Time Protocol (or NO). # Flags to ntpd (if enabled) xntpd_flags="-A -p /var/run/ntpd.pid -l /var/log/ntpd.log" It also appears from the man page that you could pass the "-b" switch to enable broadcast client mode and then you wouldn't have to create ntp.conf. YMMV. HTH, Drew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030712230551.CFF2F3BF597>