View previous topic :: View next topic |
Author |
Message |
flammenflitzer Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/409843123410eaf2de9947.gif)
Joined: 25 Nov 2003 Posts: 3541 Location: Berlin
|
Posted: Fri Mar 30, 2012 3:49 pm Post subject: [gelöst]Gentoo verstellt die Systemuhr |
|
|
https://forums.gentoo.org/viewtopic-t-62752.html
Bei mir
Code: | cat /etc/timezone
Europe/Berlin |
Code: | ls -la /etc/localtime
-rw-r--r-- 1 root root 2309 25. Mär 13:16 /etc/localtime |
Code: | olaf@flammenflitzer ~ $ cat /etc/conf.d/hwclock | grep -v \#
clock="local"
clock_systohc="NO"
clock_hctosys="YES"
clock_args="" | kde (4.8.1) Aktueööe lokale Zeitzone: Europa/Berlin (CEST)
Und trotzdem setzt sich nach einem Reboot die System Uhr um 2 Stunden zurück. (Ich habe ein Dualsystem mit Windows XP)
Last edited by flammenflitzer on Tue Apr 03, 2012 6:09 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JoHo42 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/851234420408e4e4fcac30.jpg)
Joined: 14 Feb 2004 Posts: 956 Location: Germany
|
Posted: Fri Mar 30, 2012 4:05 pm Post subject: |
|
|
Hi,
in meiner hwclock steht folgendes:
# If you want to set the Hardware Clock to the current System Time
# (software clock) during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon.
clock_systohc="Yes"
Also setzt mal clock_systhc="Yes" und dann sollte es gehen.
Gruss Jörg |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
toralf Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/10034462014367c4dfe33c1.gif)
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Fri Mar 30, 2012 6:05 pm Post subject: |
|
|
Bei mir läuft dies hier supi Code: | tfoerste@n22 ~ $ grep ^clock /etc/conf.d/hwclock
clock="local"
clock_systohc="yes"
clock_hctosys="YES"
clock_args=""
| aber bei dual-boot (habe ich auch) verstellt Windows halt 2x im Jahr trotzdem die Zeit um jeweils 1h vor bzw. wieder zurück (weil es doof ist). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bell Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21241977654fa2c194802e2.jpg)
Joined: 27 Nov 2007 Posts: 514
|
Posted: Fri Mar 30, 2012 7:09 pm Post subject: |
|
|
Quote: | verstellt Windows halt 2x im Jahr trotzdem die Zeit um jeweils 1h vor bzw. wieder zurück (weil es doof ist). | Suche mal nach "Registry Key UTC" Damit kann Windows auch UTC und wird die Uhr nicht mehr verstellen. Dann kannst Du auch unter Linux UTC nutzen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Josef.95 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Sep 2007 Posts: 4693 Location: Germany
|
Posted: Fri Mar 30, 2012 7:11 pm Post subject: |
|
|
toralf wrote: | ...
aber bei dual-boot (habe ich auch) verstellt Windows halt 2x im Jahr trotzdem die Zeit um jeweils 1h vor bzw. wieder zurück (weil es doof ist). |
Das muss nicht sein...
Auch Windows kann man auf UTC umstellen, und danach verstellt es einem auch nie wieder die BIOS-Zeit
Mein Tipp:
Gentoo (so wie es sich eigentlich gehört) auf UTC betreiben,
und falls man noch ein dual-boot mit Windows betreibt Windows auch auf UTC umstellen.
Zur umstellung von Windows auf UTC siehe zb http://johnreid.it/2007/04/30/dual-booting-causes-clocks-to-go-mental/
Das ganze läuft hier seit Jahren gut und problemlos.
Die BIOS-ZEIT ist dann auf UTC (0) einzustellen (nach aktueller deutscher Sommerzeit also zwei Stunden zurück) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ChrisJumper Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 12 Mar 2005 Posts: 2403 Location: Germany
|
Posted: Fri Mar 30, 2012 7:24 pm Post subject: |
|
|
Sofern ich mich erinnere verstellt Windows doch die Systemzeit immer.
Linux verwendet die UTC (Universal Time Coordinated) und setzt relativ über die Zeitzone die System-Zeit dazu.
Windows macht das nicht. Windows verstellt die Zeit einfach im Bios, auch wenn Sommer und Winterzeit daran drehen. Zumindest war das bei mir so bis Windwos Vista. Daher auch den Hinweis mit der UTC.
Das die Zeit dann zweimal zurückgestellt wird ist blöd! Aber vielleicht kannst du unter Windows auch irgendwo einstellen das es die UTC-Zeit verwendet. Dann bleibt die Bios-Clock damit schön Synchron (das macht mein Gentoo immer per ntp).
Am besten befragst du die Suchmaschine wie man unter deinem Windows die Zeitzone richtig einstellt. Diese Einstellung in der Registry ist z.B. für UTC-Zeit. Die Zeitzone muss man dann trotzdem unter Windows richtig einstellen.
WEblogs.asp.net : Set hardware clock to UTC on Windows
Code: | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
|
:D
Ich bin einfach zu langsam, sollte nicht zwischen dem Posten was essen gehen ^^ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
toralf Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/10034462014367c4dfe33c1.gif)
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Fri Mar 30, 2012 8:23 pm Post subject: |
|
|
Josef.95 wrote: | http://johnreid.it/2007/04/30/dual-booting-causes-clocks-to-go-mental/
Das ganze läuft hier seit Jahren gut und problemlos.
| funktioniert primaUpdateHhm, irgendwie doch noch nicht /Update
(aber Windows ist trotzdem doof)
Last edited by toralf on Mon Apr 23, 2012 8:05 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flammenflitzer Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/409843123410eaf2de9947.gif)
Joined: 25 Nov 2003 Posts: 3541 Location: Berlin
|
Posted: Tue Apr 03, 2012 6:09 am Post subject: |
|
|
clock_systhc="Yes"
funktioniert seit mehreren Tagen.
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Josef.95 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Sep 2007 Posts: 4693 Location: Germany
|
Posted: Tue Sep 25, 2012 11:41 am Post subject: |
|
|
toralf wrote: | Josef.95 wrote: | http://johnreid.it/2007/04/30/dual-booting-causes-clocks-to-go-mental/
Das ganze läuft hier seit Jahren gut und problemlos.
| funktioniert primaUpdateHhm, irgendwie doch noch nicht /Update
(aber Windows ist trotzdem doof) |
@toralf:
Warum, bzw was funktioniert irgendwie doch noch nicht? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
toralf Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/10034462014367c4dfe33c1.gif)
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Tue Sep 25, 2012 3:24 pm Post subject: |
|
|
Josef.95 wrote: |
@toralf:
Warum, bzw was funktioniert irgendwie doch noch nicht? | Das System ist mittlerweile entsorgt - aber Windows hat natürlich rumgezickt und die Uhr nicht (oder sogar falsch ?) verstellt. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|