New ntp install from tarball
Tom H
tomh0665 at gmail.com
Sat Dec 27 10:14:30 UTC 2014
On Thu, Dec 25, 2014 at 4:43 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> On Thursday 25 December 2014 10:17:24 Tom H did opine
>> What's this utility?
>>
> ~/bin/drift-checker, attached. I hope its not too big, 332 bytes...
Thanks. Definitely small enough. WHen you said "utility" I was
expecting C code. But this is a useful script. I usually use "ntpq
-np". It's quicker because name resolution is skipped and I find it
nicer because the hostnames aren't truncated. I wish that ntpq had an
"-l" or "-w" option to get the full fqdns.
> My script is listing this machine as a server, but the ipv4 address it
> shows is 37299% bogus.
>
> From the lathe:
> Thu Dec 25 20:56:30 UTC 2014
> drift=172.971
> remote refid st t when poll reach delay offset jitter
> ==============================================================================
> router.coyote.d .INIT. 16 u - 1024 0 0.000 0.000 0.000
> +coyote.coyote.d 108.61.56.35 3 u 219 1024 377 0.119 0.449 0.678
> *golem.canonical 131.188.3.220 2 u 124 1024 377 110.552 -0.619 2.490
>
> From the mill:
> Thu Dec 25 20:52:16 UTC 2014
> drift=-61.925
> remote refid st t when poll reach delay offset jitter
> ==============================================================================
> router.coyote.d .INIT. 16 u - 1024 0 0.000 0.000 0.000
> *y.ns.gin.ntt.ne 200.98.196.212 2 u 46 1024 377 18.068 -1.031 0.128
> +coyote.coyote.d 108.61.56.35 3 u 31 1024 377 0.135 -1.566 0.031
>
> (which has been carving Mahogany for me most of the day)
>
> In neither case would I consider this machine, shown with the bogus
> address, a stratum 3 server. So there is a strange odor in this woodpile.
>
> However the reported offset is good, and the drift seems fairly stable.
>
> coyote.coyote.den is at 192.168.xx.xx, not 108.61.56.35, so I haven't the
> foggiest where that refid comes from, and I've not tripped over that in
> the web page docs. What surprised me was the router being considered
> a stratum 16 reference. Thats dd-wrt, and I may not have it properly
> configured.
"refid" is the ip address of the box with which coyote syncd, not
coyote's ip address.
>From what I've noticed, an ".INIT." refid always has a "16" stratum
and the value's adjusted at the next ntpq run. But I'd have to read
the documentation to be certain...
More information about the ubuntu-users
mailing list