FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-19-2010, 03:13 PM
Andrei Popescu
 
Default Fixing time zone

On Tue,19.Jan.10, 16:52:56, Rodolfo Medina wrote:

> 09:20:41 -0800 equals 17:20:41 +0000, not 18:21:18 +0000. The friend suggests
> that my time zone "+0000" should be "+0100" i.e. CET.
>
> Can anybody suggest how I can recover this?

To set the timezone it should be enough to do

dpkg-reconfigure tzdata

...but,

- do you have Windows installed (and used) on the same computer?
- is the BIOS clock set to UTC or local time?
- what does you system think about it? (check UTC= setting in
/etc/default/rcS)

For a linux-only computer it is recommended you set UTC=yes, make sure
your BIOS clock is set to UTC and configure the timezone via the above
command.

OTOH Windows expects the BIOS to be set to *local* time, so you would
want to set UTC=no, but you still have to set the correct timezone
because internally Linux is using UTC.

If you make changes to the clock you might also experience issues on the
next (re)boot, because e2fsck doesn't like it if the last mount time of
a filesystem appears to be in the future. This is easily fixed with a

fsck.ext3 /dev/sdXY

from the "maintenance shell", but you should be prepared for it

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 01-19-2010, 03:52 PM
Rodolfo Medina
 
Default Fixing time zone

Hi all.

A friend of mine let me know that he receives my emails with a time stamp one
hour into the future. It seems my computer or my service that forwards to
gmail is set to the wrong time or time zone. From my header:

Received: from hda6-hyundai ([151.83.162.201])
by mx.google.com with ESMTPS id 15sm1318852fxm.2.2010.01.16.09.20.40
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Sat, 16 Jan 2010 09:20:41 -0800 (PST)
From: Rodolfo Medina <rodolfo.medina@gmail.com>
Date: Sat, 16 Jan 2010 18:21:18 +0000
^^^^^^^^^^^^^^
|

this is wrong

09:20:41 -0800 equals 17:20:41 +0000, not 18:21:18 +0000. The friend suggests
that my time zone "+0000" should be "+0100" i.e. CET.

Can anybody suggest how I can recover this?

Thanks for any help
Rodolfo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-19-2010, 04:17 PM
Klistvud
 
Default Fixing time zone

Dne, 19. 01. 2010 17:52:56 je Rodolfo Medina napisal(a):
09:20:41 -0800 equals 17:20:41 +0000, not 18:21:18 +0000. The friend
suggests

that my time zone "+0000" should be "+0100" i.e. CET.


Your UTC setting may be wrong; if you're using Gnome, try fiddling with
the clock applet on your panel, there should be a UTC setting
somewhere, try toggling it.


hth

--
Regards,

Klistvud
Certifiable Loonix User #481801
http://bufferoverflow.tiddlyspot.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-19-2010, 06:27 PM
Rodolfo Medina
 
Default Fixing time zone

Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> A friend of mine let me know that he receives my emails with a time stamp one
> hour into the future. It seems my computer or my service that forwards to
> gmail is set to the wrong time or time zone. From my header:
>
> Received: from hda6-hyundai ([151.83.162.201])
> by mx.google.com with ESMTPS id 15sm1318852fxm.2.2010.01.16.09.20.40
> (version=TLSv1/SSLv3 cipher=RC4-MD5);
> Sat, 16 Jan 2010 09:20:41 -0800 (PST)
> From: Rodolfo Medina <rodolfo.medina@gmail.com>
> Date: Sat, 16 Jan 2010 18:21:18 +0000
> ^^^^^^^^^^^^^^
> |
>
> this is wrong
>
> 09:20:41 -0800 equals 17:20:41 +0000, not 18:21:18 +0000. The friend suggests
> that my time zone "+0000" should be "+0100" i.e. CET.
>
> Can anybody suggest how I can recover this?



Andrei Popescu <andreimpopescu@gmail.com> writes:

