NTPD synchronisation patches
Jeroen Ruigrok/asmodai
asmodai at wxs.nl
Wed Apr 13 10:49:11 PDT 2005
-On [20050413 15:12], Joerg Sonnenberger (joerg at xxxxxxxxxxxxxxxxx) wrote:
>http://leaf.dragonflybsd.org/~joerg/ntp.diff (kernel part)
>http://leaf.dragonflybsd.org/~joerg/ntpd.diff (userland, against src/contrib/ntpd)
>
>ntpd -ds should show offsets ranging in the area of +10ms, depending
>on the clock.
reply from 193.170.141.4: offset -7205.245502 delay 0.087089, next query 8s
reply from 202.55.152.3: offset -7205.236775 delay 0.330568, next query 5s
reply from 142.179.100.217: offset -7205.240258 delay 0.181075, next query
34s
reply from 202.150.105.150: offset -7205.235585 delay 0.334616, next query
34s
reply from 202.55.152.3: offset -7205.236519 delay 0.330885, next query 33s
adjusting local clock by -7205.238665s
reply from 216.221.118.20: offset -0.006116 delay 0.137365, next query 32s
reply from 207.145.113.114: offset -0.001715 delay 0.180857, next query 31s
reply from 82.152.10.132: offset -0.197605 delay 0.353401, next query 30s
reply from 142.179.100.217: offset -0.002106 delay 0.181845, next query 32s
reply from 202.150.105.150: offset 0.003492 delay 0.334761, next query 30s
reply from 202.55.152.3: offset 0.001547 delay 0.330328, next query 33s
That part works, however, my clock, as output by date and such still shows
my time being 2 hours ahead of what it should be.
So it SAYS it is adjusting, but doesn't seem to.
Just compiled ntp from ports and did a single ntpdate to ntp0.nl.net and it
adjusted my clock to the correct time.
host found : ntp0.NL.net
13 Apr 19:45:33 ntpdate[10710]: step time server 193.67.79.202 offset
-7204.235477 sec
So your patch is coming close, but is not effective for real.
By the way, wether -> whether, other than that patch applied perfectly.
--
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/ | http://www.in-nomine.org/
Take thy beak from out my heart and take thy form from off my door!
More information about the Submit
mailing list