Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"An open mind has but one disadvantage: it collects dirt." -- a saying at RPI


devel / comp.protocols.time.ntp / Re: Use of ntpd in Centos8

SubjectAuthor
* Use of ntpd in Centos8Derek Barnes
+* Re: Use of ntpd in Centos8David Taylor
|`* Re: Use of ntpd in Centos8Derek Barnes
| +- Re: Use of ntpd in Centos8Derek Barnes
| +- Re: Use of ntpd in Centos8Derek Barnes
| `* Re: Use of ntpd in Centos8David Taylor
|  +- Re: Use of ntpd in Centos8chris
|  `- Re: Use of ntpd in Centos8William Unruh
+- Re: Use of ntpd in Centos8William Unruh
`* Re: Use of ntpd in Centos8Miroslav Lichvar
 `* Re: Use of ntpd in Centos8Derek Barnes
  +* Re: Use of ntpd in Centos8David Woolley
  |`- Re: Use of ntpd in Centos8David Woolley
  `* Re: Use of ntpd in Centos8Miroslav Lichvar
   `* Re: Use of ntpd in Centos8Derek Barnes
    `* Re: Use of ntpd in Centos8Derek Barnes
     `- Re: Use of ntpd in Centos8William Unruh

1
Use of ntpd in Centos8

<46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=55&group=comp.protocols.time.ntp#55

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ac8:5f0d:: with SMTP id x13mr12652726qta.69.1624682739114; Fri, 25 Jun 2021 21:45:39 -0700 (PDT)
X-Received: by 2002:a9d:1b41:: with SMTP id l59mr12832387otl.8.1624682738754; Fri, 25 Jun 2021 21:45:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Fri, 25 Jun 2021 21:45:38 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=202.124.96.215; posting-account=1zIU2QoAAAAR6nqDQ69ULrb9wZUZFOC3
NNTP-Posting-Host: 202.124.96.215
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
Subject: Use of ntpd in Centos8
From: decibel47@gmail.com (Derek Barnes)
Injection-Date: Sat, 26 Jun 2021 04:45:39 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: Derek Barnes - Sat, 26 Jun 2021 04:45 UTC

I have recently built a server running Centos8 only to find that it doesnot support ntpd, only chronyd.
That would not be a problem except that chrony does not like my stratum 1 GPS receiver and the only possible reason that I can work out is the incorrect Precision figure reported. (see below)
Is there anyway that I can force ntpd onto Centos8 or anyway I can make chrony ignore this missing number?

cheers,
Derek.

Leap Indicator 0, NTP Version 1, Mode 4
Stratum Level 1 (Primary reference, e.g. radio clock)
Poll Interval 0 (1 seconds), Precision 0 (1000.00000 ms)
Root Delay 0.00 ms, Root Dispersion 0.00 ms
Reference Identifier GPS
Time server clock was last synchronized on Saturday, June 26, 2021 16:38:40

Re: Use of ntpd in Centos8

