[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Clarifications needed for the time-service HOWTO
From: |
Harlan Stenn |
Subject: |
Re: [gpsd-dev] Clarifications needed for the time-service HOWTO |
Date: |
Wed, 23 Oct 2013 01:39:16 +0000 |
"Gary E. Miller" writes:
> # sntp --version
> sntp 4.2.6p5
>
> That is the latest on Gentoo.
Save us all a lot of trouble and use the verison on ntp-dev.
That will become 4.2.8, and I want to release 4.2.8 ASAP.
> > Do you know what the -d flag does?
>
> Have I read the man page? Yes. Have I read the code? No.
>
> I'm just doing what I was told to do by someone in gpsd-dev
Try running your verions with and without the -d. And there will be a
-d level in your version that will tell you the stratum. But again, the
latest version of sntp makes this a lot easier.
> > > Here is what I get, not exactly noob driendly:
> > >=20
> > > # sntp -d 0.pool.ntp.org
> > > 22 Oct 15:25:20 sntp[30018]: Started sntp
> > > Starting to read KoD file /var/db/ntp-kod...
> > > 22 Oct 15:25:56 sntp[30018]: Error looking up 0.pool.ntp.org:
> > > System error Unable to resolve hostname(s)
> >=20
> > What are you seeing that you do not want to see, and what are you not
> > seeing that you want to see?
>
> As I said before. With or without -d, no indication of stratum.
> The whole start of the discussion was to give esr a way to see the
> stratum.
There's been way more discussion here than what I can kee track of.
> > Here's what I see:
> >=20
> > address@hidden sntp 0.pool.ntp.org
> > sntp address@hidden Sun Nov 25 09:51:12 UTC 2012 (6)
> > kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod
> > 2013-10-22 17:13:52.389985 (+0800) +0.5167 +/- 0.065132
> > 0.pool.ntp.org 208.79.93.34 s3 address@hidden
>
> Here is what I see:
>
> # sntp 0.us.pool.ntp.org
> 22 Oct 17:35:14 sntp[32489]: Started sntp
> 2013-10-22 17:35:14.786248 (+0800) +0.00353 +/- 0.067505 secs
> 2013-10-22 17:35:14.849483 (+0800) +0.000553 +/- 0.051254 secs
> 2013-10-22 17:35:14.927857 (+0800) +0.001923 +/- 0.000443 secs
> 2013-10-22 17:35:15.017250 (+0800) +0.008052 +/- 0.042847 secs
>
> No stratum.
Yes, odl version sthat does not behave correctly on several fronts.
Please use the sntp code from ntp-dev, and that will be 4.2.8 as soon as
I can get that released.
If you write docs for sntp-4.2.6, those instructions will soon be obsolete.
H
- Re: [gpsd-dev] Moving ntpd to an open VCS, (continued)
- Re: [gpsd-dev] Moving ntpd to an open VCS, Greg Troxel, 2013/10/28
- Re: [gpsd-dev] Moving ntpd to an open VCS, Gary E. Miller, 2013/10/28
- Re: [gpsd-dev] Moving ntpd to an open VCS, Sanjeev Gupta, 2013/10/28
- Re: [gpsd-dev] Moving ntpd to an open VCS, Gary E. Miller, 2013/10/28
- Re: [gpsd-dev] Moving ntpd to an open VCS, Greg Troxel, 2013/10/29
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Harlan Stenn, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Gary E. Miller, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO,
Harlan Stenn <=
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Gary E. Miller, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Hal Murray, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Gary E. Miller, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Eric S. Raymond, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Harlan Stenn, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Eric S. Raymond, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Gary E. Miller, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Eric S. Raymond, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Andy Walls, 2013/10/22
- Re: [gpsd-dev] Clarifications needed for the time-service HOWTO, Gary E. Miller, 2013/10/22