Case Upon
#1 in Business Subscribe Email Print

You are here: Home > Computers and Technology > Hardware > How to Configure a Linux NTP Server

Tags

  • restricted
  • synchronize
  • amongst other
  • synchronisation information
  • ports available

  • Links

  • Just A Little Testa Mint
  • 7 Card Tricks That Improve Your Personal Networking Power
  • America and its Collision Course
  • Case Upon - How to Configure a Linux NTP Server

    SEO and Directories
    If you are a webmaster, then you've probably submitted your website to several directories, you may even run one yourself. There are thousands and thousands of directories out there on the net and they all have their advantages and disadvantages. Good webmasters need to be able to evaluate these differences to assess what directories will be worth the time, effort and money to submit to.TrafficWhile all webmasters would like more traffic, and often hav
    o synchronize with the server use:

    restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

    Multiple restrict directives can be specified in the ntp.conf file to restrict access to a specified range of computers.

    Authentication Options

    Authentication allows a matching passwords to be specified by the NTP server and associated clients. 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

    In the NTP configura

    Are Your Stepping Stones in Line?
    Destiny is not a matter of chance, it is a matter of choice.- William Jennings BrianImagine you're on the edge of a river bank. The river is pretty wide and the water is pretty torrid. You know one thing - you want to get to the other side. There's no bridge, but there are plenty of stones around that look big enough to get you there.You start throwing stones out into the river. Some of them just roll right down the river, but that's OK, you j
    Network Time Protocol (NTP) provides algorithms and defines messages for the synchronisation of time clients to an accurate time reference. This article discusses how to configure a Linux NTP Time Server to synchronise time with an Internet based public NTP Server.

    NTP server systems fall into two categories: primary reference servers and secondary reference servers. Primary reference servers use an external timing reference to provide time, such as GPS or radio clocks. Secondary reference servers synchronise with primary reference NTP servers and offer slightly reduced accuracy. Primary reference servers are designated stratum 1 servers, while secondary servers have a stratum greater than 1.

    The NTP Distribution

    The NTP source code is freely available from the Network Time Protocol web site. The current version available for download is 4.2.4. NTP is available for the Linux operating systems with ports available for Windows NT. Once the source code is downloaded, it should be configured, compiled and installed on the host machine. Many Linux operating systems, such as RedHat, offer NTP RPM packages.

    Configuring NTP

    The ‘ntp.conf' file is main source of configuration information for a NTP server installation. Amongst other things, it contains a list of reference clocks that the installation is to synchronise. A list of NTP server references is specified with the ‘server' configuration command thus:

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

    Controlling the NTP Server Daemon

    Once configured, the NTP daemon can be started, stopped and restarted using the commands: ‘ntpd start'; ‘ntpd stop' and ‘ntpd restart'. 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.

    NTP Access Control

    Access to the NTP server can be restricted using the ‘restrict' directive in the ntp.conf file. You can restrict all access to the NTP server with:

    restrict default ignore

    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

    Multiple restrict directives can be specified in the ntp.conf file to restrict access to a specified range of computers.

    Authentication Options

    Authentication allows a matching passwords to be specified by the NTP server and associated clients. 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

    In the NTP configura

    How A Clickbank Affiliate Became a Clickbank Seller
    Back in September 2006, I knew little or nothing about affiliate marketing of Clickbank products. Sure, I’d bought some products from Clickbank, but even though I’ve been making a fulltime living online for the last 3 years, I only ever saw Clickbank as a place to buy digital products, not as a potential revenue stream. Funny how you can miss the obvious, isn’t it?Anyway, that all changed when Affiliate Project X was launched in early October. This
    er slightly reduced accuracy. Primary reference servers are designated stratum 1 servers, while secondary servers have a stratum greater than 1.

    The NTP Distribution

    The NTP source code is freely available from the Network Time Protocol web site. The current version available for download is 4.2.4. NTP is available for the Linux operating systems with ports available for Windows NT. Once the source code is downloaded, it should be configured, compiled and installed on the host machine. Many Linux operating systems, such as RedHat, offer NTP RPM packages.

    Configuring NTP

    The ‘ntp.conf' file is main source of configuration information for a NTP server installation. Amongst other things, it contains a list of reference clocks that the installation is to synchronise. A list of NTP server references is specified with the ‘server' configuration command thus:

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

    Controlling the NTP Server Daemon

    Once configured, the NTP daemon can be started, stopped and restarted using the commands: ‘ntpd start'; ‘ntpd stop' and ‘ntpd restart'. 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.

    NTP Access Control

    Access to the NTP server can be restricted using the ‘restrict' directive in the ntp.conf file. You can restrict all access to the NTP server with:

    restrict default ignore

    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

    Multiple restrict directives can be specified in the ntp.conf file to restrict access to a specified range of computers.

    Authentication Options

    Authentication allows a matching passwords to be specified by the NTP server and associated clients. 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

    In the NTP configura

    Georgia Criminal Laws
    A crime is anything that is illegal. Common crimes include street fights, drug use, and other such acts. The state government, through the public prosecutor, would file a criminal lawsuit. Criminals would either be fined, incarcerated or sometimes both, depending on the severity of the crime.The state of Georgia, like other states, has some common criminal laws. However, the state itself has also established some laws that are to be followed when arresting a person
    packages.

    Configuring NTP

    The ‘ntp.conf' file is main source of configuration information for a NTP server installation. Amongst other things, it contains a list of reference clocks that the installation is to synchronise. A list of NTP server references is specified with the ‘server' configuration command thus:

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

    Controlling the NTP Server Daemon

    Once configured, the NTP daemon can be started, stopped and restarted using the commands: ‘ntpd start'; ‘ntpd stop' and ‘ntpd restart'. 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.

    NTP Access Control

    Access to the NTP server can be restricted using the ‘restrict' directive in the ntp.conf file. You can restrict all access to the NTP server with:

    restrict default ignore

    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

    Multiple restrict directives can be specified in the ntp.conf file to restrict access to a specified range of computers.

    Authentication Options

    Authentication allows a matching passwords to be specified by the NTP server and associated clients. 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

    In the NTP configura

    Penny Stock Thoughts
    According to a U.S. Securities and Exchange Commission warning, “Investors in penny stocks should be prepared for the possibility that they may lose their whole investment." It’s probably justified. There’s no doubt that true penny stocks are among the surest ways to lose all your money in the stock market.But, that being the case, why do so many investors love penny stocks? If you type “penny stocks" into Google it spits out more than 8.5-million hits. If you do th
    stopped and restarted using the commands: ‘ntpd start'; ‘ntpd stop' and ‘ntpd restart'. 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.

    NTP Access Control

    Access to the NTP server can be restricted using the ‘restrict' directive in the ntp.conf file. You can restrict all access to the NTP server with:

    restrict default ignore

    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

    Multiple restrict directives can be specified in the ntp.conf file to restrict access to a specified range of computers.

    Authentication Options

    Authentication allows a matching passwords to be specified by the NTP server and associated clients. 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

    In the NTP configura

    Article Writing: What is the Best Length for My Articles?
    Q:What is the very best length for my articles?300 - 550 words.That's my answer, but I guess this would not be much of an article if I did not elaborate. Plus I would be contradicting my own answer!I get this question just about every day from my members and students.Some members find they can barely put enough words together to create an article. Other members have found they struggle with keeping their articles under a thousand w
    o synchronize with the server use:

    restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

    Multiple restrict directives can be specified in the ntp.conf file to restrict access to a specified range of computers.

    Authentication Options

    Authentication allows a matching passwords to be specified by the NTP server and associated clients. 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

    In the NTP configuration file ntp.conf, specify which of the keys specified above are trusted, i.e. are secure and you want to use. Any keys specified in the keys file but not trusted will not be used for authentication, e.g.:

    trustedkey 1 7 10

    The NTP server is now configured for authentication.

    Client Configuration for Authentication

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

    Client A)
    1 M secret
    7 M TiMeLy

    trustedkey 1 7

    Client B)
    1 M secret
    5 M RaBBit
    7 M TiMeLy
    10 M MYKEY

    trustedkey 7 10

    Essentially authentication is used by the client to authenticate that the time server is who he says he is, and that no rogue server intervenes. The key is encrypted and sent to the client by the server where it is unencrypted and checked against the client keys to ensure a match.

    HTTP = HTML link (for blogs, profiles,phorums):
    <a href="http://www.answerupon.com/article/174012/answerupon-How-to-Configure-a-Linux-NTP-Server.html">How to Configure a Linux NTP Server</a>

    BB link (for phorums):
    [url=http://www.answerupon.com/article/174012/answerupon-How-to-Configure-a-Linux-NTP-Server.html]How to Configure a Linux NTP Server[/url]

    Related Articles:

    Employees' Poor Performance Is A Matter of History Where 60% is Viewed as Success

    Build it and they Will Come?

    Sell Your Home and Invest at the Same Time

    Bookmark it: del.icio.us digg.com reddit.com netvouz.com google.com yahoo.com technorati.com furl.net bloglines.com socialdust.com ma.gnolia.com newsvine.com slashdot.org simpy.com shadows.com blinklist.com