Update system clock
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
My system clock is behind. How do I make Trisquel update my time over
the internet?
--
Caleb Herbert
https://calebh.top/
Hi Caleb,
You can set the rough date with GNU date as superuser like so;
`sudo date -s '2025-03-23'`
That will set the system clock close enough to allow TLS and the package manager to work.
Then you can proceed to enabling NTP; https://trisquel.info/en/wiki/enable-time-synchronization-ntp
`sudo apt install systemd-timesyncd`
`sudo timedatectl set-ntp true`
`timedatectl status`
The status command should print out the local time, list the correct timezone and note the clock is synchronised and note the NTP service is active.
If the timezone is incorrect, you click the system clock in the taskbar, select "Time and Date Settings" and then you can edit the timezone.
--
Kind Regards, DiffieHellman