You are not logged in.
Hey.
After updating my bios (UEFI) the time on my clock widget is off by +1 hour. Doing timedatectl shows that my 'Local time' is wrong while 'Universal time' and 'RTC time' is correct.
Local time: Mon 2024-01-22 15:28:16 CET
Universal time: Mon 2024-01-22 14:28:16 UTC
RTC time: Mon 2024-01-22 14:28:17It also writes:
System clock synchronized: no
NTP service: inactive
RTC in local TZ: noThe bios' date and time are correct.
I do not know if it was like that before updating, but is it supposed to say 'no' and 'inactive' for those fields?
Windows on the same PC also showed the incorrect time until I synced to the server again.
Last edited by simon_kungen (2024-01-22 13:58:44)
Offline
Perhaps have a look at this: https://wiki.archlinux.org/title/System_time
https://wiki.archlinux.org/title/Networ … emon#Usage
Generally System Clock Synchronized should say Yes. ntp is optional.
Last edited by d_fajardo (2024-01-22 14:23:05)
Offline
https://wiki.archlinux.org/title/Dual_b … e_standard
Also 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Offline
I do not know if it was like that before updating, but is it supposed to say 'no' and 'inactive' for those fields?
To synchronise the system clock and enable NTP use
# timedatectl set-ntp true
# hwclock --systohcMake sure the time is correct before running the second command.
Which guide did you follow when installing Arch? The `hwclock` command is listed in the official guide.
Jin, Jîyan, Azadî
Offline
To synchronise the system clock and enable NTP use
timedatectl set-ntp true
That option only works for services that are listed in /usr/lib/systemd/ntp-units.d/ folder.
To the best of my knowledge there's exactly one service listed there : systemd-timesync .
In other words : that command will fail unless a user relies on systemd-timesyncd for time syncing.
background info :
set-ntp [BOOL]
Takes a boolean argument. Controls whether network time synchronization is active and enabled (if available). If the argument is true, this enables and starts the first existing network synchronization service. If the argument is false, then this disables and stops the known network synchronization services. The way that the list of services is built is described in systemd-timedated.service(8).Added in version 195.
LIST OF NETWORK TIME SYNCHRONIZATION SERVICES
systemd-timesyncd will look for files with a ".list" extension in ntp-units.d/ directories.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
The first command I posted will enable systemd-timesyncd.service:
~$ doas systemctl disable systemd-timesyncd
Removed "/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service".
Removed "/etc/systemd/system/dbus-org.freedesktop.timesync1.service".
~$ doas timedatectl set-ntp true
~$ ls -l /etc/systemd/system/{sysinit.target.wants/systemd-timesyncd,dbus-org.freedesktop.timesync1}.service
lrwxrwxrwx 1 root root 49 Jan 23 20:41 /etc/systemd/system/dbus-org.freedesktop.timesync1.service -> /usr/lib/systemd/system/systemd-timesyncd.service
lrwxrwxrwx 1 root root 49 Jan 23 20:41 /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service -> /usr/lib/systemd/system/systemd-timesyncd.service
~$Last edited by Head_on_a_Stick (2024-01-23 20:45:08)
Jin, Jîyan, Azadî
Offline
The OP will have to align his sual boot first, otherwise the clock will be systematically off on both OS before it gets sync'd on either.
Offline