Basic Usage of the NTP Service

Carinnan

I recently installed openSUSE on my ThinkPad X1 Tablet for daily use. By the way, Windows runs terribly on it.

I noticed that the system time was incorrect, so I tried to fix it by installing the NTP service and running a manual synchronization.

1
2
3
sudo zypper install ntp
sudo systemctl enable ntpd
sudo systemctl start ntpd

Configure the time server by editing /etc/ntp.conf and adding a line like:

1
server example-ntp-server.com

Save the file, then run sudo systemctl restart ntpd.

To synchronize manually once:

1
sudo ntpdate -u example-ntp-server.com

Okay—and thanks, ChatGPT, again.