<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.frotmail.nl/index.php?action=history&amp;feed=atom&amp;title=NTP-Source</id>
	<title>NTP-Source - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.frotmail.nl/index.php?action=history&amp;feed=atom&amp;title=NTP-Source"/>
	<link rel="alternate" type="text/html" href="https://wiki.frotmail.nl/index.php?title=NTP-Source&amp;action=history"/>
	<updated>2026-08-06T03:37:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.frotmail.nl/index.php?title=NTP-Source&amp;diff=12&amp;oldid=prev</id>
		<title>Eric: Created page with &quot;How to NTP a Raspberry Pi 4 via GPS and PPS This also works on Pi 3.  =Hardware= A GPS with serial connected to the Pi’s serial port, and PPS connected to gpio 18 (physical pin 12 on the GPIO connector) If possible, configure GPS to output GPZDA at 9600 baud. GPSD will find other baud rates, but takes approximately 8 minutes to get to 115200, and 9600 is the first one it tries.   sudo raspi-config  disable serial console login, enable hardware serial port   sudo apt in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.frotmail.nl/index.php?title=NTP-Source&amp;diff=12&amp;oldid=prev"/>
		<updated>2022-04-04T19:05:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;How to NTP a Raspberry Pi 4 via GPS and PPS This also works on Pi 3.  =Hardware= A GPS with serial connected to the Pi’s serial port, and PPS connected to gpio 18 (physical pin 12 on the GPIO connector) If possible, configure GPS to output GPZDA at 9600 baud. GPSD will find other baud rates, but takes approximately 8 minutes to get to 115200, and 9600 is the first one it tries.   sudo raspi-config  disable serial console login, enable hardware serial port   sudo apt in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;How to NTP a Raspberry Pi 4 via GPS and PPS&lt;br /&gt;
This also works on Pi 3.&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
A GPS with serial connected to the Pi’s serial port, and PPS connected to gpio 18 (physical pin 12 on the GPIO connector)&lt;br /&gt;
If possible, configure GPS to output GPZDA at 9600 baud. GPSD will find other baud rates, but takes approximately 8 minutes to get to 115200, and 9600 is the first one it tries.&lt;br /&gt;
&lt;br /&gt;
 sudo raspi-config&lt;br /&gt;
&lt;br /&gt;
disable serial console login, enable hardware serial port&lt;br /&gt;
&lt;br /&gt;
 sudo apt install pps-tools gpsd gpsd-clients python-gps chrony&lt;br /&gt;
&lt;br /&gt;
edit /etc/modules, add:&lt;br /&gt;
&lt;br /&gt;
 pps-gpio&lt;br /&gt;
&lt;br /&gt;
edit /boot/firmware/config.txt (or /boot/config.txt), add:&lt;br /&gt;
&lt;br /&gt;
 dtoverlay=pps-gpio,gpiopin=18&lt;br /&gt;
&lt;br /&gt;
edit /etc/default/gpsd, set device to “/dev/ttyS0”, options to “-n -b”&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl enable gpsd&lt;br /&gt;
&lt;br /&gt;
edit /etc/chrony/chrony.conf, comment out all servers and pools, add:&lt;br /&gt;
&lt;br /&gt;
 refclock SHM 0 poll 0 refid GPS precision 1e-1 offset 0.055&lt;br /&gt;
 refclock PPS /dev/pps0 lock GPS poll 0 refid PPS precision 1e-9&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl restart chrony&lt;br /&gt;
&lt;br /&gt;
Monitor using chronyc sources, or chronyc sourcestats&lt;/div&gt;</summary>
		<author><name>Eric</name></author>
	</entry>
</feed>