Remember Me
forgot your password?

Configuring a Simple Ntp Time Server

NTP, or Network Time Protocol, is a standard protocol for synchronising time on computers and network equipment. NTP allows client computers to synchronise with a reference NTP server over a computer network. The protocol was originally developed for the Linux operating system. The standard NTP distribution is a freely downloadable application supplied under the GNU public licence. This article attempts to simplify the installation and configuration of the Linux NTP server application. It describes a simple NTP installation and goes through step-by-step the configuration procedure required to provide a NTP server on a Linux machine.

The NTP software distribution can be freely download from the NTP website, ntp.org. As well as containing the NTP daemon for Linux, the distribution also contains a number of utilities and configuration scripts. These utilities and scripts aid the installation process and provide debugging facilities to trace installation problems. A number of Linux installations pre-install the NTP package, others offer it as a pre-compiled RPM package.

The NTP daemon is configured using a configuration file 'ntp.conf'. A list of commands can be specified in the configuration file to indicate which servers the daemon is to synchronise to and also to specify various authentication and access control options.

The NTP daemon synchronises to an external NTP server. Often, Internet based NTP time servers are used as reference clocks. External NTP servers are specified using the 'server' command along with the IP address or domain name of the server. Multiple external time servers can be specified in the configuration file, which allows NTP to select the most appropriate server.

The NTP daemon is controlled by a series of scripts, which are used to start ('ntpd start'), stop ('ntp stop') or restart ('ntpd restart') the daemon. The NTP daemon can be queried and debugged using the 'ntpq' utility. This is a very useful utility for debugging NTP server installations. It provides information relating to the synchronisation status of the NTP daemon.

There are a number of security commands that can be specified in the configuration file to control access to the time server and also to provide authentication. It is very straight-forward to restrict access of the time server to a limited number of computers. This is achieved using the 'restrict' command, which is used in conjunction with the IP address or computer name of the computer to be allowed access. Multiple 'restrict' commands can be specified to restrict access to a range of computers. Authentication allows a matching set of keywords to be used on a server and client to authenticate the server. Shared keywords are specified in a 'ntp.keys' file on both the server and client computers. The keyword that are trusted and to be used for authentication purposes are then specified in the NTP daemon configuration file 'ntp.conf'.

To summarise, the NTP distribution is easy and free to obtain and easy to install, configure and debug. There is no reason why anyone with a little computer know-how cannot set up a local NTP time server for network time synchronisation.

David Evans

Dave Evans is a technical author in the field of computer network timing. For more information about timing and NTP servers.

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

Add new Comment



Captcha

  • Latest Computers Articles
  • More from David Evans

The Google Power Meter: Letting You See What You Really Need to See

By: Ezra Drissman | 30/11/2009
From the ninety-eight year old refrigerator (give or take a decade) to the four computers that are currently running without a user in front of them, to the television that is one for the apparent amusement of the golden retriever, you know that a lot of electricity is not only being used, but being wasted as well.

Interactive flash map made easy for everyone -- including non programmers

By: Ko Fai Godfrey Ko | 30/11/2009
Clickable, interactive flash maps have become an integral part of many websites for companies who want to display location and geographic-related information to their visitors. Map making is easy now and users can choose from a range of web services or software available in the market.

Mobile Surveillance

By: Wes Fernley | 30/11/2009
Today, everyone is on the go, and much of people's lives are conducted via the cell phone. Security has now joined this technology sending feed via IP network, allowing cameras to send feed directly to a 3G or smartphone. No matter how complex the technology is, it can be broken down and viewed via phone.

Computer Memory Upgrades: Do More In Less Time

By: Dave Talbot | 30/11/2009
Many computer users still suffer from slow computers even if they have up to date systems. This article explores the benefits of computer memory ugrades and how they help.

Microsoft has a long way to go with its Windows 7 BitLocker Security

By: Richard Wilson | 30/11/2009
Security of data within the computer has become a critical concern for organizations over the period of time. The need grows as the necessity to share resources through networking and internet increases.

Surf Anonymously with IP Changer Software

By: Andrew Virender | 30/11/2009
IP changer Software programs are sometimes taken for granted by the people who do not exactly understand what it does. What people do not know is that it allows you to surf the Internet anonymously, without any traces for hackers and other phishers to access your personal information.

Microsoft and Firefox engineering a Chrome web OS rival?‏

By: pirumandal | 30/11/2009
Various analysts suggest that the new Google Chrome OS will start a race to develop browser based operating systems like Internet Explorer OS, Firefox OS or even Opera OS.

Using IP Cameras for Airport Surveillance

By: Wes Fernley | 30/11/2009
Since the events of 9/11, the nature of airport security has become extremely important. Travellers and staff have grown increasingly worried about the threat of terrorism and crime when they travel, and so it's the responsibility of airports to take advantage of all technology available to ensure there is a safe environment in which individuals feel protected.

How To Sync A Network Using NTP

By: David Evans | 29/09/2009 | Computers
This article describes how easy it is to synchronise servers, workstations and network infrastructure to a precise time reference.

Using GPS For NTP Server Time Synchronisation

By: David Evans | 16/04/2009 | Computers
This article attempts to describe simply, how network time servers can obtain accurate timing information to provide a precise reference for computer time synchronisation. It also discusses how NTP servers can utilise the atomic time generated by GPS to provide a timing reference for computer networks

How To Synchronise a Network

By: David Evans | 03/04/2009 | Computers
Computers are notorious for providing inaccurate time and can drift by several minutes each day. This has serious consequences for networked computer systems and applications. Each computer can have wildly differing system times, which can be totally unacceptable for transaction processing applications.

Configuring a Simple Ntp Time Server

By: David Evans | 03/01/2009 | Computers
This article attempts to simplify the installation and configuration of the Linux NTP server application. It describes a simple NTP installation and goes through step-by-step the configuration procedure required to provide a NTP server on a Linux machine.

Lf Radio Ntp Servers: How to Decode the Dcf-77 Time Broadcast

By: David Evans | 23/11/2008 | Computers
This article describes how the DCF-77 signal can be decoded to provide an accurate time reference for NTP servers and other computer timing applications.

Ntp Server Reference Clocks: What's Best Radio or GPS ?

By: David Evans | 24/09/2008 | Computers
This article describes the external time references that are available to synchronise NTP servers and discusses the merits of each.

Use a Ntp Server to Keep Precise Network Time

By: David Evans | 18/07/2008 | Computers
It is quite simple to synchronise every device on your network to an accurate time reference - a NTP time server.

Keeping Accurate Time on Your Computer Using Ntp Servers

By: David Evans | 21/05/2008 | Computers
This article discusses ways in which you can maintain continuously accurate system time on your computer system. It looks at how Internet time references and NTP servers can be utilised for computer time synchronisation.

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.05, 1, w1)