NTP Guide for Arch Linux
INFO
Keep your system clock accurate with NTP on Arch Linux, especially helpful for dual-boot setups.
1. Using systemd-timesyncd
systemd-timesyncd is a simple NTP client to sync your system clock.
Enable and Start systemd-timesyncd:
shell
sudo systemctl enable systemd-timesyncd --nowCheck Sync Status:
shell
timedatectl statusLook for System clock synchronized: yes.
(Optional) Customize NTP Servers:
Edit the config to change default NTP servers:
shell
sudo nano /etc/systemd/timesyncd.confExample config:
ini
[Time]
NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org
FallbackNTP=2.arch.pool.ntp.org 3.arch.pool.ntp.orgRestart systemd-timesyncd:
shell
sudo systemctl restart systemd-timesyncd