Setting Time with NIST

From Taclug

The US Government has some pretty cool stuff that can help us all out. For example, did you know that you can have your Servers or Workstations automatically set their system and hardware clocks from the Internet?

How would you like to keep your computers time up to date with their Atomic Clock (http://tf.nist.gov/cesium/fountain.htm)?

The National Institute of Standards and Technology(NIST) (http://www.nist.gov/) maintains a free list of Time Servers (http://tf.nist.gov/timefreq/service/time-servers.html) that you can easily use for this purpose and here's how to do it:

  • Manually via command prompt:
rdate -s [time_server_url]

You can also add this entry to your crontab. Setting the clock twice a day is more than enough.

NOTE: You can carry this idea a step further. If you set up a server that sync's time with the atomic clock and is also running Samba, it becomes an easy matter to have each of your Linux or Windows workstations attached to your LAN sync time with the server upon login.

  • Using Webmin:
  1. In the Hardware section locate Select System Time.
  2. Enter the timeserver in the Timeserver hostnames or addresses section.
  3. Set up the schedule.
  4. Click on the Sync and Apply button.
  • Using Gnome
  • Using KDE
navigation
  • Aggregator (http://www.taclug.org/planet/)
  • Gallery (http://www.taclug.org/gallery)
  • Library (http://chameleon.homelinux.net/OpenDB/listings.php?owner_id=taclib)