NTP server¶
The university time server. Synchronise your clock against a source inside the TUKE network instead of public servers abroad. Available from the internet as well.
-
Stratum 1
The server is synchronised directly from GPS, not via another NTP server.
-
Low latency
Round-trip time inside the university network is a few milliseconds.
-
Publicly available
Works from the university network and from the internet, no registration.
-
Servers and workstations
Suitable for virtual servers, workstations and network equipment.
Server parameters¶
| Parameter | Value |
|---|---|
| Address | ntp.tuke.sk |
| IP address | 147.232.3.100 |
| Port | 123/UDP |
| Stratum | 1 |
| Reference clock | GPS |
| Protocol versions | NTPv3 and NTPv4 |
| Server precision | approximately 4 µs |
| IPv6 | Not available |
| NTS | Not available |
| Availability | Public, from the TUKE network and the internet |
What stratum 1 means
Stratum indicates the distance from the reference clock. Stratum 1 is a server attached directly to a time source, here GPS. Common public pool servers are stratum 2 or 3, that is one or two steps further away.
Why use the university server¶
- A shorter path
-
Traffic does not travel abroad. A shorter, more stable route means more accurate synchronisation.
- A known source
-
You know who runs the server and where the time comes from.
- Works without internet
-
Devices inside the university network can synchronise even when they have no outside access. It works from home just as well, the server is public.
Configuration on Ubuntu¶
Ubuntu ships with systemd-timesyncd by default. If you need more accurate synchronisation or several sources, use chrony.
Edit the configuration¶
Set:
Restart timesyncd¶
Check the timesyncd status¶
The output should show Server: 147.232.3.100 (ntp.tuke.sk) and a non-zero
Offset.
Install chrony¶
Set the time source¶
Comment out the pool lines and add:
What those options do
iburst speeds up the first synchronisation after start.
makestep 1.0 3 allows a step correction during the first three
measurements if the offset exceeds one second.
Restart chrony¶
Check the chrony status¶
In chronyc sources the server should carry an asterisk ^*, meaning the
clock is being steered by it.
Configuration on Windows¶
In a command prompt started as administrator:
w32tm /config /manualpeerlist:"ntp.tuke.sk,0x8" /syncfromflags:manual /update
net stop w32time && net start w32time
w32tm /resync
Verification:
Domain-joined machines
A workstation joined to a domain takes its time from the domain controller and a manual setting is overwritten. Make the change on the controller instead.
Verifying synchronisation¶
A quick check that the system synchronises time at all:
Look for:
| Line | Expected value |
|---|---|
System clock synchronized |
yes |
NTP service |
active |
Details about the source and offset:
Troubleshooting¶
System clock synchronized: no
The service is not running or has no time source.
Only one of them can run at a time. When you install chrony, Ubuntu
disables systemd-timesyncd automatically.
Server unreachable or no reply
NTP uses UDP port 123. Check the firewall:
Outbound UDP 123 is often blocked in containers and on some networks.
Time does not synchronise in a virtual machine
Virtual machines often take their time from the hypervisor. On VMware this is handled by VMware Tools, so an NTP client usually is not needed at all. If you configure one anyway, the two sources may conflict.
A large offset is not corrected
By default the clock is slewed gradually. Force a step correction with
chrony's makestep, or manually:
Frequently asked questions¶
Do I have to request access?
No. The server is publicly available, works from the university network and from the internet, and requires no registration.
Does the server support IPv6 or NTS?
No. IPv4 and plain unencrypted NTP are available. We verified that the domain has no AAAA record and that port 4460 for NTS is closed.
Should I add a fallback server?
On workstations it is sensible to keep the public pool as FallbackNTP.
On servers inside the university network ntp.tuke.sk alone is usually
enough.
How accurate is the server?
It reports a precision of roughly 4 µs and a root dispersion below 0.2 ms. The practical accuracy of your own machine will be an order of magnitude worse, limited by network latency.