How to Build a NTP Server
- Date: 2007-05-02 - Word Count: 509
Share This!
NTP, or Network Time Protocol, is a standard Internet protocol used to distribute accurate time to client computers. NTP is freely downloadable from the NTP website. With the addition of an accurate reference clock, you can build your own highly accurate stratum one NTP Server.
This article describes how to build and configure your very own stratum one NTP Server. By adding a low-cost GPS or radio time reference to your Linux machine, you can have your very own highly accurate time reference. Your NTP server can be used to synchronize all the machines on your network to the precise time.
NTP is available as source code for compilation and configuration on a Linux machine. The source code freely downloadable from the NTP.org website. Many Linux distributions, such as Redhat and Debian have a pre-installed version of NTP. Other distributions may include it as an installable RPM.
In order to build a stratum one NTP server, you need an accurate external timing reference. Many timing references are available, most utilise GPS or national time and frequency radio sources such as WWVB, DCF77 and MSF. The Global Positioning System (GPS) is a great timing reference, since it is available worldwide and the equipment required for receiving time and positioning information is very low-cost.
Most GPS receivers have a RS232 serial port that can be easily interfaced to a PC. The receiver generally provides continuous time and positioning information in a standard format known as NMEA. An NTP server can utilise the timing information provided by a NMEA receiver as an accurate timing reference. Additionally, some receivers also provide a highly accurate pulse output that can be utilised by a NTP server as a highly precise epoch. Any timing pulse generated by a GPS receiver may need to be converted into a usable RS232 signal level. This can be achieved by feeding the pulse into a RS232 driver chip.
Many radio based reference clocks are available that utilise national time and frequency standards. WWVB is a US radio time and frequency transmission, DCF77 is transmitted from Germany, MSF is available throughout the UK. The advantage of a radio signal as a reference clock for your NTP server is that you can usually pick up a good signal indoors, close to the NTP server. In contrast, GPS requires an antenna with a good view of the sky.
Once you have your NTP server external reference clock set-up and installed, you need to configure the clock in the NTP configuration file 'ntp.conf'. This usually involves finding and specifying the reference clock code for your timing reference. Once configured, your NTP server will act as an accurate source of time for your network time clients.
Most modern computers operating systems can utilise NTP to synchronize time. Linux and Unix machines can utilise the NTP distribution itself. Modern Windows operating systems such as XP and 2003 have pre-installed SNTP clients that can point to the IP address or DNS name of a NTP server for synchronisation. Many network devices such as routers and switches can also utilise your NTP server for synchronization.
This article describes how to build and configure your very own stratum one NTP Server. By adding a low-cost GPS or radio time reference to your Linux machine, you can have your very own highly accurate time reference. Your NTP server can be used to synchronize all the machines on your network to the precise time.
NTP is available as source code for compilation and configuration on a Linux machine. The source code freely downloadable from the NTP.org website. Many Linux distributions, such as Redhat and Debian have a pre-installed version of NTP. Other distributions may include it as an installable RPM.
In order to build a stratum one NTP server, you need an accurate external timing reference. Many timing references are available, most utilise GPS or national time and frequency radio sources such as WWVB, DCF77 and MSF. The Global Positioning System (GPS) is a great timing reference, since it is available worldwide and the equipment required for receiving time and positioning information is very low-cost.
Most GPS receivers have a RS232 serial port that can be easily interfaced to a PC. The receiver generally provides continuous time and positioning information in a standard format known as NMEA. An NTP server can utilise the timing information provided by a NMEA receiver as an accurate timing reference. Additionally, some receivers also provide a highly accurate pulse output that can be utilised by a NTP server as a highly precise epoch. Any timing pulse generated by a GPS receiver may need to be converted into a usable RS232 signal level. This can be achieved by feeding the pulse into a RS232 driver chip.
Many radio based reference clocks are available that utilise national time and frequency standards. WWVB is a US radio time and frequency transmission, DCF77 is transmitted from Germany, MSF is available throughout the UK. The advantage of a radio signal as a reference clock for your NTP server is that you can usually pick up a good signal indoors, close to the NTP server. In contrast, GPS requires an antenna with a good view of the sky.
Once you have your NTP server external reference clock set-up and installed, you need to configure the clock in the NTP configuration file 'ntp.conf'. This usually involves finding and specifying the reference clock code for your timing reference. Once configured, your NTP server will act as an accurate source of time for your network time clients.
Most modern computers operating systems can utilise NTP to synchronize time. Linux and Unix machines can utilise the NTP distribution itself. Modern Windows operating systems such as XP and 2003 have pre-installed SNTP clients that can point to the IP address or DNS name of a NTP server for synchronisation. Many network devices such as routers and switches can also utilise your NTP server for synchronization.
Related Tags: ntp server, time server, gps ntp server, digital wall clock, atomic clock, time synchronisation, gps clock, gps time, time synchronization, digital clock, gps time server
Dave Evans is a technical author with a background in NTP Server solutions and telecommunications. Dave provides a technical authoring service to NTP reference clock and NTP server manufacturers. Dave has also provided a configuration, installation and repair service for computer timing systems. Click here to find out more about ntp server systems. Your Article Search Directory : Find in Articles
Recent articles in this category:
- Exposing the Big Lie: Making Money Online is not Easy
I can't decide who irritates me more these days, people who sell products about making money online - How to Find Profitable Home Business Ideas
Have you considered starting a home based business and working for yourself? If so, it is important - Internet, Seo Tips For Top Ranking in Search Engines
Any SEO firm will tell you that keyword research and identification is a major factor in their o - Writing Ebooks for a Living Can Allow You to Avoid the Commute and Work From Home!
Working from home is a dream goal for many people around the globe today. This type of work means s - Selling Coupons in Your Ebay Store
Coupons are something that many stay at home moms are familiar with; they help us save money, stret - Texas Web Designers Say Social Bookmarking is In
Social bookmarking provides Internet users the ability to organize, store, search, and manage book - Do You Have What it Takes to be a Serious Entrepreneur?
When you think about your online adventures, would you call yourself a serious entrepreneur?I'm sur - How to Write a Press Release and Publish it Successfully
To stand any chance of succeeding with an online business, you are going to have to drive targeted - Internet, How To Get Correct Search Engine Optimization Company?
If you use the correct search engine optimization strategy, and use SEO to your advantage, you c - Learn About Pay Per Click Advertising
Building and marketing a profitable website requires skills from design to sales - and few people c
Most viewed articles in this category:
- The Revolutionized Ebay Etailsolution Software
With the help of eBay, the auction business has received a new meaning. With the help of the many eB - Internet Millions - by Ryan Orrell - Honest Review
REVIEW: "Internet Millions", by Ryan Orrell, is a refreshing new kind of internet marketing e-bo - A Google Adsense Addiction
54% of all Google Adsense publishers admit addiction to click income. A recent online study conducte - Lead Generation for Top Residual Income
At the heart of any good residual income business is a person who knows how to generate leads. Lead - Repeat Business Equals a Residual Income Stream
Residual income comes from other people reacting to a single action by the business owner. What bet - Make Money With Information Ebook Products: The Other End
I don't like thinking of myself as the kind of person that has made it rich on the internet, but in - The NFL & United Way
There are many ways that NFL players help with the United Way. First of all, they donate a lot of th - Seo - Making Money Writing Seo Reviews
If you are a reviewer or critic you are likely to find work writing reviews of products and services - Understanding Perfume Types
Understanding the various varieties of perfume can help to cut through the difficulty in selecting a - Ecommerce Basics: Three Things To Avoid
When you decide to put your ecommerce website together there are a few mistakes that are easy to mak

