linux poison RSS
linux poison Email

How to Synchronize System Clock with NTP Time Server on OpenSuSe Linux

Networked computers share resources such as files. These shared resources often have time-stamps associated with them so it is important that computers communicating over networks, including the Internet, are synchronized. Imagine the confusion that could be created if an email appeared to arrive before being sent, or if an important file, modified in offices in different countries, had a version with a time-stamp indicating it had been created two hours later than its updated version.

The Network Time Protocol (NTP) is an Internet Standard Recommended Protocol for communicating the Coordinated Universal Time (UTC) from special servers called time servers and synchronizing computer clocks on an IP network.

Time Servers, or time source references, communicate with special time keeping equipment such as Global Positioning System (GPS) receivers, atomic clocks, radios, satellite receivers or modems.

The accuracy of each time server is defined by a number called its stratum. Stratum one servers are those at the top level which communicate directly with a time source such as a GPS or an atomic clock. Each level downwards in the hierarchy is classified as one greater than the preceding level (for example, stratum two, stratum three). Current stratum one servers can provide time within a millisecond's accuracy or better.

For a list of available Stratum 1 and 2 servers consult
You can get the list of the NTP server based on your region (country) -

OpenSuSe user can install NTP using "1-click" installer - here

Configuring NTP
The ntp.conf' file is main source of configuration information for a NTP server installation. Amongst other things, it contains a list of reference clocks that the installation is to synchronise. A list of NTP server references is specified with the server' configuration command thus or the same thing can be configure using YAST control center:

Go to Yast → System → Date and Time, click on "Change" button to open up the NTP configuration dialog box.

Provide the name of the appropriate time server located in your region (country) and click on "Accept" save the confguration in your ntp.conf'

Now, start your ntp daemon (/etc/init.d/ntp start) to make sure that your system clock keep getting  synchronized with the specified time server.


Post a Comment

Related Posts with Thumbnails