LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   time server (https://www.linuxquestions.org/questions/debian-26/time-server-378317/)

rblampain 10-30-2005 09:23 AM

time server
 
Debian Sarge.
Can anyone tell me what to install to have my machine synchronized with a time server?
I cannot see anything remotely close in Synaptic. (I have the 14 CDs distro)
Thank you for your help.

bureado 10-30-2005 09:42 AM

ntpdate will be your best shot. It should be in the CD's. Usage is:

ntpdate <NTP server>

Where NTP server is one of the user available NTP servers in ntp.org. You should really use pool.ntp.org as your NTP server, since it does round-robin pooling of NTP servers all around the World. You should run ntpdate with root privileges. You should have your NTP 123 TCP/UDP port opened for output.

TigerOC 10-31-2005 02:19 PM

I would suggest installing ntp-simple (apt-get install ntp-simple) which should be configured to sync your system time with the poo.ntp.org servers. Check the ntp.conf file once installed. ntp-date is a one off request system. The people (like me) running ntp servers for the pool hate this particularly when it is set as a chron job because it fires multiple requests at the time server and uses unreasonable bandwidth.

rblampain 11-01-2005 09:16 AM

Thanks for this TigerOC. I'll do that, I don't want my system to become a nuisance.

tangle 11-01-2005 09:53 AM

You could also set up cron job to run every night or week. I use this to sync the time on all my computers.

/usr/sbin/ntpdate clock.via.net; hwclock --systohc

rblampain 11-04-2005 03:01 AM

Thank you all for your help.


All times are GMT -5. The time now is 06:45 AM.