From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.hurontel.on.ca ([216.46.129.246]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 1ADvR2-0004AI-00 for ; Sun, 26 Oct 2003 19:40:40 -0500 Received: (from root@localhost) by smtp-out1.hurontel.on.ca (8.12.9/8.12.6) id h9R0f7GW016916 for ; Sun, 26 Oct 2003 19:41:07 -0500 Received: from [192.168.0.100] (hsiarip.hurontel.on.ca [216.46.141.114]) by fep03-mail.hurontel.on.ca (8.12.9/8.12.9) with ESMTP id h9R0e41d016505 for ; Sun, 26 Oct 2003 19:40:05 -0500 Date: Sun, 26 Oct 2003 19:39:43 -0500 (EST) From: Barry Pollock X-X-Sender: barryp@box To: speakup@braille.uwo.ca Subject: Re: Help with date and redhat 9 In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: in redhat you can set the clock using rdate rredhat puts rdate in /usr/bin and debian puts it in /usr/sbin here is my debian script You can put it in cron.daily. I call mine /etc/cron.daily/gettime #!/bin/sh /usr/sbin/rdate -s time1.unet.brandeis.edu On Sun, 26 Oct 2003, Chuck Hallenbeck wrote: > 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@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@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >