gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] 1PPS not working with RPi 3 B+ and Stretch


From: David J Taylor
Subject: Re: [gpsd-users] 1PPS not working with RPi 3 B+ and Stretch
Date: Sun, 22 Jul 2018 19:05:30 +0100

Chris,

Just a note, that following my own Web notes:

 https://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html

together with the updates further down the page, using a stock latest Raspbian on a 3B+, and both an Uputronics board and another GPS unit, NTP has worked correctly.

 https://www.satsignal.eu/mrtg/performance_raspi-18.php
 https://www.satsignal.eu/mrtg/performance_raspi-19.php

C:\Windows\System32>ntpq -crv -pn raspi-18
associd=0 status=01f8 leap_none, sync_pps, 15 events, no_sys_peer,
version="ntpd address@hidden Tue Mar 20 11:57:43 UTC 2018 (1)",
processor="armv7l", system="Linux/4.14.27-v7+", leap=00, stratum=1,
precision=-21, rootdelay=0.000, rootdisp=1.225, refid=kPPS,
reftime=deff4539.ff5f651b  Sun, Jul 22 2018 19:02:33.997,
clock=deff4549.363a4d7b  Sun, Jul 22 2018 19:02:49.211, peer=25812, tc=4,
mintc=3, offset=-0.001329, frequency=-9.561, sys_jitter=0.000477,
clk_jitter=0.001, clk_wander=0.000, tai=37, leapsec=201701010000,
expire=201712280000

remote refid st t when poll reach delay offset jitter
==============================================================================
o127.127.22.0 .kPPS. 0 l 16 16 377 0.000 -0.001 0.000 *192.168.0.20 .GPS. 1 u 1 32 377 2.609 -0.395 0.224 +192.168.0.3 .kPPS. 1 u 6 32 377 2.715 -0.432 0.312 +192.168.0.71 .kPPS. 1 u - 32 377 2.761 -0.203 0.687 uk.pool.ntp.org .POOL. 16 p - 64 0 0.000 0.000 0.000 -185.182.62.7 85.199.214.98 2 u 48 64 377 19.685 2.109 2.096 -85.199.214.102 .GPS. 1 u 58 64 377 24.937 2.175 1.857 -46.18.11.10 131.188.3.221 2 u 35 64 377 23.047 0.651 3.119 -178.18.123.148 194.80.204.184 2 u 63 64 377 22.187 3.131 3.829 -85.199.214.100 .GPS. 1 u 4 64 377 24.929 1.849 4.341


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

address@hidden:~ $ cat /etc/ntp.conf
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift

# Enable this if you want statistics to be logged.
statsdir /var/log/ntpstats/

statistics loopstats
filegen loopstats file loopstats type day enable

# filegen peerstats file peerstats type day enable
# filegen clockstats file clockstats type day enable

# This server for shared memory PPS source.

server 127.127.22.0 minpoll 4 maxpoll 4
fudge 127.127.22.0 refid kPPS

# You do need to talk to an NTP server or two (or three).

server 192.168.0.20 minpoll 5 maxpoll 5 iburst prefer   # LeoNTP
server 192.168.0.3  minpoll 5 maxpoll 5 iburst prefer   # Pixie
server 192.168.0.71 minpoll 5 maxpoll 5 iburst prefer   # RasPi-1 (LAN)

pool uk.pool.ntp.org minpoll 6 maxpoll 7 iburst

leapfile /home/pi/ntp/leap-seconds.file

# Suggestions for NTP restrictions:
restrict source notrap nomodify nopeer
restrict 127.0.0.1
restrict ::1
restrict 192.168.0.0 mask 255.255.255.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Perhaps that helps?

Cheers,
David
--
SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu
Email: address@hidden
Twitter: @gm8arv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]