Translated using DeepL

Machine-translated page for increased accessibility for English questioners.

Precise time on the FI network

The servertime.fi.muni.cz can be used to synchronise the precise time on computers. The server provides the precise time via the NTP (or SNTP) protocol from anywhere on the Internet and via the time protocol (RFC 868) within the FI network.

This server is part of the NTP Pool Project’s distributed network of NTP servers; see also the monitoring graphs for IPv4 and for IPv6.

Modern systems usually have time synchronisation handled automatically and also synchronise with multiple time servers, so it is typically not necessary to configure your machine according to the instructions here.

You can also read about our practical experience with running NTP in the article ‘Precise Time and Network Transparency’ on our blog.

Time synchronisation on Unix

For accurate synchronisation, you need to have an NTP daemon running on your computer. In many distributions, a very simple one is included as part of the default installation: systemd-timesyncd/etc/systemd/timesyncd.conf. If you have this and wish to use the faculty’s precise time server, simply set the line `NTP=time.fi.muni.cz ` in the `[Time] ` configuration file under the ` ` section and restart the daemon using `systemctl restart systemd-timesyncd`. Verify the settings via `timedatectl timesync-status`: on the first line, you should see the name of the server you have just configured.

You can also install the classic NTP daemon (typically the package ntp, not openntpd). In the configuration file/etc/ntp.conf or/etc/ntpsec/ntp.conf you can then configure the faculty NTP server by adding the lineserver time.fi.muni.cz iburst and commenting out the lines containing thepool directives. It is also necessary to amend any existing configuration intos:minclock must be1 andminsane must either be omitted or also set to1; for example,tos minclock 1 minsane 1. Then restart the service: systemctl restart ntpd.

An alternative is chrony (chronyd). If you did not configure thetime.fi.muni.cz server during installation, you can do so by commenting out the line containing thepool directive in the/etc/chrony.conf file and adding the lineserver time.fi.muni.cz iburst. Then restart the service: systemctl restart chronyd.

Time synchronisation on Windows

In Windows, you can use the command

w32tm /config /manualpeerlist:time.fi.muni.cz /syncfromflags:manual /update

which must be run in a command prompt with administrator privileges. For the command to succeed, the Windows Time service must be running. You can start it from the command prompt using the command `net start w32time`; you can set it to start automatically at boot using the command `sc config w32time start=auto`.

You can check the settings using

w32tm /query /configuration

Possible issues

See https://support.microsoft.com/en-us/kb/2385818.