brought to you by SnipSnap
[ start | index | login ]
start > Dave > Configuring NTP

Configuring NTP

Created by Dave. Last edited by Dave, one year and 93 days ago. Viewed 142 times. #3
[diff] [history] [edit] [rdf]
labels
Category:Utility Software
attachments
I want to configure NTP on this box as its loosing time. Badly.

Dhis is now done, I have a very simple ntp.conf file and am using DNS hostnames. This is not advisable under Linux because you must have a valid DNS service available when the daemon seeks to resolve the addresses. It might be possible to resolve the dns names vis the /etc/hosts file. The Howto article below is quite good.

The test should be ntpq -p to see if the deamon is working Ok, I don't think the Cobalt ntpd script does this; it browses the process table.

So

  1. check ntp isn't running
  2. Add the server lines to /etc/ntp.conf, you really need two. Use time servers from organisations that permit or don't care that one's taking a feed.
  3. Enable port 123/udp on the firewall
  4. Start the daemon
  5. Test the service using ntpq, can you see all the configured servers
  6. If the drift is significant from the time server, then take the service down and then use ntpdate -u to set the clock
The Linux chkconfig utility is set up for the rc script and I shall therefore invoke it using chkconfig -add.

I have found the following links

no comments | post comment
Subscribe using a feed reader.

Subscribe


short URL : >>http://is.gd/4L32o

Search my Site with Google

or use this site's >>top level tags, or the snipsnap-search tool.

Logged in Users: (1)
… and a Guest.



< November 2009 >
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
2930


XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

Powered by SnipSnap 1.0b3-uttoxeter

Describe here what your SnipSnap is about!

Configure this box!

  1. Login in
  2. Click here: snipsnap-portlet-2
  3. Edit this box
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt