|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 . -- Rage Callao Free Software :: empower :: educate -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 . > > 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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Fri, 4 Apr 2008 12:44:53 +0800
"Rage Callao" <rage.callao@gmail.com> 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 . I hope this Bye -- Luca Sighinolfi -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Many thanks for replying
On Fri, Apr 4, 2008 at 3:11 PM, Jeff D <fixedored@gmail.com> 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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Fri, Apr 4, 2008 at 3:20 PM, Luca Sighinolfi <lsighinolfi@gmail.com> 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 . > I hope this It has ed, thank you very much. -- Rage Callao Free Software :: empower :: educate -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Fri, 4 Apr 2008 17:51:34 +0800
"Rage Callao" <rage.callao@gmail.com> wrote: > On Fri, Apr 4, 2008 at 3:20 PM, Luca Sighinolfi > <lsighinolfi@gmail.com> 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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On 04/04/2008, Luca Sighinolfi <lsighinolfi@gmail.com> wrote:
> On Fri, 4 Apr 2008 17:51:34 +0800 > > "Rage Callao" <rage.callao@gmail.com> wrote: > > > > On Fri, Apr 4, 2008 at 3:20 PM, Luca Sighinolfi > > <lsighinolfi@gmail.com> 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/sy...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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
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) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIAcHNqJyztHCFm9kRAgBFAKCUyDP+x2NX8WS87vmylO OpwF3BIwCgqlTm XEWaCDucpcsev5rKL0e1Yno= =KRtY -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|