[ntp:questions] GPS wrong date?

Marcin Gondek drixter at e-utp.net
Fri Sep 26 21:41:26 UTC 2014


Hi,

I'm using a Garmin 18x LVC to sync my server with NTP.

Before two day I just got that GPS is out of sync.

When I can, there is a something strange with date on GPS data, it looks that date is stopped TWO DAYS AGO, what can to fix it or check what is the correct problem?

[root at fido pps-tools]# date
Fri Sep 26 23:25:05 CEST 2014
[root at fido pps-tools]# cat /dev/gps0
$GPRMC,211218,A,5218.0866,N,02055.7025,E,000.0,324.7,240914,005.3,E*75

$GPGGA,211218,5218.0866,N,02055.7025,E,1,00,1.0,-495.2,M,35.5,M,,*6A

$GPRMC,211219,A,5218.0866,N,02055.7024,E,000.0,324.7,240914,005.3,E*75

$GPGGA,211219,5218.0866,N,02055.7024,E,1,00,1.0,-495.2,M,35.5,M,,*6A

$GPRMC,211220,A,5218.0866,N,02055.7024,E,000.0,324.7,240914,005.3,E*7F

[root at fido pps-tools]# ./ppstest /dev/gpspps0
trying PPS source "/dev/gpspps0"
found PPS source "/dev/gpspps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1411766593.506479898, sequence: 32925873 - clear  1411766593.706511871, sequence: 513
source 0 - assert 1411766594.506501606, sequence: 32925874 - clear  1411766593.706511871, sequence: 513
source 0 - assert 1411766594.506501606, sequence: 32925874 - clear  1411766594.706476667, sequence: 514
source 0 - assert 1411766595.506511285, sequence: 32925875 - clear  1411766594.706476667, sequence: 514
source 0 - assert 1411766595.506511285, sequence: 32925875 - clear  1411766595.706502029, sequence: 515
^C
[root at fido pps-tools]# ./ppswatch /dev/gpspps0
trying PPS source "/dev/gpspps0"
found PPS source "/dev/gpspps0"
timestamp: 1411766599, sequence: 518, offset: -293516872
timestamp: 1411766600, sequence: 519, offset: -293516636
timestamp: 1411766600, sequence: 519, offset: -293516636
timestamp: 1411766601, sequence: 520, offset: -293530233
^C

Total number of PPS signals: 4
Maximum divergence: 293530233
[root at fido pps-tools]# ll /dev/pps*
crw-rw----. 1 root root 249, 0 Sep 10  2013 /dev/pps0
[root at fido pps-tools]# ll /dev/gps*
lrwxrwxrwx. 1 root root 10 Sep 26 22:37 /dev/gps0 -> /dev/ttyS5
lrwxrwxrwx. 1 root root  9 Sep 10  2013 /dev/gpspps0 -> /dev/pps0
[root at fido pps-tools]#


--
Marcin Gondek / Drixter
http://fido.e-utp.net/
AS56662



More information about the questions mailing list