Time.lan.nurd.space

From NURDspace
Revision as of 22:11, 29 April 2026 by Folkert (talk | contribs) (→‎who?)
Jump to navigation Jump to search
time - THE time-source for NURDSpace
Time.lan.nurd.space pica.png
Participants
Skills ntp, gps, ptp
Status In progress
Niche Time
Purpose Use for infra
Tool Yes
Location bij de bar
Cost
Tool category General

time - THE time-source for NURDSpace

Time.lan.nurd.space pica.png {{#if:Yes | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:Yes | [[Tool Cost::{{{Cost}}} | }}


what it is

This is the main time server for NURDSpace. "Connect" using NTP (or SNTP) - most (if not all) operating systems support NTP in some form.

And as we have UNLIMITED (well almost) internet bandwidth, it is also part of https://www.ntppool.org/ (configured at half a megabit).

pro tip

On ESP32, do not use some vague NTP library: the IDF/Arduino SDK on that platform contains a very capable NTP implementation by itself (google for configTime).

where?

Currently (2026/04/29) it is on the RF shelf CV-closet.

who?

This thing is managed by folkert & User:Melan.

specs

  • gpsd - GPS: GY-GPSV3-NEO-M8N GNSS-GPS Module
  • ntpsec

networking

  • hostname: time.lan.nurd.space
  • ip-adress: 10.208.0.10

notes

  • the system runs a special 'realtime kernel', please be careful not to replace it when updating raspberryos!
    • special settings:
      • 100 Hz interrupt
      • nohz=off
      • realtime kernel
      • preemptible kernel
  • it (the pi) is also the "emergency"-gateway for when the regular internet connection is not available
  • CPU clock frequency scaling has been disabled as scaling negatively affects time keeping

monitoring

other task

It also functions as an internet-gateway via UMTS to (currently only) Folkert's VPS (172.31.0.1 via vps001.komputilo.nl). That allows us to reach the space when regular internet is unavailable. Soon the time-pi will be on an UPS fo extended power when main power is gone. It also runs a local uptime kuma instance which only monitors the physical servers (erratic, melody, sporadic and spacenanny). Notifications of these go through the vpn to Folkert's XMPP server.

TODO

  • connect an ESP to it (via USB) which monitors the regular main power. then we can check from remote if the power went down.
  • setup vpn to Melan
  • setup xmpp for r3boot
  • setup some other messenger for Melan