Article Search:
Free Articles on GPS and many other topics
Another free GPS article for you

Home | Communications | Gps


Configuring NTP on a LINUX Server - By: David Evans, Posted on: 2007-07-12

NTP (Network Time Protocol) is an application developed to provide the synchronisation of computers and computer network devices. NTP defines algorithms and a protocol structure to accurately synchronise computer time. This article discusses how to install and configure the NTP Server application on a Linux machine to synchronise time with an Internet based public NTP Server.

Internet based NTP time server systems fall into two categories: primary and secondary reference servers. Primary reference servers utilise a highly accurate external timing reference, such as GPS or radio clocks, to provide precise time. Secondart reference servers synchronise their time with primary reference servers and therefore offer slightly reduced accuracy. Primarty reference servers are designated stratum 1, while other servers have a higher stratum, ie 2 or above.

The NTP source code is freely downloadable under the GNU public license from the NTP web site at 'ntp.org'. NTP was originally developed for the LINUX operating system, however, a port to Windows NT is also available. Once the source code has been obtained, it should be installed, compiled and configured on the host computer. This process is automated with the installation and configuration scripts supplied in the distribution. Many Linux based operating systems have the NTP package pre-installed. However, it may be wise to download the most recent version, which is currently 4.2.4.

The NTP daemon is configured via a configuration file 'ntp.conf'. This configuration file may contain a list of public NTP server references that can be used by the host to synchronise time. The 'server' command can be used to specify public NTP time references, characters specified after the # symbol are comments:

server time-a.nist.gov # Public NTP server: NIST, Gaithersburg, Maryland server time-c.timefreq.bldrdoc.gov # Public NTP Server: NIST, Boulder, Colorado

When the configuration file is complete the NTP daemon can be started using the 'ntpd start' script. Other scripts are vailable that can be used to control the daemon: 'ntpd stop', 'ntpd restart'. There is also a query script available that shows the current synchronisation status of the daemon: 'ntpq -p'.

The 'restrict' command can be used to control access premissions to the NTP server. There are a number of permutations or the 'restrict' command; a few examples are listed below.

restrict default ignore #Restrict all access to the time server restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap # Only allow local computers access

Multiple commands can be specified to restrict or disallow access to a range of computers.

NTP provides an additional level of security by utilising authentication codes. This is a mechanism where matching key codes can be specified on a client and server which are encrypted and passed between the server and client. This provides a client with the ability to authenticate the source of a time reference. Authetication keywords are specified in the 'ntp.keys' file. They are specified using a key reference, encryption code and authentication key. Additionally, trusted authentication keys can be specified using the 'trusted key' command is the 'ntpd.conf' configuration file.

Article Source: http://articleowner.com

Dave Evans is a technical author who specialises in Linux and GPS NTP Server synchronisation systems to ensure accurate network time. Please click here to find out more about NTP Servers.

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive GPS Articles Via RSS!
Copyright ©2006Articleowner.com a free article directory to submit articles for fresh web content for websites & article writing submission for internet article ezine email marketing,for top ranking for search engines link building backlinks by rss feeds by self publishing, adsense, make money at home online money making home based business work at home opportunities for online information quality articles directory & stress management, free articles on insurance review, wealth, pixel advertising, web content, traffic, software, money making ideas & articles
Terms of Service | Submission Guidelines | Contact Us | Link to Us| Privacy Policy | About Us
Get PAID to Watch Never Before Seen Movie Trailers
Get a Free psychic reading

Powered by Article Dashboard