Enable time synchronization (NTP)

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 persistently enabled by installing the timesyncd daemon.

sudo apt install systemd-timesyncd
sudo timedatectl set-ntp true

The latter command is used to enable the service directly, otherwise you have to reboot Trisquel, to start systemd-timesyncd.service.

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 - 02:25
Ark74
05/06/2023 - 22:02
jxself
05/07/2023 - 06:34
Ark74
05/23/2023 - 08:49
David_Hedlund
08/05/2024 - 06:21
knife