[ntp:questions] PPS versus serial offset

Jos vd Ven jacmvdven at gmail.com
Sat Nov 2 13:04:45 UTC 2013


On Wednesday, August 28, 2013 10:18:43 AM UTC+2, detha wrote:

> # Kernel-mode PPS ref-clock
> server 127.127.22.0 minpoll 4 maxpoll 4
> fudge 127.127.22.0  flag2 1 flag3 0  refid PPS
> 
> # GPS serial data
> server 127.127.28.0 iburst burst minpoll 4 preker
> fudge 127.127.28.0 time1 0.308 refid NMEA minpoll 8 stratum 10
> server stratum1.neology.co.za iburst noselect
> ----------

This is an older post but for reference:

I am using the generic NMEA driver with the HAB-GPSPI board and then you won't see it:

#generic NMEA driver
server 127.127.20.0 mode 17 prefer
fudge 127.127.20.0 flag1 1 time2 0.400

Be sure to add this file:

#sudo nano /etc/udev/rules.d/80-gps-to-ntp.rules

with this content:

# Change MODE of ttyAMA0 so it is readable by NTP and provide a symlink to
# /dev/gps0
KERNEL=="ttyAMA0", SUBSYSTEM=="tty", DRIVER=="", SYMLINK+="gps0", MODE="0666"
# Symlink /dev/pps0 to /dev/gpspps0
KERNEL=="pps0", SUBSYSTEM=="pps", DRIVER=="", SYMLINK+="gpspps0", MODE="0666"

Jos



More information about the questions mailing list