Re: ntpdate, /etc/timezone et all.

2001-03-20 Thread Eric Richardson
Eric Richardson wrote: > > > maxwell:/var/log# ntptime > ntp_gettime() returns code 5 (ERROR) > Now there are no errors. Eric :-)

Re: ntpdate, /etc/timezone et all.

2001-03-20 Thread Eric Richardson
Eric Richardson wrote: > > Stan Brown wrote: > > > > I am trying to get my machine to have the harware clock set to UTC, and > > honor the > > TZ environment variable for displaying the correct local time. I will use > > ntpdate > > to keep the time in synch. > > > > Curently I have the correct

Re: ntpdate, /etc/timezone et all.

2001-03-19 Thread David Wright
Quoting Bob Nielsen ([EMAIL PROTECTED]): > Check that /etc/default/rcS contains the line > > UTC=yes There's just a little more to it than that. Setting that parameter will make the /etc/init.d/hwclock.sh script use the correct switch for its hwclock commands, but you should get into the habit of

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Bob Nielsen
Check that /etc/default/rcS contains the line UTC=yes On Sun, Mar 18, 2001 at 09:04:29PM -0500, Stan Brown wrote: > On Sun Mar 18 19:48:18 2001 Christoph Simon wrote... > > > >On Sun, 18 Mar 2001 19:24:29 -0500 (EST) > >"Stan Brown" <[EMAIL PROTECTED]> wrote: > > > >> /usr/sbin/ntpdate -s -t 10

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Christoph Simon
On Sun, 18 Mar 2001 21:04:29 -0500 (EST) "Stan Brown" <[EMAIL PROTECTED]> wrote: > If I type "date" without seting TZ, I get UTC time, but it says EST. If > I > remove /etc/localtime, I get the correct tme, but it says it's UTC. > > So, I must still have somthing configure inc

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Stan Brown
On Sun Mar 18 19:48:18 2001 Christoph Simon wrote... > >On Sun, 18 Mar 2001 19:24:29 -0500 (EST) >"Stan Brown" <[EMAIL PROTECTED]> wrote: > >> /usr/sbin/ntpdate -s -t 10 clock.llnl.gov tock.usno.navy.mil >> tick.usno.navy.mil >> /sbin/hwclock --utc --systohc >> >> So wht do you siupose TZ

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Carel Fellinger
On Sun, Mar 18, 2001 at 05:38:07PM -0500, Stan Brown wrote: > On Sun Mar 18 16:11:55 2001 Carel Fellinger wrote... ... > >I'm no time expert, just thinking that maybe al is swell afterall. > >So could you post the outcome of the following commands? > > > > # date && hwclock --show > > Script sta

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Christoph Simon
On Sun, 18 Mar 2001 17:38:07 -0500 (EST) "Stan Brown" <[EMAIL PROTECTED]> wrote: > OK, I'm totaly confused. There are 3 things involved here, as I see it. > The > hardware clock, which should be set to UTC. The kernels view of time, > which > should be the same as the hardware

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Stan Brown
On Sun Mar 18 16:11:55 2001 Carel Fellinger wrote... > >On Sun, Mar 18, 2001 at 03:07:55PM -0500, Stan Brown wrote: >> On Sun Mar 18 12:40:10 2001 Carel Fellinger wrote... >> >Not sure, but are you applying that offset yourself? If so, are you >> >aware that "hwclock --show" always shows the *loca

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Carel Fellinger
On Sun, Mar 18, 2001 at 03:07:55PM -0500, Stan Brown wrote: > On Sun Mar 18 12:40:10 2001 Carel Fellinger wrote... > >Not sure, but are you applying that offset yourself? If so, are you > >aware that "hwclock --show" always shows the *local* time? Anyhow, > >what's the content of /etc/adjtime? On

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Stan Brown
On Sun Mar 18 12:40:10 2001 Carel Fellinger wrote... > >On Sun, Mar 18, 2001 at 10:57:37AM -0500, Stan Brown wrote: >> I am trying to get my machine to have the harware clock set to UTC, and >> honor the >> TZ environment variable for displaying the correct local time. I will use >> ntpdate >> to

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Carel Fellinger
On Sun, Mar 18, 2001 at 10:57:37AM -0500, Stan Brown wrote: > I am trying to get my machine to have the harware clock set to UTC, and honor > the > TZ environment variable for displaying the correct local time. I will use > ntpdate > to keep the time in synch. > > Curently I have the correct tim

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Christoph Simon
On Sun, 18 Mar 2001 10:57:37 -0500 (EST) "Stan Brown" <[EMAIL PROTECTED]> wrote: > I am trying to get my machine to have the harware clock set to UTC, and honor > the > TZ environment variable for displaying the correct local time. I will use > ntpdate > to keep the time in synch. > > Curently

Re: ntpdate, /etc/timezone et all.

2001-03-18 Thread Eric Richardson
Stan Brown wrote: > > I am trying to get my machine to have the harware clock set to UTC, and honor > the > TZ environment variable for displaying the correct local time. I will use > ntpdate > to keep the time in synch. > > Curently I have the correct timezone in /etc/timezone, and the correct

ntpdate, /etc/timezone et all.

2001-03-18 Thread Stan Brown
I am trying to get my machine to have the harware clock set to UTC, and honor the TZ environment variable for displaying the correct local time. I will use ntpdate to keep the time in synch. Curently I have the correct timezone in /etc/timezone, and the correct offset from the hardware clock is