> To set the timezone it should be enough to do
>
> dpkg-reconfigure tzdata
>
> ...but,
>
> - do you have Windows installed (and used) on the same computer?
> - is the BIOS clock set to UTC or local time?
> - what does you system think about it? (check UTC= setting in
> /etc/default/rcS)
>
> For a linux-only computer it is recommended you set UTC=yes, make sure
> your BIOS clock is set to UTC and configure the timezone via the above
> command.
>
> OTOH Windows expects the BIOS to be set to *local* time, so you would
> want to set UTC=no, but you still have to set the correct timezone
> because internally Linux is using UTC.
>
> If you make changes to the clock you might also experience issues on the
> next (re)boot, because e2fsck doesn't like it if the last mount time of
> a filesystem appears to be in the future. This is easily fixed with a
>
> fsck.ext3 /dev/sdXY
>
> from the "maintenance shell", but you should be prepared for it



Thanks!

With `dpkg-reconfigure tzdata' it came out that my local time was London,
wheras it should be Rome. I changed it. I have also a Windows partition, so I
let UTC=no in /etc/default/rcS, as you suggested. I rebooted and no problem
seemed to occur.

Now I sent a test message to myself, and these are the headers:


X-From-Line: rodolfo.medina@gmail.com Tue Jan 19 20:16:54 2010
Return-Path: <rodolfo.medina@gmail.com>
Received: from hda6-hyundai ([151.81.20.42])
by mx.google.com with ESMTPS id 13sm1649564bwz.10.2010.01.19.11.17.03
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Tue, 19 Jan 2010 11:17:04 -0800 (PST)
From: Rodolfo Medina <rodolfo.medina@gmail.com>
To: rodolfo.medina@gmail.com
Subject: test3
Date: Tue, 19 Jan 2010 20:16:54 +0100


Is the problem solved now?

Thanks,
Rodolfo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-19-2010, 06:38 PM
Andrei Popescu
 
Default Fixing time zone

On Tue,19.Jan.10, 20:27:10, Rodolfo Medina wrote:

> Is the problem solved now?

Assuming 'date' shows the correct time, yes.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 01-19-2010, 07:45 PM
Rodolfo Medina
 
Default Fixing time zone

Rodolfo wrote:

> Now I sent a test message to myself, and these are the headers:
>
>
> X-From-Line: rodolfo.medina@gmail.com Tue Jan 19 20:16:54 2010
> Return-Path: <rodolfo.medina@gmail.com>
> Received: from hda6-hyundai ([151.81.20.42])
> by mx.google.com with ESMTPS id 13sm1649564bwz.10.2010.01.19.11.17.03
> (version=TLSv1/SSLv3 cipher=RC4-MD5);
> Tue, 19 Jan 2010 11:17:04 -0800 (PST)
> From: Rodolfo Medina <rodolfo.medina@gmail.com>
> To: rodolfo.medina@gmail.com
> Subject: test3
> Date: Tue, 19 Jan 2010 20:16:54 +0100
>
>
> Is the problem solved now?


Andrei Popescu <andreimpopescu@gmail.com> writes:

> Assuming 'date' shows the correct time, yes.


But suppose I want to adjust the minutes and seconds in the `date' field so to
match exactly the `-800' time above: how could I do that? Using the `date'
command will not give an exact result.

Rodolfo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-19-2010, 08:37 PM
Paul E Condon
 
Default Fixing time zone

On 20100119_214515, Rodolfo Medina wrote:
> Rodolfo wrote:
>
...snip...
>
> But suppose I want to adjust the minutes and seconds in the `date' field so to
> match exactly the `-800' time above: how could I do that? Using the `date'
> command will not give an exact result.
>
> Rodolfo

tz -800 is standard time on Pacific coast of USA. The minutes (and seconds)
should be the same as in Rome. Does your computer clock display the wrong
minutes and seconds for Rome? Do you want that adjusted? If so, there are
a number of packages designed to keep your computer clock properly synchronized
with Internet time. I like 'chrony', but others like other packages.

If you want to watch the time in two or more time zones concurrently look at
package tzwatch.

--
Paul E Condon
pecondon@mesanetworks.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 04:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org