LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-14-2002, 06:43 PM   #1
cyclopiea
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Rep: Reputation: 0
Time sync



My server loses a couple of minutes every week. How can I get Linux to go out and get the real time and then update?
 
Old 10-14-2002, 06:47 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure can, what distro are you running?
 
Old 10-14-2002, 06:50 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Found the easiest, and most straight forward how to for ya:
http://www.txol.net/linux/xntp.htm

Cool
 
Old 10-14-2002, 06:57 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Another program:
http://freshmeat.net/projects/datesync/?topic_id=136

Or as always, the answer lies in LFS:
http://hints.linuxfromscratch.org/hints/ntp.txt

Cool
 
Old 10-14-2002, 07:05 PM   #5
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 12.04 LTS
Posts: 156

Rep: Reputation: 18
And if your distribution includes the "rdate" program, you don't need to bother with an ntp daemon. Just run "rdate -s tock.august.com" from a daily cron job to reset the clock. There are many other servers; that's just the one I use. Google for "rdate" to find others, plus sources for the program in case you don't have it...
 
Old 10-16-2002, 12:07 PM   #6
cyclopiea
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Original Poster
Rep: Reputation: 0
I used the rdate command. It was very simple and seems to work great. I did have some initial problems but that was because port 37 (time) was closed down on our firewall.

Thanks so much!!!
 
Old 10-17-2002, 06:43 AM   #7
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
You can use ntpd or ntpdate. -mk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
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
software of time sync hongxing Linux - Software 5 10-12-2005 03:18 AM
ntp time sync eyewittness Linux - Networking 2 08-11-2004 09:18 AM
Time sync? fredws Mandriva 1 10-01-2003 08:38 PM
Sync time u4113072 Linux - General 2 11-21-2002 10:28 AM


All times are GMT -5. The time now is 01:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration