From owner-freebsd-questions@FreeBSD.ORG Sat Jul 12 16:05:53 2003 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 7609037B401 for ; Sat, 12 Jul 2003 16:05:53 -0700 (PDT) Received: from blacklamb.mykitchentable.net (65-37-71-4.bras01.elk.ca.frontiernet.net [65.37.71.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE9343F85 for ; Sat, 12 Jul 2003 16:05:52 -0700 (PDT) (envelope-from tomlinson_dr@mykitchentable.net) Received: by blacklamb.mykitchentable.net (Postfix, from userid 1000) id CFF2F3BF597; Sat, 12 Jul 2003 16:05:51 -0700 (PDT) X-IMAP-Sender: tomlinson_dr From: "Drew Tomlinson" To: "Jonathan Chen" , "Kurt" References: <020201c348bb$b97b5de0$3f05a8c0@bfgapollo1> <20030712215259.GB1519@grimoire.chen.org.nz> Date: Sat, 12 Jul 2003 16:04:29 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-Id: <20030712230551.CFF2F3BF597@blacklamb.mykitchentable.net> cc: freebsd-questions@freebsd.org Subject: Re: NTP broadcast client 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: Sat, 12 Jul 2003 23:05:53 -0000 ----- Original Message ----- From: "Jonathan Chen" To: "Kurt" Cc: 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