Help with date and redhat 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chuck

Thanks so much for your help; however, when I typed that command in, I
received the message of netdate not being a valid command. Is that maybe
a slackware specific program?

Thanks,
Sina

No trees were destroyed in sending this message. However, a large number
of electrons were terribly inconvenienced. 

-----Original Message-----
From: speakup-admin@xxxxxxxxxxxxxx [mailto:speakup-admin at braille.uwo.ca]
On Behalf Of Chuck Hallenbeck
Sent: Sunday, October 26, 2003 5:18 PM
To: speakup at braille.uwo.ca
Subject: Re: Help with date and redhat 9


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


_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup






[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux