Commit Graph

2 Commits

Author SHA1 Message Date
mikkeli 28e056dc4d Chrony with GPS fallback; robust antenna supply; all GNSS constellations
Time: chrony replaces timesyncd, with NICT/JP-pool NTP primary and gpsd
SHM as an offline-only refclock; makestep any time and fake-hwclock
cover the battery-less RTC.

Antenna: the modem cleared the supply again after the service set it,
so the service is now idempotent, configurable (ANTENNA=active|passive,
passive keeps it off) and re-checked by a 30 s timer.

gpsd: a gpsdctl udev hook spawned a stray gpsd without -n at boot that
blocked the real service; gpsd.service now binds to the NMEA device.

GNSS: CGNSSMODE=15 (GLONASS, BeiDou, Galileo, QZSS) and all supported
NMEA sentences; both persist across a modem reset. Adds sim7600-at.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 19:18:16 +09:00
mikkeli 1d405a6b91 Pin NTP to NICT, set Tokyo timezone; add time sync report
timesyncd now uses ntp.nict.jp (stratum 1), with the JP pool and Ubuntu
as fallback, over whichever uplink holds the default route. Timezone
moves from Asia/Yakutsk to Asia/Tokyo: same offset, right place.

Records that the RTC loses time at power-off (the cold boot came up at
June 4 until NTP synced), and the planned chrony + gpsd setup once
GNSS has a fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 09:24:33 +09:00