From owner-freebsd-questions Fri Dec 28 10:30:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl2-77.citlink.net [207.173.226.77]) by hub.freebsd.org (Postfix) with ESMTP id 4F4ED37B41C for ; Fri, 28 Dec 2001 10:29:31 -0800 (PST) Received: from tagalong (unknown [165.107.42.196]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 4E217EE692 for ; Fri, 28 Dec 2001 10:26:51 -0800 (PST) Message-ID: <005001c18fcd$96d25940$c42a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: Subject: NTP Broadcast Client Date: Fri, 28 Dec 2001 10:29:29 -0800 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.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG One my home network, I have setup ntpd on one server to broadcast time to my internal subnet. It seems to be working OK as my Windows machines receive the broadcasts and the time is updated. However, I have a FSBD 4.4-RELEASE machine that I am trying to configure as a broadcast client. Initially, I only used the "-b" flag when starting the daemon and thought the server would sync. But over time I noticed it was not. Next, I re-read the man pages and came across "auth". Since I did not set up any keys (more stuff I don't understand yet), I added the "-A" flag. If I understand this correctly, that will allow ntpd to sync with any ntp broadcast it receives? For testing, I've started with the "-D 3" flag and can see that the server is receiving broadcasts. I don't understand much else and am not sure if the time is actually being updated. It's still around 2 minutes slow but I think it may take time to catch up if the time is not being stepped? Can anyone confirm my suspicions? Here is some output from ntpd: poll_update: at 1084 192.168.1.2 poll 7 burst 0 last 1084 next 1147 input_handler: fd=7 length 48 from c0a80102 192.168.1.2 receive: from 192.168.1.2 restrict 00 receive: at 1110 from 192.168.1.2 mode 5 pkt_mode 5 action 1 poll_update: at 1110 192.168.1.2 poll 6 burst 0 last 1084 next 1148 clock_filter: offset 159.069383 delay 0.002800 disp 0.001862 std 0.000140, age 0 select: endpoint -1 158.986948 select: endpoint 0 159.069383 select: endpoint 1 159.151817 select: low 158.986948 high 159.151817 select: 192.168.1.2 distance 48.082434 select: survivors 1 select 0.000000 peer 0.000140 select: 192.168.1.2 offset 159.069383, distance 48.082434 poll 1 poll_update: at 1110 192.168.1.2 poll 6 burst 0 last 1084 next 1147 select: combine offset 159.069383 clock_update: at 1110 assoc 1 local_clock: offset 159.069383 jitter 0.000140 state 4 auth_agekeys: at 1140 keys 0 expired 0 Thanks for your help! Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message