IT Hardwares

eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
Business & Money
Technology
Women
Health
Education
Family
Travel
Cars
Entertainment
Featured Sites
SD Editorials
Online Guide and article directory site.
Foodeditorials.com
Over 15,000 recipes & editorials on food.
Lyricadvisor.com
Get 100,000 Lyric & Albums.
  • Business & Money
    • A Guide to Business
    • Guide to Finance
    • Ideas for Marketing
    • Legal Guide
    • Guide to Insurance
    • Lettre De Motivation
    • Guide to the Stock Market
    • Human Resource Career
    • Sales Marketing
    • Forex & Trading
    • Advertising & Marketing
    • Startup Guide
  • Technology
    • Guide to Technology
    • Cell Phones
    • Computer Software
    • IT Hardwares
    • Internet
    • Online Security
    • Cameras
    • Search Engine Optimization
    • Science & Technology
  • Women
    • Guide to Women
    • Relationship Advice
    • Marriage
    • Jewelry
    • Pregnancy
    • Fashion Style
    • Divorce Guide
    • Wedding Guide
    • Dating Guide
    • Natural Beauty
  • Health
    • Guide to Health
    • Guide to Medical
    • Plastic Surgery
    • Weight Loss
    • Sports
    • Body Wellness
    • Cancer Treatment
    • Common Illness
    • Health & Lifestyle
  • Education
    • Military Service
    • Politics and Policy
    • Arts & Humanities
    • Education and Teaching
    • Learn Languages
    • Colleges & Universities
  • Family
    • Quality Home Improvement
    • Hobbies and Interests
    • Family Guide to
    • Pet Guide
    • Loans Guide
    • Credit Cards
    • Gardening Guide
    • Home Security
    • Real Estate
    • Home Decor
    • Gift & Present
  • Travel
    • The Travel Guide
    • Adventure Travel
    • Cruise Ships
    • Beach Holiday
    • Travel Accommodation
    • Holiday Destinations
  • Cars
    • Information on Cars
    • Traffic Violations
    • Auto Insurance
    • Trailers
    • Sport Cars
    • The Bikes
  • Entertainment
    • Entertainment Guide
    • World Music
    • Photo & Video
    • Television & Games

Your Own Linux Server

    View: 
This article describes how to configure the Network Time Protocol (NTP) daemon on your Linux server to synchronise with an Internet based NTP server. It also provides a list of well-know public Internet time references.



Obtaining the NTP Source Code Distribution

The Linux NTP source code distribution is publicly available ?open source' software. The distribution can be freely downloaded from the NTP web site ?ntp.org'. The latest NTP version for Linux is 2.4.2. A port is also available for Windows platforms, but the primary development platform for NTP is the Linux operating system. A number of Linux based operating systems such as Mandrake and Redhat offer NTP as an installable RPM package.

Once download is complete, the NTP distribution should be configured and compiled on the host computer.

Configuration of the NTP Daemon

The NTP daemon is configured through entries in the primary NTP configuration file ?ntp.conf'. The NTP configuration file contains a list of commands that instruct the daemon to synchronise with a specified NTP server. NTP servers are specified using the ?server' command followed by the domain name of the server thus:

server ntp2c.mcc.ac.uk

server ntp.cis.strath.ac.uk

A number of access control options are also available to restrict the use of your NTP server by network time clients. To only allow machines on your own network to synchronize with the server use:

restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

Alternatively, you can restrict all access to your NTP server with the following command:

restrict default ignore

Multiple directives can be specified to restrict access to a specified range of computers.

Using NTP Authentication

NTP authentication is used by time clients to authenticate the time server to prevent rogue server intervention. NTP authentication is based on encrypted keys. A key is encrypted and sent to the client by the server, where it is unencrypted and checked against the client key to ensure a match.

NTP keys are stored in the ?ntp.keys' file in the following format:

Key-number M Key (The M stands for MD5 encryption), e.g.:

1 M secret

5 M RaBBit

7 M TiMeLy

10 M MYKEY

The NTP configuration file ?ntp.conf' specifies which of the keys are trusted. Any keys specified in the keys file but not trusted will not be used for authentication, e.g.:

trustedkey 1 7 10

NTP Client Authentication Configuration

The NTP client also needs to be configured with similar authentication information as the server. The client may use a subset of the keys specified on the server. A different subset of keys can also be used on different clients, e.g.:

