Skip to main content

Local GPS NTP Time Server

Accessible at: 192.168.1.12
Project files stored here: “\\192.168.1.11\zfs_mirror3\Projects\Dormant\NTP Raspberry Pi Server”

Build Data

Runs Raspian on a Raspberry PI

Static IP Address was set in: /etc/dhcpcd.conf

image.png

Usage

Use ntpq -p to see the following:

image.png

Use this to test the pps signal:
sudo ppstest /dev/pps0

The output should spit out a new line every second that looks something like this (your output will be a bit farther from x.000000 since it isn’t yet using the GPS PPS):

image.png

Use the gps monitor function to check the realtime availability of GPS and satelite count and position, with this:
gpsmon

This will present the following:

image.png

Or, using the following for a simpler gps status check:
cgps

This will create the following output:

image.png


Here’s a good reference on how to tune and configure the NTP setup on a RaspBerry PI: Building a Raspberry-Pi Stratum-1 NTP Server 

Another reference: Millisecond accurate Chrony NTP with a USB GPS for $12 USD - Austin's Nerdy Things


Good reference on the Shared Memory Driver, and how the 127.127.28.x address is used: http://doc.ntp.org/archives/drivers/driver28/