[KLUG Members] clock synch

members@kalamazoolinux.org members@kalamazoolinux.org
Fri, 23 Aug 2002 19:23:46 -0400


rdate works too.. cool thing about this is there is really no configuration
and you can run it via cron.

ie:

0 0 * * * /usr/bin/rdate -s -l ip.addy.of.server

This will via cron, and set systime and log errors to /var/log/messages,
rdate uses tcpip and does not leave a daemon running w/an open port .

any questions? run 'man rdate'


Matt


On Fri, Aug 23, 2002 at 06:53:20PM -0400, Dennis wrote:
> bill wrote:
> > 
> > In Windows, I had a program I could use to sync the internal clock (which is
> > always a bit off, regardless of OS) with some time servers.  I could schedule
> > the program to go online once a day and sync the computer's clock against up to
> > 15 time servers (I used all of them as some were always down or unavailable on
> > the web).  I'm looking to do something similar in Linux.
> > 
> > On Linux RH 7.3 (in gnome) there is a program on the menu called Date/Time
> > properties that has an option called "Network Time Protocol" that, if checked,
> > allows you to select a single time server.  I tried all the different servers
> > for at least 24 hours each while my CMOS battery was dying but none of them
> > seemed to work.
> > 
> > Question: does this method work but is somehow failing behind my firewall (using
> > an odd port or something)?  Or is there another method to do the same thing,
> > maybe find a program to schedule in cron?
> > 
> > kind regards,
> > 
> > bill hollett
> > 
> 
> I think you might like ntp. It was kind of a bear for this newbie to set
> up but it works well once it is set up and working. Lots to read, I read
> a lot before I started and still had to have help. If you have any
> problems with the config, post again.
> 
> http://www.eecis.udel.edu/~ntp/
> 
> Read, read, read...
> -- 
> Dennis
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 

-- 
Matthew Terry
matt@abernackie.com

... The cable had passed us by; the dish was the only hope, and eventually
we were all forced to turn to it.  By the summer of '85, the valley had more
satellite dishes per capita than an Eskimo village on the north slope of
Alaska.

Mine was one of the last to go in.  I had been nervous from the start about
the hazards of too much input, which is a very real problem with these
things.  Watching TV becomes a full-time job when you can scan 200 channels
all day and all night and still have the option of punching Night Dreams
into the video machine, if the rest of the world seems dull.
-- Hunter Thompson, "Full-time scrambling", _Generation of Swine_