DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have four machines (Debian x3, Ubuntu) I want to synchronize by time. They are connected with a hub, and all have access to the Internet. Any ideas how this is done?
apt-get install ntp ntpdate and configure ntp to sync system clock with an apropriate to your TZ ntp server while ntpdate will adjust time at boot time.
"(...)no server suitable for synchronization found"
I tried the server ntp.uio.no, but it doens't work. I can ping the server, but ntpdate gives me
the error above. I tried adding the -u option, but still no luck. Any ideas?
By the way, the main issue here is to synchronize the machines with each other, not necessarily with "the internet". So if it easier, I could set up a ntp server on one of the machines and have the other sync with that. But I don't know how this is done. I'm guessing its easier sync'ing with an already dedicated server.
anyway, ntpdate will be deprecated soon while running a ntp daemon will be far more accurate and convenient cuz you could become a time_provider to your local subnet. consider installing ntp-simple -- the ntp.conf file you'll find in /etc is simple enough to set for minutes, and you have your ntpd sync'ing in the background.
Quote:
But I don't know how this is done
the ntp-doc package provides extensive documentation in html format if you happen to need it.
I give up for now. Can't get it to work. Have tried "ntpdate <server>" using several servers (including windows), have tried different options to ntpdate, have tried and set up my own server. The firewall-setting should be okay. I'm still getting the "no server suitable for synchronization found" error.
I think I'll put it aside for now, and have a go at it later. But thanks for the help anyways, guys!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.