Linux System Time - NEWBIE

Linux System Time - NEWBIE

Post by A.J. Simpki » Fri, 27 Oct 2000 18:27:39



My hardware clock has the right time but the system time is off by
5hrs.  Any Advice?

Mandrake7.0 is the flavour du jour.  Pls. email response if
convenient.

--
"Even amidst fierce flames the golden lotus can be planted."
 Guess the tombstone and win a prize!
--

 
 
 

Linux System Time - NEWBIE

Post by Bill Shirle » Sat, 28 Oct 2000 02:01:48


That's because you have your system clock set to local time and you have told linux it is set
to GMT.  Set your system clock to GMT unless you dual-boot.  In that case tell linux the system
clock is local time.  My guess is with linuxconf.

HTH,
Bill


  My hardware clock has the right time but the system time is off by 5hrs.  Any Advice?
  Mandrake7.0 is the flavour du jour.  Pls. email response if convenient.

--
"Even amidst fierce flames the golden lotus can be planted."
 Guess the tombstone and win a prize!
--

 
 
 

Linux System Time - NEWBIE

Post by Lew Pitch » Sat, 28 Oct 2000 02:51:06



>--------------6CB605442C393BD6AF8A8387
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit

>My hardware clock has the right time but the system time is off by
>5hrs.  Any Advice?

It sounds like your system has a timezone problem. Likely the system clock is
being set to UTC (where your CMOS clock is local time) or the TZ envvar is
incorrectly set.

Quote:>Mandrake7.0 is the flavour du jour.  Pls. email response if
>convenient.

I don't know what tools are available on Mandrake to manipulate the OS'
understanding of the timezone, but look around for something.

Quote:>--
>"Even amidst fierce flames the golden lotus can be planted."
> Guess the tombstone and win a prize!
>--

>--------------6CB605442C393BD6AF8A8387
>Content-Type: text/html; charset=us-ascii
>Content-Transfer-Encoding: 7bit

><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>My hardware clock has the right time but the system time is off by 5hrs.&nbsp;
>Any Advice?
><p>Mandrake7.0 is the flavour du jour.&nbsp; Pls. email response if convenient.
><pre>--&nbsp;
>"Even amidst fierce flames the golden lotus can be planted."
>&nbsp;Guess the tombstone and win a prize!
>--</pre>
>&nbsp;</html>

>--------------6CB605442C393BD6AF8A8387--

Lew Pitcher
IT Consultant, Development Services
Toronto Dominion Bank Financial Group

(Opinions expressed are my own, not my employers')

 
 
 

Linux System Time - NEWBIE

Post by dj.. » Sat, 28 Oct 2000 20:46:29


Yes, I know the answer....Mandrake tries to correct for your time
assuming that bios is set to GST, so when you config the time, select
GST+0
and you will be all set.

Dan

I have Mandrake too



Quote:

>--------------6CB605442C393BD6AF8A8387
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit

>My hardware clock has the right time but the system time is off by
>5hrs.  Any Advice?

>Mandrake7.0 is the flavour du jour.  Pls. email response if
>convenient.

>--
>"Even amidst fierce flames the golden lotus can be planted."
> Guess the tombstone and win a prize!
>--

>--------------6CB605442C393BD6AF8A8387
>Content-Type: text/html; charset=us-ascii
>Content-Transfer-Encoding: 7bit

><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>My hardware clock has the right time but the system time is off by 5hrs.&nbsp;
>Any Advice?
><p>Mandrake7.0 is the flavour du jour.&nbsp; Pls. email response if convenient.
><pre>--&nbsp;
>"Even amidst fierce flames the golden lotus can be planted."
>&nbsp;Guess the tombstone and win a prize!
>--</pre>
>&nbsp;</html>

>--------------6CB605442C393BD6AF8A8387--

 
 
 

1. Daylight Savings time, system time, hardware time....

I am sure that this has been rehashed a bunch of times, but I can't seem
to get it through my thick  skull...

I have a RedHat 6.0 system, 2.2.13 kernel.  I need to configure the darn
thing to keep the right time.  I can't seem to correctly configure the
hardware clock so that it correctly deals with DST.

I tried setting it to UTC using RedHat's tools, but it had no effect.
The time zone information must be correct, since the calendar displays
EDT, but the hardware clock and the system clock are now exactly
backwards.....  The hardware clock is one hour ahead of the system
clock.


Wed Apr 19 13:48:25 EDT 2000
Wed Apr 19 14:48:26 2000  -0.940635 seconds

What files do I need to change (by hand, not through possibly broken GUI
tools) to make this right?

Thanks,

--Yan
--

Think different
        ride a recumbent
                use Linux.

2. Zmodem over cu

3. Dumb newbie question about setting the system time.

4. Two interfaces(networks) and samba: conflict?!

5. : User/System time from getrusage/times etc.

6. Newbie eth0 eth0:0

7. Set system time using Internet time server

8. opensource.creative.com

9. Setting system time from time server

10. System time warping around real time problem - please help

11. system time and filesystem time

12. is paging time counted as system time?

13. system time leading cmos time