LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-12-2005, 12:54 PM   #1
Morbid
Member
 
Registered: Mar 2004
Distribution: Suse 10.1...and loving it!
Posts: 243

Rep: Reputation: 30
Time in a bottle w/o child safety cap please!


Is there a nice, simple, EASY TO INSTALL program out there I can download to keep my clock up to date? I am experiencing time issues and want a program that will automatically update my clock when I turn on my computer.
 
Old 04-12-2005, 01:09 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
ntpd or ntpdate is what you are looking for. There should be packages for your distro out there somewhere.
 
Old 04-12-2005, 01:44 PM   #3
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
If you are willing to do a bit of compiling (no dependencies, no nothing), you can download the source code for such a program from NIST: ftp://time.nist.gov/pub/daytime/
You may want to read a bit about the time standards at http://www.boulder.nist.gov/timefreq/service/its.htm
In this README file it's said that you should use two files (except for the Makefile) to compile the program. However, they can be copy/pasted so you end up with only one file to compile (and you eliminate the need of the Makefile).
Once you have the executable, you can start it automatically with an init script or run it on a regular basis via cron.

Last edited by harken; 04-12-2005 at 01:45 PM.
 
Old 04-12-2005, 01:56 PM   #4
Morbid
Member
 
Registered: Mar 2004
Distribution: Suse 10.1...and loving it!
Posts: 243

Original Poster
Rep: Reputation: 30
Great! I'll give them both a whirl. Thanks!
 
Old 04-12-2005, 07:12 PM   #5
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
I took a look at Suse's package listings) and it seems that Suse pro 9.2 already contains ntpd in a package called xntp-4.2.0a-27.i586.rpm. The site says it's only on the DVD though. You can download it and the documentation package xntp-doc-4.2.0a-27.i586.rpm from any Suse FTP mirror.

In Fedora there's a way of setting up the clock synchronization from KDE or Gnome. There may be a similar built-in tool in Suse (look in time/date settings; ntpd has to be installed, of course).

Regards
Simon
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to kill a Child and all its subsequent child process in C shayer009 Programming 3 12-04-2007 12:40 AM
The Wine bottle won't open on RedHat9!! Marc L. Linux - Newbie 6 09-26-2005 06:11 AM
c++ memory cap ashirazi Programming 18 04-25-2005 03:07 PM
Killing a child process from another child marri Programming 6 10-01-2004 07:08 PM
MDK 9.1 Crashed again, QT3? Please help...Urgent B4 I hit the bottle!! MadLee Linux - General 4 04-13-2003 08:17 AM


All times are GMT -5. The time now is 06:48 PM.

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