You are not logged in.
> English is not my native language, please excuse typing errors and syntax mistakes
I live in UTC+8 timezone, and this is what timedatectl outputs, i.e. universal time is the actual local time:
Local time: Sun 2020-05-24 05:55:49 CST
Universal time: Sat 2020-05-23 21:55:49 UTC
RTC time: Sat 2020-05-23 21:55:49
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no
I've tried systohc --hwclock, ntp, and some other methods listed on the wiki, but none of them worked.
I'm sorry that I don't know if I need to post any more information.
Last edited by 91khr (2020-05-23 23:31:46)
Offline
Online
Thanks, but I did have tried that. Neither set-local-rtc 0 nor set-locl-rtc 1 worked. I'm using Arch as my only system. Did I miss something?
Offline
If the RTC is what the clock on your wall says, the RTC operates in localtime, so you want to set that value and then update the system time from the rtc.
Also consider https://wiki.archlinux.org/index.php/Sy … ronization
Offline
Yes. First, your RTC should be in UTC, not in localtime. Set it.
Online
It is solved now, thanks!
I fixed this problem by (installing and) starting the ntp systemd service...
Offline