LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-30-2005, 09:23 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Rep: Reputation: 52
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.

Last edited by rblampain; 10-30-2005 at 09:24 AM.
 
Old 10-30-2005, 09:42 AM   #2
bureado
Member
 
Registered: Oct 2003
Location: Caracas
Distribution: Knoppix 3.3 (Debian sarge/sid)
Posts: 72

Rep: Reputation: 15
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.
 
Old 10-31-2005, 02:19 PM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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.

Last edited by TigerOC; 10-31-2005 at 02:22 PM.
 
Old 11-01-2005, 09:16 AM   #4
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
Thanks for this TigerOC. I'll do that, I don't want my system to become a nuisance.
 
Old 11-01-2005, 09:53 AM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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
 
Old 11-04-2005, 03:01 AM   #6
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
Thank you all for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 07:55 PM
X server freezes from time to time grayswander Linux - General 3 01-02-2005 10:43 AM
time syncing with time server turbo_acura Linux - Networking 2 10-24-2004 02:38 PM
How to syncronize my system time by public time server? hakansun Linux - Networking 1 09-10-2004 05:10 AM
Updating System time from some Inet time server Steave Linux - General 6 12-21-2001 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration