NTP: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
Created page with "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 ..."
 
Tgurr (talk | contribs)
No edit summary
 
Line 21: Line 21:


hwclock --systohc
hwclock --systohc
enable:
{{Root|timedatectl set-ntp 1}}

Latest revision as of 05:42, 12 November 2013

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