Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


pc_engines_apu_ublox_6_timing_gps_ntp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
pc_engines_apu_ublox_6_timing_gps_ntp [2015/01/06 09:37] – [Verify] adminpc_engines_apu_ublox_6_timing_gps_ntp [2015/01/06 09:38] – [Verify] admin
Line 148: Line 148:
  
 ====Verify==== ====Verify====
 +  * Make sure gpsd and ntpd start at boot. If not, enable it.<code>update-rc.d ntp enable
 +update-rc.d gpsd enable</code>
 +  * Test PPS reception. <code># ppswatch /dev/pps0
 +trying PPS source "/dev/pps0"
 +found PPS source "/dev/pps0"
 +timestamp: 1403289214, sequence: 11, offset:  81613988
 +timestamp: 1403289214, sequence: 11, offset:  81613988
 +timestamp: 1403289215, sequence: 12, offset:  81607583
 +timestamp: 1403289215, sequence: 12, offset:  81607583
 +timestamp: 1403289216, sequence: 13, offset:  81609303
 +timestamp: 1403289216, sequence: 13, offset:  81609303
 +timestamp: 1403289217, sequence: 14, offset:  81601958
 +^C</code>
 +  * Check ntpq status. The 'o' means, PPS is working.<code>$ ntpq -p
 +     remote           refid      st t when poll reach   delay   offset  jitter
 +==============================================================================
 + ntp1.polaire.nl .PZF.            1 u   47   64    1    0.270   12.367   0.001
 + ntp2.polaire.nl 95.97.208.29     2 u   48   64    1    0.293   12.720   0.001
 + ntp3.home.polai .DCF.            1 u   47   64    1    0.300   13.941   0.001
 +oPPS(0)          .PPS.            0 l    -   16    7    0.000   12.355   0.102
 +*SHM(0)          .GPSd.           0 l    2   16    7    0.000    1.188   1.431
 +
 +# After a while...
 +
 +     remote           refid      st t when poll reach   delay   offset  jitter
 +==============================================================================
 ++ntp1.polaire.nl .PZF.            1 u   56   64  377    0.292   -0.099   0.075
 +-ntp2.polaire.nl 95.97.208.29     2 u   50   64  377    0.289    0.638   0.086
 ++ntp3.home.polai .DCF.            1 u   41   64  377    0.237    1.656   0.048
 +oPPS(0)          .PPS.            0 l   15   16  377    0.000    0.027   0.003
 +*SHM(0)          .GPSd.           0 l   16   16  377    0.000   -8.657   2.708
 +</code>
   * Show connected clients:<code>ntpdc -c monlist</code>   * Show connected clients:<code>ntpdc -c monlist</code>
   * Verify leap variables:<code>ntpq -c "rv 0"   * Verify leap variables:<code>ntpq -c "rv 0"
pc_engines_apu_ublox_6_timing_gps_ntp.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1