Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2001 10:29:29 -0800
From:      "Drew Tomlinson" <drew@mykitchentable.net>
To:        <questions@freebsd.org>
Subject:   NTP Broadcast Client
Message-ID:  <005001c18fcd$96d25940$c42a6ba5@lc.ca.gov>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005001c18fcd$96d25940$c42a6ba5>