Linux: Synchronizing hardware clock

From FVue
Jump to: navigation, search

Problem

The hardware clock of my PC seems to advance a couple of minutes every day. How can I synchronize the hardware clock on a regular base?

Solution

  1. Activate ntp via {YaST | System | System Services (Runlevel) | Enable ntp: Start network time protocol daemon (NTPD)}
  2. Find the nearest time server at NTPPoolServers - NTP and specify the servers in /etc/ntp.conf, for example when living in the Netherlands:
server 0.nl.pool.ntp.org
server 1.nl.pool.ntp.org
server 2.nl.pool.ntp.org

See also

http://ntp.isc.org/bin/view/Main/WebHome

Journal

20060711

Unofficial SUSEFAQ - Clock adjusting in SuSE Linux micro-howto

{YaST | System Services (Runlevel) | Enable ntp: Start network time protocol daemon (NTPD)}

rm /etc/adjtime

20060712

NTP Quick Start

NTPPoolServers - NTP

Specified the nearest time server – found at NTPPoolServers - NTP – in /etc/ntp.conf:

server 0.nl.pool.ntp.org
server 1.nl.pool.ntp.org
server 2.nl.pool.ntp.org

Comments

blog comments powered by Disqus