Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-13-2005, 01:14 PM   #1
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Setting the system clock to a time server?

How do you do this at a terminal?
Old 06-13-2005, 01:40 PM   #2
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
That's done with ntpd. This page probably gives you more information than you need to know, but basically you run ntpd at startup and set up a config file so it knows what servers to use. If you're in North America, "" will select an appropriate random server (unless you need extreme accuracy in which case that might not be sufficient). If you just want to update once, you can just do "ntpdate" (although that command is now deprecated in favor of ntpd).
Old 06-13-2005, 01:45 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 232Reputation: 232Reputation: 232
I tend to not really need dead on accuracy all the time.. so I setup a cron to run ntpdate daily on my machines that run 24/7 and just placed ntpdate in my startup scripts for my workstations that are usually shutdown when not in use..
Old 06-13-2005, 01:53 PM   #4
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Right on, thanks!!
Old 06-13-2005, 01:59 PM   #5
Senior Member
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
If you have more than 1 machine that you want to keep updated then it is an idea to set up a time server on one of your machines that runs all the time, have that connect to public ntp servers, have the rest of your computers synchronise with your local time server


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
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
tryhing to fix my system clock time slinky2004 Linux - General 6 10-06-2005 06:43 PM
System clock loosing time... JaseP Linux - Hardware 5 11-05-2004 04:00 PM
Setting the computer clock according to a time server on the internet didi86 Linux - Software 11 10-05-2004 08:52 AM
Setting System clock linuxBill Linux - General 3 08-05-2003 08:07 AM

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

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