<sb6gvd$3o2$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=56&group=comp.protocols.time.ntp#56

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david-taylor@blueyonder.co.uk.invalid (David Taylor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Sat, 26 Jun 2021 07:20:29 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <sb6gvd$3o2$1@dont-email.me>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
Reply-To: david-taylor@blueyonder.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Jun 2021 06:20:29 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3cfdaef6914c51bb69440a71210a9114";
logging-data="3842"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gZGvDnb49ptYKbgEOCrUzH9DAx2L8V8I="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:yCjAvTIXd3eoy1W4Cc6rn+Icj/M=
In-Reply-To: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
Content-Language: en-GB
 by: David Taylor - Sat, 26 Jun 2021 06:20 UTC

On 26/06/2021 05:45, Derek Barnes wrote:
> I have recently built a server running Centos8 only to find that it doesnot support ntpd, only chronyd.
> That would not be a problem except that chrony does not like my stratum 1 GPS receiver and the only possible reason that I can work out is the incorrect Precision figure reported. (see below)
> Is there anyway that I can force ntpd onto Centos8 or anyway I can make chrony ignore this missing number?
>
> cheers,
> Derek.

Perhaps?

sudo apt-get remove chrony
sudo apt-get install ntp
--
Cheers,
David
Web: http://www.satsignal.eu

Re: Use of ntpd in Centos8

<d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=57&group=comp.protocols.time.ntp#57

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ac8:6911:: with SMTP id e17mr12869806qtr.256.1624690688541;
Fri, 25 Jun 2021 23:58:08 -0700 (PDT)
X-Received: by 2002:a9d:817:: with SMTP id 23mr1138309oty.176.1624690688281;
Fri, 25 Jun 2021 23:58:08 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Fri, 25 Jun 2021 23:58:08 -0700 (PDT)
In-Reply-To: <sb6gvd$3o2$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=202.124.96.215; posting-account=YqozWAoAAADpf7eoUAvd8gtJKfs0tzP3
NNTP-Posting-Host: 202.124.96.215
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com> <sb6gvd$3o2$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
Subject: Re: Use of ntpd in Centos8
From: cartertonbaptist@gmail.com (Derek Barnes)
Injection-Date: Sat, 26 Jun 2021 06:58:08 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Derek Barnes - Sat, 26 Jun 2021 06:58 UTC

On Saturday, 26 June 2021 at 18:20:31 UTC+12, David Taylor wrote:
> On 26/06/2021 05:45, Derek Barnes wrote:
> > I have recently built a server running Centos8 only to find that it doesnot support ntpd, only chronyd.
> > That would not be a problem except that chrony does not like my stratum 1 GPS receiver and the only possible reason that I can work out is the incorrect Precision figure reported. (see below)
> > Is there anyway that I can force ntpd onto Centos8 or anyway I can make chrony ignore this missing number?
> >
> > cheers,
> > Derek.
> Perhaps?
>
> sudo apt-get remove chrony
> sudo apt-get install ntp
> --
> Cheers,
> David
> Web: http://www.satsignal.eu
==========================================
Thanks David.
sudo yum remove chrony gets rid of chrony and 62 dependencies but sudo install ntp fails. (Error: Unable to find a match: ntp)
I believe /assume that there is no ntp packages in the centos8 repositories. Can my installation be forced to use a different repository such as centos7 ??

Re: Use of ntpd in Centos8

<ac48acf5-5ad8-49e4-a703-c91b3da5724dn@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=58&group=comp.protocols.time.ntp#58

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ae9:c30f:: with SMTP id n15mr14556295qkg.71.1624690752002;
Fri, 25 Jun 2021 23:59:12 -0700 (PDT)
X-Received: by 2002:a54:481a:: with SMTP id j26mr10907839oij.32.1624690751676;
Fri, 25 Jun 2021 23:59:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Fri, 25 Jun 2021 23:59:11 -0700 (PDT)
In-Reply-To: <d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=202.124.96.215; posting-account=YqozWAoAAADpf7eoUAvd8gtJKfs0tzP3
NNTP-Posting-Host: 202.124.96.215
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sb6gvd$3o2$1@dont-email.me> <d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac48acf5-5ad8-49e4-a703-c91b3da5724dn@googlegroups.com>
Subject: Re: Use of ntpd in Centos8
From: cartertonbaptist@gmail.com (Derek Barnes)
Injection-Date: Sat, 26 Jun 2021 06:59:11 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Derek Barnes - Sat, 26 Jun 2021 06:59 UTC

On Saturday, 26 June 2021 at 18:58:09 UTC+12, Derek Barnes wrote:
> On Saturday, 26 June 2021 at 18:20:31 UTC+12, David Taylor wrote:
> > On 26/06/2021 05:45, Derek Barnes wrote:
> > > I have recently built a server running Centos8 only to find that it doesnot support ntpd, only chronyd.
> > > That would not be a problem except that chrony does not like my stratum 1 GPS receiver and the only possible reason that I can work out is the incorrect Precision figure reported. (see below)
> > > Is there anyway that I can force ntpd onto Centos8 or anyway I can make chrony ignore this missing number?
> > >
> > > cheers,
> > > Derek.
> > Perhaps?
> >
> > sudo apt-get remove chrony
> > sudo apt-get install ntp
> > --
> > Cheers,
> > David
> > Web: http://www.satsignal.eu
> ==========================================
> Thanks David.
> sudo yum remove chrony gets rid of chrony and 62 dependencies but sudo yum install ntp fails. (Error: Unable to find a match: ntp)
> I believe /assume that there is no ntp packages in the centos8 repositories. Can my installation be forced to use a different repository such as centos7 ??

Re: Use of ntpd in Centos8

<ff3b7edd-08fd-4f7e-8232-77fcccf56002n@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=59&group=comp.protocols.time.ntp#59

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a37:bc04:: with SMTP id m4mr15317729qkf.100.1624690828835;
Sat, 26 Jun 2021 00:00:28 -0700 (PDT)
X-Received: by 2002:a9d:c48:: with SMTP id 66mr12727139otr.306.1624690828587;
Sat, 26 Jun 2021 00:00:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Sat, 26 Jun 2021 00:00:28 -0700 (PDT)
In-Reply-To: <d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=202.124.96.215; posting-account=YqozWAoAAADpf7eoUAvd8gtJKfs0tzP3
NNTP-Posting-Host: 202.124.96.215
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sb6gvd$3o2$1@dont-email.me> <d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ff3b7edd-08fd-4f7e-8232-77fcccf56002n@googlegroups.com>
Subject: Re: Use of ntpd in Centos8
From: cartertonbaptist@gmail.com (Derek Barnes)
Injection-Date: Sat, 26 Jun 2021 07:00:28 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Derek Barnes - Sat, 26 Jun 2021 07:00 UTC

On Saturday, 26 June 2021 at 18:58:09 UTC+12, Derek Barnes wrote:
> On Saturday, 26 June 2021 at 18:20:31 UTC+12, David Taylor wrote:
> > On 26/06/2021 05:45, Derek Barnes wrote:
> > > I have recently built a server running Centos8 only to find that it doesnot support ntpd, only chronyd.
> > > That would not be a problem except that chrony does not like my stratum 1 GPS receiver and the only possible reason that I can work out is the incorrect Precision figure reported. (see below)
> > > Is there anyway that I can force ntpd onto Centos8 or anyway I can make chrony ignore this missing number?
> > >
> > > cheers,
> > > Derek.
> > Perhaps?
> >
> > sudo apt-get remove chrony
> > sudo apt-get install ntp
> > --
> > Cheers,
> > David
> > Web: http://www.satsignal.eu
> ==========================================
> Thanks David.
> sudo yum remove chrony gets rid of chrony and 62 dependencies but sudo install ntp fails. (Error: Unable to find a match: ntp)
> I believe /assume that there is no ntp packages in the centos8 repositories. Can my installation be forced to use a different repository such as centos7 ??
==============================================================
That should be sudo yum install ntp fails.
Same with the newer dnf command.

Re: Use of ntpd in Centos8

<sb6mbb$c81$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=60&group=comp.protocols.time.ntp#60

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david-taylor@blueyonder.co.uk.invalid (David Taylor)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Sat, 26 Jun 2021 08:52:10 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <sb6mbb$c81$1@dont-email.me>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sb6gvd$3o2$1@dont-email.me>
<d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
Reply-To: david-taylor@blueyonder.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 26 Jun 2021 07:52:11 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3cfdaef6914c51bb69440a71210a9114";
logging-data="12545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19WVtnes/1DH+32/FGpOqdFucJrZPM8i2o="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Cancel-Lock: sha1:IIN4U/Kr80tTEhZlpjU7Hnacey8=
In-Reply-To: <d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
Content-Language: en-GB
 by: David Taylor - Sat, 26 Jun 2021 07:52 UTC

On 26/06/2021 07:58, Derek Barnes wrote:
> Thanks David.
> sudo yum remove chrony gets rid of chrony and 62 dependencies but sudo install ntp fails. (Error: Unable to find a match: ntp)
> I believe /assume that there is no ntp packages in the centos8 repositories. Can my installation be forced to use a different repository such as centos7 ??

I don't know Centos8, but my immediate reaction is:

"If it doesn't support NTP, don't touch it".

OK, a bit extreme, but NTP works on all my other devices (Linux,
Raspberry Pi, Windows, and even some stand-alone devices).

One of my issues with Linux is that there are too many incompatible
versions!
--
Cheers,
David
Web: http://www.satsignal.eu

Re: Use of ntpd in Centos8

<sb71hf$oia$1@gioia.aioe.org>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=62&group=comp.protocols.time.ntp#62

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org.POSTED!not-for-mail
From: chris-nospam@tridac.net (chris)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Sat, 26 Jun 2021 12:03:12 +0100
Organization: Aioe.org NNTP Server
Lines: 20
Message-ID: <sb71hf$oia$1@gioia.aioe.org>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com> <sb6gvd$3o2$1@dont-email.me> <d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com> <sb6mbb$c81$1@dont-email.me>
NNTP-Posting-Host: WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Sat, 26 Jun 2021 11:03 UTC

On 06/26/21 08:52, David Taylor wrote:
> On 26/06/2021 07:58, Derek Barnes wrote:
>> Thanks David.
>> sudo yum remove chrony gets rid of chrony and 62 dependencies but sudo
>> install ntp fails. (Error: Unable to find a match: ntp)
>> I believe /assume that there is no ntp packages in the centos8
>> repositories. Can my installation be forced to use a different
>> repository such as centos7 ??
>
> I don't know Centos8, but my immediate reaction is:
>
> "If it doesn't support NTP, don't touch it".
>
> OK, a bit extreme, but NTP works on all my other devices (Linux,
> Raspberry Pi, Windows, and even some stand-alone devices).
>
> One of my issues with Linux is that there are too many incompatible
> versions!

Package name may be wrong. Suggest try ntpd ?...

Re: Use of ntpd in Centos8

<sb7roo$gid$4@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=69&group=comp.protocols.time.ntp#69

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Sat, 26 Jun 2021 18:30:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <sb7roo$gid$4@dont-email.me>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
Injection-Date: Sat, 26 Jun 2021 18:30:48 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="e3c4a3fd813a551d70e5f0218aef3aec";
logging-data="16973"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lUOXPhsk97yQfijyJzgfR"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:ewwE2lIL2qNcpqsbCtHQ2t9cf8Q=
 by: William Unruh - Sat, 26 Jun 2021 18:30 UTC

On 2021-06-26, Derek Barnes <decibel47@gmail.com> wrote:
> I have recently built a server running Centos8 only to find that it doesnot support ntpd, only chronyd.

The server certainly does support ntpd-- all you need to do is download
ntpd from the Centos rpm repository.
Never mind that chrony is more accurate than ntpd and is faster to come
into sync with UTC.

> That would not be a problem except that chrony does not like my stratum 1 GPS receiver and the only possible reason that I can work out is the incorrect Precision figure reported. (see below)
> Is there anyway that I can force ntpd onto Centos8 or anyway I can make chrony ignore this missing number?
>
> cheers,
> Derek.
>
> Leap Indicator 0, NTP Version 1, Mode 4
> Stratum Level 1 (Primary reference, e.g. radio clock)
> Poll Interval 0 (1 seconds), Precision 0 (1000.00000 ms)
> Root Delay 0.00 ms, Root Dispersion 0.00 ms
> Reference Identifier GPS
> Time server clock was last synchronized on Saturday, June 26, 2021 16:38:40

It sounds to me like you have misconfigured the GPS. Post your
configuration (/etc/chrony.conf).

Re: Use of ntpd in Centos8

<sb7sej$gid$5@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=70&group=comp.protocols.time.ntp#70

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Sat, 26 Jun 2021 18:42:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <sb7sej$gid$5@dont-email.me>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sb6gvd$3o2$1@dont-email.me>
<d6fd3317-078d-4345-b916-38a8c136fef5n@googlegroups.com>
<sb6mbb$c81$1@dont-email.me>
Injection-Date: Sat, 26 Jun 2021 18:42:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="e3c4a3fd813a551d70e5f0218aef3aec";
logging-data="16973"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QiH8phHrXBEhV0qmyQaPz"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:VwhtmMxlSADFG/JJk4JwhHl0eUU=
 by: William Unruh - Sat, 26 Jun 2021 18:42 UTC

On 2021-06-26, David Taylor <david-taylor@blueyonder.co.uk.invalid> wrote:
> On 26/06/2021 07:58, Derek Barnes wrote:
>> Thanks David.
>> sudo yum remove chrony gets rid of chrony and 62 dependencies but sudo install ntp fails. (Error: Unable to find a match: ntp)
>> I believe /assume that there is no ntp packages in the centos8 repositories. Can my installation be forced to use a different repository such as centos7 ??
>
> I don't know Centos8, but my immediate reaction is:
>
> "If it doesn't support NTP, don't touch it".
>
> OK, a bit extreme, but NTP works on all my other devices (Linux,
> Raspberry Pi, Windows, and even some stand-alone devices).

And chrony works on my devices. This is not a chrony vs ntpd problem.
This a configuration problem, and and installation of ntp.

I just googled, and
"In RHEL Linux 8, the ntp package is no longer supported and it is
implemented by the chronyd (a daemon that runs in user-space) which
is... "

https://www.tecmint.com/install-ntp-in-rhel-8
contains instructions as to how to configure chrony.

But you can always download ntpd from say the 7 repository and install
it.

http://rpmfind.net/linux/RPM/centos/7.9.2009/x86_64/Packages/ntp-4.2.6p5-29.el7.centos.2.x86_64.html

Download it, and then do (as root)
rpm -Uhv ntp-4.2.6p5-29.el7.centos.2.src.rpm
(assuming you have downloaded it into the directory you are now in)

>
> One of my issues with Linux is that there are too many incompatible
> versions!

Re: Use of ntpd in Centos8

<sbcfir$1n4n$1@gioia.aioe.org>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=73&group=comp.protocols.time.ntp#73

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!H7Y0FZ47LN90c6W7hPpRYw.user.gioia.aioe.org.POSTED!not-for-mail
From: mlichvar@redhat.com (Miroslav Lichvar)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Mon, 28 Jun 2021 12:33:31 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 22
Message-ID: <sbcfir$1n4n$1@gioia.aioe.org>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
NNTP-Posting-Host: H7Y0FZ47LN90c6W7hPpRYw.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: slrn/1.0.3 (Linux)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Miroslav Lichvar - Mon, 28 Jun 2021 12:33 UTC

On 2021-06-26, Derek Barnes <decibel47@gmail.com> wrote:
> Is there anyway that I can force ntpd onto Centos8 or anyway I can
> make chrony ignore this missing number?

There is no official package of ntp for RHEL8/CentOS8. You would need to
build your own.

What software/hardware is the NTP server?

> Leap Indicator 0, NTP Version 1, Mode 4
> Stratum Level 1 (Primary reference, e.g. radio clock)
> Poll Interval 0 (1 seconds), Precision 0 (1000.00000 ms)
> Root Delay 0.00 ms, Root Dispersion 0.00 ms
> Reference Identifier GPS
> Time server clock was last synchronized on Saturday, June 26, 2021 16:38:40

The version and precision are odd, but I think they should be accepted
by chrony. Could you post a tcpdump output showing all fields from the
response and the packet length?

--
Miroslav Lichvar

Re: Use of ntpd in Centos8

<c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=74&group=comp.protocols.time.ntp#74

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ac8:5349:: with SMTP id d9mr15076849qto.91.1624947660688;
Mon, 28 Jun 2021 23:21:00 -0700 (PDT)
X-Received: by 2002:a9d:6642:: with SMTP id q2mr3090083otm.256.1624947660436;
Mon, 28 Jun 2021 23:21:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Mon, 28 Jun 2021 23:21:00 -0700 (PDT)
In-Reply-To: <sbcfir$1n4n$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=202.124.96.215; posting-account=YqozWAoAAADpf7eoUAvd8gtJKfs0tzP3
NNTP-Posting-Host: 202.124.96.215
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com> <sbcfir$1n4n$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>
Subject: Re: Use of ntpd in Centos8
From: cartertonbaptist@gmail.com (Derek Barnes)
Injection-Date: Tue, 29 Jun 2021 06:21:00 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Derek Barnes - Tue, 29 Jun 2021 06:21 UTC

On Tuesday, 29 June 2021 at 00:33:35 UTC+12, Miroslav Lichvar wrote:

> What software/hardware is the NTP server?
>
The Stratum 1 receiver is a propriety unit called a Plato 200
There is no access to the command line.
> The version and precision are odd, but I think they should be accepted
> by chrony. Could you post a tcpdump output showing all fields from the
> response and the packet length?
> --
> Miroslav Lichvar
=========================================
First - here is a dump of a MX linux box requesting time from a Raspberry Pi running Debian.(stratum 2)

16:48:39.213213 IP (tos 0x0, ttl 64, id 52515, offset 0, flags [DF], proto UDP (17), length 76)
mx.fritz.box.44231 > DebianNTP.fritz.box.ntp: [bad udp cksum 0xe623 -> 0x2418!] NTPv4, length 48
Client, Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 3 (8s), precision -6
Root Delay: 1.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
Reference Timestamp: 0.000000000
Originator Timestamp: 0.000000000
Receive Timestamp: 0.000000000
Transmit Timestamp: 3833930919.213197800 (2021/06/29 16:48:39)
Originator - Receive Timestamp: 0.000000000
Originator - Transmit Timestamp: 3833930919.213197800 (2021/06/29 16:48:39)
16:48:39.214748 IP (tos 0xb8, ttl 63, id 64399, offset 0, flags [DF], proto UDP (17), length 76)
DebianNTP.fritz.box.ntp > mx.fritz.box.44231: [udp sum ok] NTPv4, length 48
Server, Leap indicator: (0), Stratum 2 (secondary reference), poll 3 (8s), precision -18
Root Delay: 0.002136, Root dispersion: 0.024444, Reference-ID: 215.96.124.202.static.snap.net.nz
Reference Timestamp: 3833929920.970956835 (2021/06/29 16:32:00)
Originator Timestamp: 3833930919.213197800 (2021/06/29 16:48:39)
Receive Timestamp: 3833930919.213171659 (2021/06/29 16:48:39)
Transmit Timestamp: 3833930919.213520038 (2021/06/29 16:48:39)
Originator - Receive Timestamp: -0.000026140
Originator - Transmit Timestamp: +0.000322238

Second - here is a dump of a MX linux box requesting time from the Plato 200 (stratum 1)

16:45:31.156825 IP (tos 0x0, ttl 64, id 10193, offset 0, flags [DF], proto UDP (17), length 76)
mx.fritz.box.34431 > Plato200.fritz.box.ntp: [bad udp cksum 0xe68f -> 0xc75f!] NTPv4, length 48
Client, Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 3 (8s), precision -6
Root Delay: 1.000000, Root dispersion: 1.000000, Reference-ID: (unspec)
Reference Timestamp: 0.000000000
Originator Timestamp: 0.000000000
Receive Timestamp: 0.000000000
Transmit Timestamp: 3833930731.156810003 (2021/06/29 16:45:31)
Originator - Receive Timestamp: 0.000000000
Originator - Transmit Timestamp: 3833930731.156810003 (2021/06/29 16:45:31)
16:45:31.159830 IP (tos 0x0, ttl 63, id 15716, offset 0, flags [none], proto UDP (17), length 76)
Plato200.fritz.box.ntp > mx.fritz.box.34431: [udp sum ok] NTPv4, length 48
Server, Leap indicator: (0), Stratum 1 (primary reference), poll 3 (8s), precision -6
Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: GPS^@
Reference Timestamp: 3833930731.156722446 (2021/06/29 16:45:31)
Originator Timestamp: 3833930731.156810003 (2021/06/29 16:45:31)
Receive Timestamp: 3833930731.156722446 (2021/06/29 16:45:31)
Transmit Timestamp: 3833930731.158818295 (2021/06/29 16:45:31)
Originator - Receive Timestamp: -0.000087556
Originator - Transmit Timestamp: +0.002008292

Both of the above are ntpd, not chrony

Re: Use of ntpd in Centos8

<sbeq93$83m$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=75&group=comp.protocols.time.ntp#75

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Tue, 29 Jun 2021 10:48:18 +0100
Organization: No affiliation
Lines: 7
Message-ID: <sbeq93$83m$1@dont-email.me>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sbcfir$1n4n$1@gioia.aioe.org>
<c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 29 Jun 2021 09:48:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d0181485f6304ea1ecf9e2237c286203";
logging-data="8310"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dHWyjiA/bWVY5G0vylb7qrQ8JpVLmdSA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
Cancel-Lock: sha1:7G/rRFRJjXuuAoz1VIG1zZ7/ReI=
In-Reply-To: <c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>
Content-Language: en-GB
 by: David Woolley - Tue, 29 Jun 2021 09:48 UTC

On 29/06/2021 07:21, Derek Barnes wrote:
> Server, Leap indicator: (0), Stratum 1 (primary reference), poll 3 (8s), precision -6
> Root Delay: 0.000000, Root dispersion: 0.000000, Reference-ID: GPS^@

That isn't reporting a precision of 1 second, but it is reporting an
impossibly good root dispersion. As I recall it, root dispersion cannot
be better than the precision, which, in our case, appears to be about 16ms.

Re: Use of ntpd in Centos8

<sbffhe$q9d$1@gioia.aioe.org>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=76&group=comp.protocols.time.ntp#76

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!aioe.org!H7Y0FZ47LN90c6W7hPpRYw.user.gioia.aioe.org.POSTED!not-for-mail
From: mlichvar@redhat.com (Miroslav Lichvar)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Tue, 29 Jun 2021 15:51:10 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <sbffhe$q9d$1@gioia.aioe.org>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sbcfir$1n4n$1@gioia.aioe.org>
<c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>
NNTP-Posting-Host: H7Y0FZ47LN90c6W7hPpRYw.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: slrn/1.0.3 (Linux)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Miroslav Lichvar - Tue, 29 Jun 2021 15:51 UTC

On 2021-06-29, Derek Barnes <cartertonbaptist@gmail.com> wrote:
> Second - here is a dump of a MX linux box requesting time from the Plato 200 (stratum 1)

The output shows that the reponse has a precision of -6, same as the
request. Previously you said it was 0. I suspect it copies the value
from the request. That is not how it is supposed to work.

chrony as a client sets the value to 32 to indicate the timestamps are
fully randomized. If the response has 32 too, it won't be accepted.

As a workaround, you can try specifying the server as a peer in the
chrony config instead of server.

--
Miroslav Lichvar

Re: Use of ntpd in Centos8

<sbgbd8$neq$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=77&group=comp.protocols.time.ntp#77

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: david@ex.djwhome.demon.invalid (David Woolley)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Wed, 30 Jun 2021 00:46:48 +0100
Organization: No affiliation
Lines: 6
Message-ID: <sbgbd8$neq$1@dont-email.me>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sbcfir$1n4n$1@gioia.aioe.org>
<c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>
<sbeq93$83m$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 29 Jun 2021 23:46:48 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5d0908da062483aacc92f501ed8f879d";
logging-data="24026"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Cv0pMwnBijK0GnS1tf5CZzltiX1CtEdY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
Cancel-Lock: sha1:7bgEUDtICG9dq44jxVM3+5T0cVg=
In-Reply-To: <sbeq93$83m$1@dont-email.me>
Content-Language: en-GB
 by: David Woolley - Tue, 29 Jun 2021 23:46 UTC

On 29/06/2021 10:48, David Woolley wrote:
> As I recall it, root dispersion cannot be better than the precision,
> which, in our case, appears to be about 16ms.

Looks like this part isn't true. 0 is OK for stratum1.

Re: Use of ntpd in Centos8

<705049c6-9c8c-450f-a8b6-94eb78a2d252n@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=78&group=comp.protocols.time.ntp#78

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a0c:eb0c:: with SMTP id j12mr34496080qvp.3.1625021091735; Tue, 29 Jun 2021 19:44:51 -0700 (PDT)
X-Received: by 2002:a9d:7558:: with SMTP id b24mr7435321otl.60.1625021091496; Tue, 29 Jun 2021 19:44:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Tue, 29 Jun 2021 19:44:51 -0700 (PDT)
In-Reply-To: <sbffhe$q9d$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=202.124.96.215; posting-account=YqozWAoAAADpf7eoUAvd8gtJKfs0tzP3
NNTP-Posting-Host: 202.124.96.215
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com> <sbcfir$1n4n$1@gioia.aioe.org> <c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com> <sbffhe$q9d$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <705049c6-9c8c-450f-a8b6-94eb78a2d252n@googlegroups.com>
Subject: Re: Use of ntpd in Centos8
From: cartertonbaptist@gmail.com (Derek Barnes)
Injection-Date: Wed, 30 Jun 2021 02:44:51 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 18
 by: Derek Barnes - Wed, 30 Jun 2021 02:44 UTC

On Wednesday, 30 June 2021 at 03:51:14 UTC+12, Miroslav Lichvar wrote:
> On 2021-06-29, Derek Barnes <carterto...@gmail.com> wrote:
> > Second - here is a dump of a MX linux box requesting time from the Plato 200 (stratum 1)
> The output shows that the reponse has a precision of -6, same as the
> request. Previously you said it was 0. I suspect it copies the value
> from the request. That is not how it is supposed to work.
>
> chrony as a client sets the value to 32 to indicate the timestamps are
> fully randomized. If the response has 32 too, it won't be accepted.
>
> As a workaround, you can try specifying the server as a peer in the
> chrony config instead of server.
>
> --
> Miroslav Lichvar
==================================
Thank you Miroslav, this has worked perfectly, my chrony client is now accepting the GPS unit correctly and is synching off it.
cheers,
Derek.

Re: Use of ntpd in Centos8

<fbca7a9a-d0d7-41d1-80ad-349a5f7496bbn@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=79&group=comp.protocols.time.ntp#79

 copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a05:622a:414:: with SMTP id n20mr3060715qtx.158.1625375395751;
Sat, 03 Jul 2021 22:09:55 -0700 (PDT)
X-Received: by 2002:a4a:98ce:: with SMTP id b14mr5774803ooj.69.1625375395474;
Sat, 03 Jul 2021 22:09:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Sat, 3 Jul 2021 22:09:55 -0700 (PDT)
In-Reply-To: <705049c6-9c8c-450f-a8b6-94eb78a2d252n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=202.124.96.215; posting-account=YqozWAoAAADpf7eoUAvd8gtJKfs0tzP3
NNTP-Posting-Host: 202.124.96.215
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sbcfir$1n4n$1@gioia.aioe.org> <c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>
<sbffhe$q9d$1@gioia.aioe.org> <705049c6-9c8c-450f-a8b6-94eb78a2d252n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fbca7a9a-d0d7-41d1-80ad-349a5f7496bbn@googlegroups.com>
Subject: Re: Use of ntpd in Centos8
From: cartertonbaptist@gmail.com (Derek Barnes)
Injection-Date: Sun, 04 Jul 2021 05:09:55 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Derek Barnes - Sun, 4 Jul 2021 05:09 UTC

On Wednesday, 30 June 2021 at 14:44:52 UTC+12, Derek Barnes wrote:
> On Wednesday, 30 June 2021 at 03:51:14 UTC+12, Miroslav Lichvar wrote:
> > On 2021-06-29, Derek Barnes <c**o...@gmail.com> wrote:
> > > Second - here is a dump of a MX linux box requesting time from the Plato 200 (stratum 1)
> > The output shows that the reponse has a precision of -6, same as the
> > request. Previously you said it was 0. I suspect it copies the value
> > from the request. That is not how it is supposed to work.
> >
> > chrony as a client sets the value to 32 to indicate the timestamps are
> > fully randomized. If the response has 32 too, it won't be accepted.
> >
> > As a workaround, you can try specifying the server as a peer in the
> > chrony config instead of server.
> >
> > --
> > Miroslav Lichvar
> ==================================
> Thank you Miroslav, this has worked perfectly, my chrony client is now accepting the GPS unit correctly and is synching off it.
> cheers,
> Derek.
========================================
I notice that since the change suggested by Miroslav, all servers other than my GPS receiver are marked with a " - "
Is this normal??
[dirk@b***b ~]$ chronyc sources
210 Number of sources = 7
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^- DebianNTP.fritz.box 2 8 377 205 -265us[ -267us] +/- 23ms
^- 60.220.47.163.ip.2degree> 2 10 177 136 -1276us[-1276us] +/- 49ms
=* Plato200.fritz.box 1 8 373 180 -3804ns[-5925ns] +/- 111us
^- 101-100-146-146.myrepubl> 2 10 377 291 -402us[ -404us] +/- 54ms
^- dts.net.nz 2 9 377 262 -1563us[-1565us] +/- 34ms
^- ns2.att.wlg.telesmart.co> 2 10 377 113 -6196us[-6196us] +/- 16ms
^- msltime.irl.cri.nz 1 10 377 643 -513us[ -512us] +/- 2262us
[dirk@ba**mob ~]$

Re: Use of ntpd in Centos8

<sbrpdd$ooj$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=80&group=comp.protocols.time.ntp#80

 copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: Use of ntpd in Centos8
Date: Sun, 4 Jul 2021 07:53:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 80
Message-ID: <sbrpdd$ooj$1@dont-email.me>
References: <46b66362-2eac-43a8-9991-a16f21ee6493n@googlegroups.com>
<sbcfir$1n4n$1@gioia.aioe.org>
<c5099a5f-45cf-4191-9bde-65150a9ff897n@googlegroups.com>
<sbffhe$q9d$1@gioia.aioe.org>
<705049c6-9c8c-450f-a8b6-94eb78a2d252n@googlegroups.com>
<fbca7a9a-d0d7-41d1-80ad-349a5f7496bbn@googlegroups.com>
Injection-Date: Sun, 4 Jul 2021 07:53:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a249e292e4e340bd12b5bef85467351e";
logging-data="25363"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19l5PLZC3WGQic5r2KpB+8e"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:+5+EWJ3HYRXwHhqsURu/RHt4WUA=
 by: William Unruh - Sun, 4 Jul 2021 07:53 UTC

On 2021-07-04, Derek Barnes <cartertonbaptist@gmail.com> wrote:
> On Wednesday, 30 June 2021 at 14:44:52 UTC+12, Derek Barnes wrote:
>> On Wednesday, 30 June 2021 at 03:51:14 UTC+12, Miroslav Lichvar wrote:
>> > On 2021-06-29, Derek Barnes <c**o...@gmail.com> wrote:
>> > > Second - here is a dump of a MX linux box requesting time from the Plato 200 (stratum 1)
>> > The output shows that the reponse has a precision of -6, same as the
>> > request. Previously you said it was 0. I suspect it copies the value
>> > from the request. That is not how it is supposed to work.
>> >
>> > chrony as a client sets the value to 32 to indicate the timestamps are
>> > fully randomized. If the response has 32 too, it won't be accepted.
>> >
>> > As a workaround, you can try specifying the server as a peer in the
>> > chrony config instead of server.
>> >
>> > --
>> > Miroslav Lichvar
>> ==================================
>> Thank you Miroslav, this has worked perfectly, my chrony client is now accepting the GPS unit correctly and is synching off it.
>> cheers,
>> Derek.
>========================================
> I notice that since the change suggested by Miroslav, all servers other than my GPS receiver are marked with a " - "
> Is this normal??
> [dirk@b***b ~]$ chronyc sources
> 210 Number of sources = 7
> MS Name/IP address Stratum Poll Reach LastRx Last sample
>===============================================================================
> ^- DebianNTP.fritz.box 2 8 377 205 -265us[ -267us] +/- 23ms
> ^- 60.220.47.163.ip.2degree> 2 10 177 136 -1276us[-1276us] +/- 49ms
>=* Plato200.fritz.box 1 8 373 180 -3804ns[-5925ns] +/- 111us
> ^- 101-100-146-146.myrepubl> 2 10 377 291 -402us[ -404us] +/- 54ms
> ^- dts.net.nz 2 9 377 262 -1563us[-1565us] +/- 34ms
> ^- ns2.att.wlg.telesmart.co> 2 10 377 113 -6196us[-6196us] +/- 16ms
> ^- msltime.irl.cri.nz 1 10 377 643 -513us[ -512us] +/- 2262us
> [dirk@ba**mob ~]$
>

man chronyc
....
sources [-v]
This command displays information about the current time sources that chronyd is accessing.

The optional argument -v can be specified, meaning verbose. In this case, extra caption lines are shown as a reminder of the meanings of the columns.

210 Number of sources = 3
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#* GPS0 0 4 377 11 -479ns[ -621ns] +/- 134ns
^? foo.example.net 2 6 377 23 -923us[ -924us] +/- 43ms
^+ bar.example.net 1 6 377 21 -2629us[-2619us] +/- 86ms
The columns are as follows:

M
This indicates the mode of the source. ^ means a server, = means a peer and # indicates a locally connected reference clock.

S
This column indicates the state of the source.

* indicates the source to which chronyd is currently synchronised.

+ indicates acceptable sources which are combined with the selected source.

- indicates acceptable sources which are excluded by the combining algorithm.

? indicates sources to which connectivity has been lost or whose packets do not pass all tests. It is also shown at start-up, until at least 3 samples have been gathered from it.

x indicates a clock which chronyd thinks is a falseticker (i.e. its time is inconsistent with a majority of other sources).

~ indicates a source whose time appears to have too much variability.

---------------------------------

So yes. Plato is by far the most accurate source, and is
stratum 1. It will be the source that chrony chooses for its time
reference. Note that the other two sources have a +/- 100 times or more
larger than the GPS source. Why would chrony want to use them?

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor