Click to See Complete Forum and Search --> : Synchronizing time between Linux boxes


StanLin
01-14-2001, 10:50 AM
Synchronizing time between Linux boxes. Is this possible with a command or a script?

iDxMan
01-14-2001, 12:55 PM
The easiest way is to use NTP (network time protocol).

Here's my setup:

Firewall is synced to multiple time servers on the internet. All internal machines then sync to it.

I believe Ray Jones (posterboy) has setup a little NHF on his site, so I'm sure he'll chime in soon enough. (http://www.raymondjones.net/ntpguide.html)

You'll also need to install : ntpd or xntpd, and/or you might want ntpdate as well.

Here are some other links:
http://tycho.usno.navy.mil http://www.eecis.udel.edu/~ntp/ http://www.eecis.udel.edu/~mills/ntp/servers.html


-r

Craig McPherson
01-14-2001, 02:19 PM
Check my post yesterday on this subject...
http://www.linuxnewbie.org/ubb/Forum1/HTML/013975.html

If you want very, very simple: have one of your Linux boxes run ntpdate on a cron script to set time against a time server, and set your other computers to run ntpdate against the first Linux box, also on a cron script.

If you want more complex and 31337: install NTP on your main Linux machine to sync with at least 3 time servers on the Internet (find a list at ntp.org), then set your other machines to sync with it with NTP.