Re: how to set correct time, using debian wheezy with LXDE
On Tue, May 1, 2012 at 1:47 AM, Ralf Mardorf ralf.mard...@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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=szm+_cxxoxokjj+r+ba-2bipbapsdtyauor+gkumtk...@mail.gmail.com
Re: how to set correct time, using debian wheezy with LXDE
30.04.2012 21:33, Ralf Mardorf kirjoitti: 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 I would recommend installing ntp instead of ntpdate. -- Mika Suomalainen gpg --keyserver pool.sks-keyservers.net --recv-keys 4DB53CFE82A46728 Key fingerprint = 24BC 1573 B8EE D666 D10A AA65 4DB5 3CFE 82A4 6728 0x82A46728.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: 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. -- Mika Suomalainen gpg --keyserver pool.sks-keyservers.net --recv-keys 4DB53CFE82A46728 Key fingerprint = 24BC 1573 B8EE D666 D10A AA65 4DB5 3CFE 82A4 6728 0x82A46728.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: how to set correct time, using debian wheezy with LXDE
Kjetil brinchmann Halvorsen kjetil1...@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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120430180358.GA29276@radhesyama
Re: 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1335810833.3529.28.camel@precise
Re: 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1335811002.3529.29.camel@precise
Re: 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/Linuxhttp://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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120430221835.gn28...@codelibre.net
Re: 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 :D. 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1335828610.5938.6.camel@precise
Re: 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 :D. 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1335830174.5938.9.camel@precise
Re: 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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1335851226.6407.3.camel@precise