Re: localtime and UTC

2008-04-13 Thread Andrei Popescu
On Fri, Apr 04, 2008 at 01:10:39PM +0200, Joost Witteveen wrote:
 
> It may cause problems when rebooting after sommer/winter time changes
> though, as Debian has no way of knowing whether the other system
> already ajusted the local clock to the new sommer/winter time.

Yes, but you can set the other system to not adjust for sommer/winter 
time.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: localtime and UTC

2008-04-04 Thread Joost Witteveen
On 04/04/2008, Luca Sighinolfi <[EMAIL PROTECTED]> wrote:
> On Fri, 4 Apr 2008 17:51:34 +0800
>
> "Rage Callao" <[EMAIL PROTECTED]> wrote:
>
>
> > On Fri, Apr 4, 2008 at 3:20 PM, Luca Sighinolfi
>  > <[EMAIL PROTECTED]> wrote:
>
> > >  Well, I think this is normal if you have set a time zone!
>  >
>  > Hi. Do you mean that the Lenny installer expects me not to set a time
>  > zone if my machine's BIOS clock is set to localtime?
>
>
> The answer is yes: Debian expects your BIOS is set on UTC.

But if have a dual boot system with the other system expecting BIOS
set to localtime, Debian should be able to handle this:

http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html#s-multiboot-with

It may cause problems when rebooting after sommer/winter time changes
though, as Debian has no way of knowing whether the other system
already ajusted the local clock to the new sommer/winter time.

(To set hwclock to UTC/localtime, edit /etc/default/rcS)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: localtime and UTC

2008-04-04 Thread Luca Sighinolfi
On Fri, 4 Apr 2008 17:51:34 +0800
"Rage Callao" <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 4, 2008 at 3:20 PM, Luca Sighinolfi
> <[EMAIL PROTECTED]> wrote:
> >  Well, I think this is normal if you have set a time zone!
> 
> Hi. Do you mean that the Lenny installer expects me not to set a time
> zone if my machine's BIOS clock is set to localtime?

The answer is yes: Debian expects your BIOS is set on UTC.

Try the option --localtime of hwclock (ref: man hwclock).

About rsync: yes, it needed network access.

bye
-- 
Luca Sighinolfi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: localtime and UTC

2008-04-04 Thread Rage Callao
On Fri, Apr 4, 2008 at 3:20 PM, Luca Sighinolfi <[EMAIL PROTECTED]> wrote:
>  > I just installed Lenny Beta 1 and everything installs nicely. However,
>  > my system time and hwclock are swapped.
>
>  Well, I think this is normal if you have set a time zone!

Hi. Do you mean that the Lenny installer expects me not to set a time
zone if my machine's BIOS clock is set to localtime?

>
>  > The output of date is:
>  > Fri Apr   4 20:40:29 PHT 2008 (should be 12:40:29)
>
>  You can select the right time zone (or none) with "tzselect".
>  Then, set the hardware clock using "hwclock --systohc".

I have tried this but the timezone _is_ set correctly as Asia/Manila
however the clock remains skewed. Setting the hardware clock to the
system clock would simply copy the wrong time system time to the
hardware clock.

>  Another tool could be usefull to set up the date: rdate
>  man hwclock
>  man rdate

I was hoping the that clock would be set correctly with necessitating
being online.

>  > Thanks for any help.
>  I hope this help

It has helped, thank you very much.

-- 
Rage Callao
Free Software :: empower :: educate


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: localtime and UTC

2008-04-04 Thread Rage Callao
Many thanks for replying

On Fri, Apr 4, 2008 at 3:11 PM, Jeff D <[EMAIL PROTECTED]> wrote:
>  if you have the ntpdate package installed as run 'ntpdate pool.ntp.org'
>  and it should set your clock to the proper time.

I installed Lenny on a machine that has no network access so I was
hoping that ntpdate would not be necessary. Etch works fine though and
the clock is set properly.

Could this possibly be a bug in the installer for Lenny?

-- 
Rage Callao
Free Software :: empower :: educate


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: localtime and UTC

2008-04-04 Thread Luca Sighinolfi
On Fri, 4 Apr 2008 12:44:53 +0800
"Rage Callao" <[EMAIL PROTECTED]> wrote:

> Hi,

Hi
 
> I just installed Lenny Beta 1 and everything installs nicely. However,
> my system time and hwclock are swapped.

Well, I think this is normal if you have set a time zone!
 
> The output of date is:
> Fri Apr   4 20:40:29 PHT 2008 (should be 12:40:29)

You can select the right time zone (or none) with "tzselect".
Then, set the hardware clock using "hwclock --systohc".

Another tool could be usefull to set up the date: rdate

man hwclock
man rdate
 
> Thanks for any help.
I hope this help

Bye
-- 
Luca Sighinolfi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: localtime and UTC

2008-04-04 Thread Jeff D
On Fri, 4 Apr 2008, Rage Callao wrote:

> Hi,
>
> I just installed Lenny Beta 1 and everything installs nicely. However,
> my system time and hwclock are swapped.
>
> The output of date is:
> Fri Apr   4 20:40:29 PHT 2008 (should be 12:40:29)
>
> The output of date -u is:
> Fri Apr   4 12:41:28 UTC 2008
>
> My /etc/default/rcS is set to:
> UTC=no
>
> /etc/timezone is set to:
> Asia/Manila
>
> My machine's BIOS clock is set to localtime.
>
> Thanks for any help.
>
>

if you have the ntpdate package installed as run 'ntpdate pool.ntp.org'
and it should set your clock to the proper time.

hth,
jeff

-- 
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



localtime and UTC

2008-04-03 Thread Rage Callao
Hi,

I just installed Lenny Beta 1 and everything installs nicely. However,
my system time and hwclock are swapped.

The output of date is:
Fri Apr   4 20:40:29 PHT 2008 (should be 12:40:29)

The output of date -u is:
Fri Apr   4 12:41:28 UTC 2008

My /etc/default/rcS is set to:
UTC=no

/etc/timezone is set to:
Asia/Manila

My machine's BIOS clock is set to localtime.

Thanks for any help.

-- 
Rage Callao
Free Software :: empower :: educate


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]