Wednesday, April 19, 2017

Date and Time - ntpdate Replacement

The ntpdate utility is deprecated (though still available via apt get install in Debian Jessie). To sync local clock without ntpdate:

sudo systemctl stop ntp
sudo ntpd -gq
sudo systemctl start ntp

The list of time servers to use is usually in /etc/ntp.conf (for the Beaglebone Jessie console image and Ubuntu server 16.04.2 LTS).

- - - - -

UHCM-specific:

NTP using public time servers doesn't work when using the UHM/SOEST network. Add server ntp.soest.hawaii.edu to /etc/ntp.conf to fix this.