[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] ntpd would not synch up with gpsd
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] ntpd would not synch up with gpsd |
Date: |
Mon, 13 Mar 2017 13:23:21 -0700 |
Yo nagaraj!
On Mon, 13 Mar 2017 13:15:45 -0700
nagaraj <address@hidden> wrote:
> ntpd does not seem to fetch the time from gpsd. Am I missing anything
> in here ?
What we really need to see is the output of ppstest and ntpshmon.
On a RasPi it should look like this:
pi4 ntpsec # ppstest /dev/pps0
trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1489436508.000000943, sequence: 231387 - clear 0.000000000,
sequence: 0
source 0 - assert 1489436509.000000771, sequence: 231388 - clear 0.000000000,
sequence: 0
^C
pi4 ntpsec # ntpshmmon
ntpshmmon version 1
# Name Seen@ Clock Real L
Prec
sample NTP1 1489436516.069957555 1489436516.000000562 1489436516.000000000 0 -30
sample NTP0 1489436516.104251363 1489436516.103958499 1489436516.000000000 0 -20
sample NTP1 1489436517.000777725 1489436517.000000172 1489436517.000000000 0 -30
sample NTP0 1489436517.107487480 1489436517.106748835 1489436517.000000000 0 -20
sample NTP1 1489436518.001029006 1489436518.000000151 1489436518.000000000 0 -30
sample NTP0 1489436518.107823655 1489436518.106653969 1489436518.000000000 0 -20
sample NTP1 1489436519.000707253 1489436519.000000169 1489436519.000000000 0 -30
sample NTP0 1489436519.106702477 1489436519.105842842 1489436519.000000000 0 -20
^C
ppstest shows what gpsd can read about pps0. ntpshmmon shows what
gpsd is sending to ntpd.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgpVWSd70usIu.pgp
Description: OpenPGP digital signature