Linux NTP client setup

Time source

University timeservers:

Using systemd timesyncd

Check status of the daemon:

systemctl status systemd-timesyncd

Edit /etc/systemd/timesyncd.conf NTP line as:

Restart daemon

systemctl restart systemd-timesyncd

Can check as before, or get more detailed info with

timedatectl status

Using NTP client (old way)

Install ntp package

aptitude install ntp

stop ntp

/etc/init.d/ntp stop

edit /etc/ntp.conf and comment out the references to the debian pool servers. Add reference to local servers such as

server iburst
server iburst
server iburst

Start ntp

/etc/init.d/ntp start

After a while check using ntpq -p

/export0/wikidata/pages/it/linux_time_sync.txt · Last modified: 2019/06/19 16:27 by jamie.scott
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki