* 2024-03-06 12:31:46-0500, Roy J. Tellason, Sr. wrote: > Local time: Wed 2024-03-06 12:09:44 EST > Universal time: Wed 2024-03-06 17:09:44 UTC > RTC time: Wed 2024-03-06 17:20:53 > Time zone: America/New_York (EST, -0500) > Network time on: yes > NTP synchronized: no > RTC in local TZ: no > > How do I get the RTC to agree with the right time? I don't reboot this > often, but when I do the time displayed on the onscreen clock is > typically off by several minutes. RTC is the clock on computer's motherboard. It has battery and it can keep time when the computer is off. That's its purpose. When computer is shut down the operating system saves its time to RTC. When computer is booted operating system reads RTC time and sets operating system's clock. The time is not accurate but at very least it's something instead of random time. When operating system is running RTC does not matter anymore. To get operating system's clock have accurate time it needs to be synchronized with network time servers via network time protocol (NTP). Systemd has that feature. Turn in on with sudo timedatectl set-ntp true -- /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462
Attachment:
signature.asc
Description: PGP signature