setting the system clock.

John Covici covici at ccs.covici.com
Thu Oct 18 07:49:51 EDT 2001


I use ntpdate (Debian package) to set the time, but ntpd is great for
keeping it synched to a few government time servers.

on Wed, 17 Oct 2001 09:06:01 -0400 (EDT) Charles Hallenbeck <chuckh at mhonline.net> wrote:

> Hi Steve and Shaun -
> I have a similar command in my /etc/ppp/ip-up file instead of in crontab,
> so it gets set each time I establish an internet connection.
> 
> Chuck
> 
> On Wed, 17 Oct 2001, Steve Holmes wrote:
> 
> > I have a neet little shellscript I put together using the net date
> > utility. Let me include it here.
> > ----- beginning of file -----
> > #!/bin/sh
> > /usr/sbin/netdate clock.psu.edu
> > if [ "$?" = "0" ]; then
> >     clock -w
> >     echo CMOS clock has been set.
> > fi
> >
> > ----- end of file -----
> > The clock -w command is the deal that permenantly updates your hardware
> > clock. There might be a way to manually set it all with the date command
> > but not sure. Look at the man pages for the above commands. I run this
> > shell script every day in a crontab and my clock is solid now.
> >
> >  On Thu, 18 Oct 2001, Shaun Oliver wrote:
> >
> > > Hi guys how tdo I go about setting the system clock under linux?
> > > I've got to do this as a result of my hareware clock going a little
> > > um. well slow.
> > > thanks in advance.
> > >
> > >
> > >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> Visit me at http://www.mhonline.net/~chuckh
> The Moon is Waxing Crescent (1% of Full)
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
         John Covici
         covici at ccs.covici.com




More information about the Speakup mailing list