Help with date and redhat 9

Chuck Hallenbeck chuckh at sent.com
Sun Oct 26 17:18:14 EST 2003


Hi Sima,

Here is how I do it. The following command is executed as root:

netdate -l 0 tick.wustl.edu tcp bumpy.braille.uwo.ca

It is probably best to make an alias for this, or put it in a
script or something. In my case, I execute that line within my
ip-up script.

It will update your time within the kernel, but not reset the
hardware clock. That turns out to be no problem on this slackware
system, since slackware copies the time from the kernel into the
hardware clock during the shutdown process, and the only other
time the hardware clock is referenced is during bootup, I
believe.

The line above references two time servers, in case one or the
other might be down for some reason.

Hope that helps

Chuck


On Sun, 26 Oct 2003, Sina Bahram wrote:

> Hello all
>
> I am having a bit of a problem with the date command. I want to set it
> up so that my computer can fetch the current date from a time server.
> However, I know of no time servers and I also have no clue how to pass
> the correct arguments to the date command. Can anyone help me out on
> this?
>
> What should be the commands to the date command to tell it to look at
> some server for the time, and set the system time accordingly.
> I am on eastern standard time if that helps.
>
> Thanks,
> Sina
>
> No trees were destroyed in sending this message. However, a large number
> of electrons were terribly inconvenienced.
>
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

-- 
The Moon is Waxing Crescent (3% of Full)
 Get my public key from website, http://www.mhonline.net/~chuckh





More information about the Speakup mailing list