Remember Me
forgot your password?

Configuring a Linux Based Ntp Time Server

Computer time synchronisation is highly important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Just imagine buying an airline seat only to be told at the airport that the ticket was sold twice because it was purchased afterwards on a computer that had a slower clock!

Modern computers do have internal clocks called Real Time Clock chips (RTC) that provide time and date information. These chips are battery backed so that even during power outages, they can maintain time but personal computers are not designed to be perfect clocks. Their design has been optimized for mass production and low-cost rather than maintaining accurate time.

For many applications, this is can be quite adequate, although, quite often machines need time to be synchronised with other PC's on a network and when computers are out of sync with each other problems can arise such as sharing network files or in some environments even fraud!

Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information along so that a precise time can be obtained. As NTP was originally written for LINUX many LINUX based operating systems already have a version of NTP installed. However the source code is free to download from the NTP website (ntp.org) the most recent version being v 4.2.4.

NTP (version 4) can maintain time over the public Internet to within 10 milliseconds (1/100th of a second) and can perform even better over LANs with accuracies of 200 microseconds (1/5000th of a second) under ideal conditions.

NTP works within the TCP/IP suite and relies on UDP, a less complex form of NTP exists called Simple Network Time Protocol (SNTP) that does not require the storing of information about previous communications, needed by NTP. It is used in some devices and applications where high accuracy timing is not as important.

The NTP background program is configured with the file 'ntp.conf'. this may contain a list of public NTP server references that can be used to synchronise time. NTP time servers are specified using the 'server' command, any characters after the '#' symbol are comments:

Example
server time-a.nist.gov # Public NTP server: Maryland
When configured, NTP can be controlled using the commands 'ntpd start’ ‘ntpd stop’ ‘ ntpq –p’ (displays status)

NTP can also authenticate timing resources Note: It is strongly recommends that you configure a time server with a hardware source rather than from the internet where there is no authentication. Authentication codes are specified in the 'ntp.keys' file.

Specialist NTP servers are available that can receive transmissions from either GPS or national time reference broadcasts. They are relatively cheap and the signal is authenticated providing a secure time reference.

Authentication for NTP has been developed to prevent malicious tampering with system synchronisation just as firewalls have been developed to protect networks from attack but as with any system of security it only works if it is utilised.

Richard n Williams

Copyright 2008 © Richard N Williams

Richard N Williams is a technical author and a specialist in the telecommunications and network time synchronisation industry helping to develop dedicated time server products; ethernet clocks, GPS time servers, NTP servers, digital wall clocks, atomic clock servers and SNTP time servers. Please visit for more information about NTP products and NTP servers

Rate this Article: 5 / 5 stars - 1 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Computers Articles
  • More from Richard n Williams

What to Look For When Buying a DVD Player

By: Vincent Norman | 30/12/2009
DVD players are being phased out slowly, but that doesn't mean a few people don't still get plenty of enjoyment from them. Luckily, as a result of Blu Ray alternatives, they are coming down in price, so you won't have to spend an arm and a leg for them anymore....

What is the Best TV to Buy?

By: Vincent Norman | 30/12/2009
It sits in the corner of your living room, it talks to you, it comforts you, and sometimes it curses at you. We're talking of course, about your television. It is the centre of most homes, whereas in previous years that role was taken by the radio. The television was...

The Smallest Verizon and Audiovox Cell Phones

By: Paul Wise | 30/12/2009
A description of some of the smallest cell phones on the market today.

PSP Go Download Center a Scam? - PSP Go Download Center Review

By: Sarah Brown | 30/12/2009
PSP Go Download Center contains over 200,000 Downloads making it the Biggest Database for the PSP and PSP GO! PSP Go Download Center is complete database where you can find the newest and your favorite Games, Movies, Music, Software and much more totally for free! You can join now and get all the benefits from PSP Go Download Center and start enjoying your PSP Go & PSP as never before!

Free Music Production Software Effective in Music Production?

By: Thomas K | 30/12/2009
The availability of free music production software has impacted music production both positively and negatively. It has impacted positively on the side of the artists and more negatively on the professional music producers. It has also affected the designers of the software both negatively and positively. There are many modern music...

How To Download PSP and PSP Go games and Get Over 200,000 Free PSP and PSP GO Downloads

By: Sarah Brown | 30/12/2009
Sony Company is one of the greatest gaming companies the world has ever seen with many popular gaming devices available from the Sony PSP to the To the PlayStation 3 This Company really knows its stuff about gaming. PSP is Sony's best gaming device and when they release the Sony PSP and it was extremely popular so they brought out the new version the Sony PSP go.

Slim Down Solution: EODD

By: Christian Walker | 29/12/2009
Slim Down Solutions have to fit your lifestyle or they will fail you. Read about a fine slim down solution for those who love to eat. Make weight loss stink less!

Is the HTC Hero Worth It?

By: Sam Lee | 29/12/2009
The iPhone had bred a number of copycats and created a trend in touch screen smartphones in today's cell phone industry. If you are looking for a mobile phone that works like an iPhone but something not overrated, the HTC Hero might just be the phone for you.

The Fascinating World of Ladders

By: Richard n Williams | 23/12/2009 | Home Improvement
There is more to the humble ladder than you may think. Most households have them, under all that junk in the garage, or propped up in a cupboard, and yet little thought goes into what are quite fascinating tools.

The Funny side of Ladders

By: Richard n Williams | 23/12/2009 | Home Improvement
When the word ladder is ever uttered. Our minds always turn to think that aluminium ladder in the garage or the step ladders under the stairs. But the word ladder has had many uses over the years and not ladders can be climbed.

Choosing the Right Ladder for the Job

By: Richard n Williams | 23/12/2009 | Tools & Equipment
There are a vast array of different types of ladders on the market and it can be often confusing when it comes to buying a ladder to find the exact one that suits your requirements. Despite the myriad of names and terms given to some ladders, they pretty much fall into three categories:

How to Start Recycling

By: Richard n Williams | 23/12/2009 | Home & Family
It is estimated that four out of ten households are still not recycling their waste and the most common reason given is that people say they find recycling confusing.

Saving Money in the Winter Months – Money Saving Tips for Home and Office

By: Richard n Williams | 23/12/2009 | Home & Family
The winter brings with it more than just the cold and dark nights. Quite often winter is a time of high bills and large running costs especially if you have a home to run and a business. And with many of us now working at home and trying to run an office in the house, th e extra costs can be crippling this time of year.

Recycle your Christmas Tree

By: Richard n Williams | 23/12/2009 | Gardening
Christmas is a busy time, not just with all that eating, drinking and being merry. At Christmas time there is a huge deluge of recycling to be done; all that wrapping paper, empty boxes and left over turkey – not to mention the Christmas Tree.

Choosing an Eco Christmas gift

By: Richard n Williams | 17/12/2009 | Home & Family
We all know that Christmas is a time for giving but attempting to get that perfect gift for every member of the familiy can not only be difficult at the best of times but trying to buy an eco friendly Christmas gift can make it nearly impossible.

Stand-by Savers and Energy Monitors

By: Richard n Williams | 17/12/2009 | Home & Family
One of the biggest struggle throughout the cold winter months is trying to keep those large heating and lighting bills down. This time of year is an expensive one; with Christmas around the corner the last thing most of us need is huge heating bills landing on the mat in the New Year.

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.18, 6, w2)