Client A) Client B)

1 M secret 1 M secret

7 M TiMeLy 5 M RaBBit

trustedkey 1 7 trustedkey 1

Controlling the NTP Server Daemon

Once configured, the NTP daemon can be controlled using the commands: ?ntpd start'; ?ntpd stop' and ?ntpd restart'.

Querying the NTP Server Daemon

The NTP server daemon can be queried using the ?ntpq ?p' command. The ntpq command queries the NTP server for synchronisation status and provides a list of servers with synchronisation information for each server.

Public Internet NTP Servers

Public NTP servers provide subscription free, highly accurate, timing references for computer time synchronisation. Below is a list of popular public NTP time servers.

Stratum 1 Public NTP Servers

chronos.csr.net - 194.35.252.7 - Computing Systems Research Ltd. United Kingdom - NTP V4 primary (Odetics GPS), Sun/Sparc Solaris 2.6

ntp.my-inbox.co.uk - 81.168.77.149 - Falmouth, Cornwall, UK - NTP V4.2.0 primary (MSF Radio Clock Receiver), Trustix Linux

Stratum 2 Public NTP Servers

ntp2.sandvika.net - 194.164.127.6 - Telehouse Europe, London E14 - NTP V4 secondary Sun UltraSPARC Solaris 8

ntp2d.mcc.ac.uk - 130.88.203.12 - University of Manchester, Manchester, England - NTP secondary (S2), SGI/Irix

ntp2c.mcc.ac.uk - 130.88.200.4 - University of Manchester, Manchester, England - NTP secondary (S2), PC/FreeBSD

ntp.exnet.com - 194.207.34.9 - ExNet Ltd, London, UK - NTP secondary (stratum 2), Sun-4/Unix

audaxsystems.co.uk - 193.201.200.83 - Interhouse London E14 - NTP V4, SuSE 9.0 (Stratum 1)

ntp1.sandvika.net - 194.164.127.5 - Telehouse Europe, London E14 - NTP V4 secondary Sun UltraSPARC Solaris 8

ntp.cis.strath.ac.uk - University of Strathclyde, Glasgow, Scotland - NTP V4 secondary

ntp0.sandvika.net - 194.164.127.4 - Telehouse Europe, London E14 - NTP V4 secondary Sun UltraSPARC Solaris 8
More Articles from
Personal Income Tax Rate
Choosing an Outsourcing Partner? Think of Marriage.
Avoid A Data Disaster On The Road: 5 Tips
Using Dynamips for CCIE Lab Preparation
FAQs while Choosing a Printer
If You Want Flexibility And Portability Consider A Laptop
Make Your Laptop More Comfortable To Use With Accessories Like These
One Of Many Broadband Options
How to Create Better Excel Spreadsheets: Part One
How to Stack the Odds in Your Favour for Getting a Job, Promotion, or Raise
DVD Duplication - Getting your Facts Right
How Reorganizing Your Data Can Take Your Business to the Next Level
How to Create Better Excel Spreadsheets: Part Four
All In One Printers Are Affordable
Backup -- But Where To?
Does Your PC Have Worms?
Writers and Ergonomics
Is Spyware Slowing Your Computer Down To A Crawl?
Yahoo and its involvement with Spyware
How To Thwart The Barbarian Spyware
6 Ways to Duck Darts in the Internet Jungle!
» More on
Choose Desktop
  • Related Articles
  • Author
  • Most Popular
•Build Your Own Home Server, by John Mowatt
•Creating Your Own Server, by Jeff08 Moore08
•Host Your Own Server, by John Ugoshowa
•Hosting Your Own Server, by Alex Robert
•Make Your Own Web Server, by Eric Matthews
David Evans has sinced written about articles on various topics from Computers and The Internet, Personal Desktop and Computers and The Internet. David Evans is a technical author that specialises in Linux NTP Server synchronisation systems. Click here to find out more about Linux N. David Evans's top article generates over 18100 views. Bookmark David Evans to your Favourites.
Checking Email From Home
Getting down to business is what will make you a success, so control those emails and take back control of your time. Its worth it
 
A Guide to Business | Guide to Technology | Guide to Women | Guide to Health | Family Guide to | Travel & Vacations | Information on Cars

EditorialToday IT Hardwares has 2 sub sections. Such as Computer Guide and Hardware. With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors