[ntp:questions] How to get shared memory access from gpsd to ntpd to work?

Gary E. Miller gem at rellim.com
Wed Aug 16 20:40:02 UTC 2017

Yo Etaoin!

On Wed, 16 Aug 2017 13:52:44 +0100
Etaoin Shrdlu <etaoin at clickworkorange.com> wrote:

> P.S. This has been cross-posted from gpsd-users at nongnu.org, where I
> failed to get any response to my query. 

I never saw it there.  I just sent a test message to that list and the
list is working fine.

It looks like the time is not getting from gpsd to ntpd.  The test
that shows the link between gpsd and ntp over shm is ntpshmmon, part of
the gpsd pacakge..  Just run that and see what you get:

It should look like this:

# ntpshmmon
ntpshmmon version 1
#      Name Seen@                Clock                Real                 L Prec
sample NTP0 1502915839.595703946 1502915839.583110543 1502915839.703999996 0 -20
sample NTP1 1502915840.000040002 1502915840.000014822 1502915840.000000000 0 -30
sample NTP0 1502915840.603454013 1502915840.603269997 1502915840.703999996 0 -20
sample NTP1 1502915841.000099871 1502915840.999982405 1502915841.000000000 0 -30

Also, how are you starting gpsd and ntpd?

I do not know anyone using GPS over udp...

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ntp.org/pipermail/questions/attachments/20170816/3bb2c31b/attachment.sig>

More information about the questions mailing list