Time server

From BeePerNet
Jump to navigation Jump to search
Network Time Protocol servers and clients.svg

Home stratum 1 time server with GPS

Material needed

  • Raspberry PI
  • GPS board with UART and PPS output (Adafruit, SparkFun)
  • Voltage level shifters if GPS = 5V because RPi = 3.3V.

RPi Serial UART Input

Enable port with raspi-config or /boot/config.txt

PPS Input

Add drivers and pin to /boot/config.txt

GPSd

Add /dev/tty? and /dev/pps0 to /etc/default/gpsd If needed: Add -G to /etc/default/gpsd to enable network access. localhost by default. If needed: Correct bindings for ipv6 in /lib/systemd/system/gpsd.socket: comment ipv4, add ipv6, add listenipv6only? parameter.

Chrony

Add SHM and PPS to chrony sources