Revision of Enable time synchronization (NTP) from Tue, 05/23/2023 - 07:02

The revisions let you track differences between multiple versions of a post.

NTP, the Network Time Protocol, is used to keep the computer clocks synchronized to the Coordinated Universal Time (UTC) then it can be easily translated by the system to a local time using the timezone db.

NTP is one of the oldest Internet protocols in current use.

Introduction

As a privacy measure all the remote connections on Trisquel are disabled by default, ntp being a network-based system making remote connections, is not installed by default.

The goal of this wiki is to provide simple instructions for users that require this service enabled.

timesyncd

This can be easily enabled by installing the timesyncd daemon.

sudo apt install systemd-timesyncd
timedatectl set-ntp true

The latter command is used to automatically synchronize the clock directly, otherwise you have to shut down/start, or reboot Trisquel. The status may be viewed with:

timedatectl status

Other time sync daemons

There might be other options rather than timesyncd, but they will likely need manual setup and a higher experience.

Here a non-exhaustive list,

  • chrony
  • openntpd

Revisions

04/21/2023 - 01:25
Ark74
05/06/2023 - 21:02
jxself
05/07/2023 - 05:34
Ark74
05/23/2023 - 07:49
David_Hedlund
08/05/2024 - 05:21
knife