how to set correct time, using debian wheezy with LXDE
Hola!
I am using debian wheezy (amd-64), with LXDE.
My problem is that the computer clock is WRONG. Which program should I install so that I
can fix time (definig tz, etc), with LXDE?
Kjetil
--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."
George Orwell (1984)
04-30-2012, 05:46 PM
Mika Suomalainen
how to set correct time, using debian wheezy with LXDE
Hi,
30.04.2012 20:39, Kjetil brinchmann Halvorsen kirjoitti:
> Hola!
>
>
> I am using debian wheezy (amd-64), with LXDE.
>
> My problem is that the computer clock is WRONG. Which program should I
> install so that I
> can fix time (definig tz, etc), with LXDE?
>
> Kjetil
>
>
> --
> "If you want a picture of the future - imagine a boot stamping on the
> human face - forever."
>
> George Orwell (1984)
>
>
>
Try running "dpkg-reconfigure tzdata" as root. It should ask you which
TZ you are on. The package "tzdata" has priority "required", so I think
that you should have it installed already.
how to set correct time, using debian wheezy with LXDE
Kjetil brinchmann Halvorsen <kjetil1001@gmail.com> wrote:
>
> Hola!
>
>
> I am using debian wheezy (amd-64), with LXDE.
>
> My problem is that the computer clock is WRONG. Which program should I
> install so that I
> can fix time (definig tz, etc), with LXDE?
>
There are two things to consider -- hardware clock and timezone.
The hardware clock is usually set in your bios, timezone is done
by copying the appropriate file from /usr/share/zoneinfo to
/etc/localtime. If you have to dual-boot with windows you probably
need to set your hw clock to localtime, otherwise it's best to set
it to GMT.
--
❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120430180358.GA29276@radhesyama">http://lists.debian.org/20120430180358.GA29276@radhesyama
04-30-2012, 06:33 PM
Ralf Mardorf
how to set correct time, using debian wheezy with LXDE
On Mon, 2012-04-30 at 12:39 -0500, Kjetil brinchmann Halvorsen wrote:
> Hola!
>
>
> I am using debian wheezy (amd-64), with LXDE.
>
> My problem is that the computer clock is WRONG. Which program should I
> install so that I
> can fix time (definig tz, etc), with LXDE?
>
> Kjetil
>
>
> --
> "If you want a picture of the future - imagine a boot stamping on the
> human face - forever."
>
> George Orwell (1984)
1. Take care about /etc/default/rcS, there's an entry UTC=yes or UTC=no.
It should fit to the way you handle the clock.
2. Install and run ntpdate as superuser: ntpdate -u ntp.favey.ch
It automatically will set time and date.
Hth,
Ralf
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335810833.3529.28.camel@precise">http://lists.debian.org/1335810833.3529.28.camel@precise
04-30-2012, 06:36 PM
Ralf Mardorf
how to set correct time, using debian wheezy with LXDE
On Mon, 2012-04-30 at 20:33 +0200, Ralf Mardorf wrote:
> On Mon, 2012-04-30 at 12:39 -0500, Kjetil brinchmann Halvorsen wrote:
> > Hola!
> >
> >
> > I am using debian wheezy (amd-64), with LXDE.
> >
> > My problem is that the computer clock is WRONG. Which program should I
> > install so that I
> > can fix time (definig tz, etc), with LXDE?
> >
> > Kjetil
> >
> >
> > --
> > "If you want a picture of the future - imagine a boot stamping on the
> > human face - forever."
> >
> > George Orwell (1984)
>
> 1. Take care about /etc/default/rcS, there's an entry UTC=yes or UTC=no.
> It should fit to the way you handle the clock.
> 2. Install and run ntpdate as superuser: ntpdate -u ntp.favey.ch
> It automatically will set time and date.
>
> Hth,
> Ralf
PS: http://wiki.debian.org/TimeZoneChanges
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335811002.3529.29.camel@precise">http://lists.debian.org/1335811002.3529.29.camel@precise
04-30-2012, 10:18 PM
Roger Leigh
how to set correct time, using debian wheezy with LXDE
On Mon, Apr 30, 2012 at 08:33:53PM +0200, Ralf Mardorf wrote:
> On Mon, 2012-04-30 at 12:39 -0500, Kjetil brinchmann Halvorsen wrote:
> > Hola!
> >
> >
> > I am using debian wheezy (amd-64), with LXDE.
> >
> > My problem is that the computer clock is WRONG. Which program should I
> > install so that I
> > can fix time (definig tz, etc), with LXDE?
> >
> > Kjetil
> >
> >
> > --
> > "If you want a picture of the future - imagine a boot stamping on the
> > human face - forever."
> >
> > George Orwell (1984)
>
> 1. Take care about /etc/default/rcS, there's an entry UTC=yes or UTC=no.
> It should fit to the way you handle the clock.
This is correct. However, it will hopefully be removed soon, at
which point it will be stored directly in hwclock's conffile, and
you can then change the setting using --utc or --localtime as
documented in the hwclock manpage.
Note this hasn't happened yet, but is pending upload.
Regards,
Roger
--
.'`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120430221835.GN28298@codelibre.net">http://lists.debian.org/20120430221835.GN28298@codelibre.net
04-30-2012, 11:30 PM
Ralf Mardorf
how to set correct time, using debian wheezy with LXDE
On Mon, 2012-04-30 at 23:18 +0100, Roger Leigh wrote:
> On Mon, Apr 30, 2012 at 08:33:53PM +0200, Ralf Mardorf wrote:
> > On Mon, 2012-04-30 at 12:39 -0500, Kjetil brinchmann Halvorsen wrote:
> > > Hola!
> > >
> > >
> > > I am using debian wheezy (amd-64), with LXDE.
> > >
> > > My problem is that the computer clock is WRONG. Which program should I
> > > install so that I
> > > can fix time (definig tz, etc), with LXDE?
> > >
> > > Kjetil
> > >
> > >
> > > --
> > > "If you want a picture of the future - imagine a boot stamping on the
> > > human face - forever."
> > >
> > > George Orwell (1984)
> >
> > 1. Take care about /etc/default/rcS, there's an entry UTC=yes or UTC=no.
> > It should fit to the way you handle the clock.
>
> This is correct. However, it will hopefully be removed soon, at
> which point it will be stored directly in hwclock's conffile, and
> you can then change the setting using --utc or --localtime as
> documented in the hwclock manpage.
>
> Note this hasn't happened yet, but is pending upload.
Hopefully FS checks some day will stop to announce, that a FS was last
time booted in the future .
Anyway, issues regarding to the time usually are caused by an empty
battery or by the entry in /etc/default/rcS. Timezone and ntp (sntp)
usually are ok .
Regards,
Ralf
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335828610.5938.6.camel@precise">http://lists.debian.org/1335828610.5938.6.camel@precise
04-30-2012, 11:56 PM
Ralf Mardorf
how to set correct time, using debian wheezy with LXDE
On Tue, 2012-05-01 at 01:30 +0200, Ralf Mardorf wrote:
> On Mon, 2012-04-30 at 23:18 +0100, Roger Leigh wrote:
> > On Mon, Apr 30, 2012 at 08:33:53PM +0200, Ralf Mardorf wrote:
> > > On Mon, 2012-04-30 at 12:39 -0500, Kjetil brinchmann Halvorsen wrote:
> > > > Hola!
> > > >
> > > >
> > > > I am using debian wheezy (amd-64), with LXDE.
> > > >
> > > > My problem is that the computer clock is WRONG. Which program should I
> > > > install so that I
> > > > can fix time (definig tz, etc), with LXDE?
> > > >
> > > > Kjetil
> > > >
> > > >
> > > > --
> > > > "If you want a picture of the future - imagine a boot stamping on the
> > > > human face - forever."
> > > >
> > > > George Orwell (1984)
> > >
> > > 1. Take care about /etc/default/rcS, there's an entry UTC=yes or UTC=no.
> > > It should fit to the way you handle the clock.
> >
> > This is correct. However, it will hopefully be removed soon, at
> > which point it will be stored directly in hwclock's conffile, and
> > you can then change the setting using --utc or --localtime as
> > documented in the hwclock manpage.
> >
> > Note this hasn't happened yet, but is pending upload.
>
> Hopefully FS checks some day will stop to announce, that a FS was last
> time booted in the future .
>
> Anyway, issues regarding to the time usually are caused by an empty
> battery or by the entry in /etc/default/rcS. Timezone and ntp (sntp)
> usually are ok .
>
> Regards,
> Ralf
PS:
For my usage the time isn't much important. I need complete independent
backups, instead of syncs and I mount partitions with noatime, but for
some usages the time can be very, very, very important.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335830174.5938.9.camel@precise">http://lists.debian.org/1335830174.5938.9.camel@precise
05-01-2012, 05:47 AM
Ralf Mardorf
how to set correct time, using debian wheezy with LXDE
On Mon, 2012-04-30 at 19:50 -0500, Kjetil brinchmann Halvorsen wrote:
> > > George Orwell (1984)
> >
> > 1. Take care about /etc/default/rcS, there's an entry
> UTC=yes or UTC=no.
> > It should fit to the way you handle the clock.
> > 2. Install and run ntpdate as superuser: ntpdate -u
> ntp.favey.ch
>
>
> That did the trick!
>
> Kjetil
Out of interest: Was it the UTC issue?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1335851226.6407.3.camel@precise">http://lists.debian.org/1335851226.6407.3.camel@precise
05-01-2012, 09:39 AM
Tom H
how to set correct time, using debian wheezy with LXDE
On Tue, May 1, 2012 at 1:47 AM, Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
> On Mon, 2012-04-30 at 19:50 -0500, Kjetil brinchmann Halvorsen wrote:
>> > > George Orwell (1984)
>> * * * * >
>> * * * * > 1. Take care about /etc/default/rcS, there's an entry
>> * * * * UTC=yes or UTC=no.
>> * * * * > It should fit to the way you handle the clock.
>> * * * * > 2. Install and run ntpdate as superuser: ntpdate -u
>> * * * * ntp.favey.ch
>>
>> That did the trick!
>
> Out of interest: Was it the UTC issue?
When dual-booting with Windows, you have Linux to set to localtime,
unless you change Windows to UTC via its registry.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAOdo=Szm+_CxXOXOKjj+r+bA-2bipbAPsDTyaUor+GKuMTKt6A@mail.gmail.com">http://lists.debian.org/CAOdo=Szm+_CxXOXOKjj+r+bA-2bipbAPsDTyaUor+GKuMTKt6A@mail.gmail.com