[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not able to get GPSD and NTP talking
From: |
Gary E. Miller |
Subject: |
Re: Not able to get GPSD and NTP talking |
Date: |
Mon, 5 Oct 2020 11:03:23 -0700 |
Yo TarotApprentice!
On Sun, 4 Oct 2020 22:25:08 +0000 (UTC)
TarotApprentice <tarotapprentice@yahoo.com> wrote:
> I am having an issue getting ntp working with gpsd. Hardware is a
> Raspberry Pi4 model B with a ublox 8 model GR-801 USB connected GPS.
Don't expect to get accurate time out of a plain GR-801.
> Software is Raspberry Pi OS (64 bit) running their 5.4.51 kernel, ntp
> is 4.2.8p12+dfsg-4 from repo and gpsd is 3.20 from the
> buster-backports repo.
OK. We receommentd NTPsec instead of NTP classic.
> which tells me the gps has a 3D fix and is providing data.
Yes. That does ntpshmmon show you?
> Oct 05 08:34:43 *** ntpd[455]: Soliciting pool server 162.159.200.123
> Oct 05 08:34:43 *** ntpd[455]: Soliciting pool server 27.124.125.251
> Oct 05 08:34:43 *** ntpd[455]: Soliciting pool server 103.214.220.220
> Oct 05 08:34:44 *** ntpd[455]: Soliciting pool server 45.124.53.221
> Oct 05 08:34:44 *** ntpd[455]: Soliciting pool server 103.38.120.36
> Oct 05 08:34:45 *** ntpd[455]: Soliciting pool server 61.68.38.238
> Oct 05 08:34:46 *** ntpd[455]: Soliciting pool server 144.48.166.166
> Oct 05 08:34:47 *** ntpd[455]: Soliciting pool server
I see nothing about using SHM there. What is in your ntp.conf?
> ntpq -p
I see SHM(0) dna SHM(1) there. Don't bother with SHM(1), you have no PPS.
> Which suggest it can't access the shared memory segments.
No, your ipcs -m shows two nattach: gpsd and ntpd.
ntpshmmon will tell you if there is any data in SHM(0). SHM1) will
never have data as you have no PPS.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpcBrPWlCKVg.pgp
Description: OpenPGP digital signature