I joined the NTP Pool, but not with my Stratum 1 Pi
In a recent development, the author decided to join the NTP Pool and contribute a public Stratum 2 NTP time server (ntp-01.jeffgeerling.com). This server relies on a Stratum 1 time server (time.jeffgeerling.com) located in the studio. The Pi Time server is connected to an external GNSS antenna through a TimeHAT v6, paired with a high-quality GNSS module, the u-blox ZED-F9T. The author posted a YouTube video detailing the setup, encouraging others to join the NTP Pool.
Before joining the NTP Pool, the author advises others to consider their needs and resources. While a timing-grade GNSS module is not mandatory, it provides the most accurate time. However, it's not necessary to have such a module to participate. The primary requirements for joining the NTP Pool are minimal, but newcomers should be aware that the process can take several hours to verify the server's time quality.
The author also shares their experience with self-hosting their website on a cluster of Raspberry Pis, which they were later targeted by a DDoS attack. This incident prompted them to have a two-layered approach to their public time services, with their Stratum 2 server acting as a noselect source in their Stratum 1 server's chrony configuration. This setup allows them to compare the Internet delay between the two servers without being affected by the WireGuard tunnel.
The author emphasizes that most systems should use pool addresses for NTP configurations, as documented. They mention one NTP server hosted at WWV in Ft. Collins, CO, and another at Boulder, CO, alongside Cloudflare. The author notes that single out time servers may not be ideal for most systems, and recommends using pool addresses instead.
In their configuration, the TimeHAT on the Pi plays a crucial role in delivering accurate time by disciplining the hardware clock (PHC) in hardware, using the GNSS module's PPS pin. The entire configuration, including the Pi's system clock, is managed by Ansible in the author's time-pi project. The author uses the i226 NIC's hardware timestamping (hardware timestamping) to discipline the PHC to within tens-of-ns of UTC and distribute that time to other PTP-aware computers on the LAN.
This setup allows for the most accurate time possible, as the PHC is shared to the system clock using refclock PHC inside Chrony.
Rewritten by urgent.news; may contain errors — check the original.
Source: jeffgeerling.com