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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-14-2002, 06:43 PM
|
#1
|
LQ Newbie
Registered: Oct 2002
Posts: 2
Rep:
|
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?
|
|
|
10-14-2002, 06:47 PM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Sure can, what distro are you running?
|
|
|
10-14-2002, 06:50 PM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Found the easiest, and most straight forward how to for ya:
http://www.txol.net/linux/xntp.htm
Cool
|
|
|
10-14-2002, 06:57 PM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
|
|
|
10-14-2002, 07:05 PM
|
#5
|
Member
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214
Rep:
|
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...
|
|
|
10-16-2002, 12:07 PM
|
#6
|
LQ Newbie
Registered: Oct 2002
Posts: 2
Original Poster
Rep:
|
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!!!
|
|
|
10-17-2002, 06:43 AM
|
#7
|
Member
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141
Rep:
|
You can use ntpd or ntpdate. -mk
|
|
|
All times are GMT -5. The time now is 12:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|