NTP

From Q
Revision as of 06:42, 12 November 2013 by Tgurr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

config file:

/etc/ntp.conf server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server 3.pool.ntp.org driftfile /var/lib/ntp/ntp.drift restrict default nomodify nopeer restrict 127.0.0.1

set:

ntpdate 0.pool.ntp.org

check:

timedatectl

sync to hw:

hwclock --systohc

enable:

# timedatectl set-ntp 1