Post #4418494
2026-08-06 13:28 UTC
I noticed that signing in to Mastodon using 2FA didn't reliably work. Turns out my system clock was ~30 seconds behind that of the actual time (currently GMT +1 for me).
On Linux distributions that have systemd, systemd apparently synchronises your system time with a time server automatically. However, I use Devuan (i.e. Debian but without systemd) so I had to do it manually.
I used `htpdate` to set the time to a UK time server on pool.ntp.org like this:
```
sudo htpdate uk.pool.ntp.org
```
No need to reboot.
It's now accurate to GMT+1 to within about half a second. :)
Hashtags:
#Devuan #time #system #Linux #2FA #systemd #Debian
Replies (0)
No replies.