Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst]Gentoo verstellt die Systemuhr
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3463
Location: Berlin

PostPosted: Fri Mar 30, 2012 3:49 pm    Post subject: [gelöst]Gentoo verstellt die Systemuhr Reply with quote

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
View user's profile Send private message
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Fri Mar 30, 2012 4:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Fri Mar 30, 2012 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 508

PostPosted: Fri Mar 30, 2012 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4509
Location: Germany

PostPosted: Fri Mar 30, 2012 7:11 pm    Post subject: Reply with quote

Code:
clock="local"

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
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2389
Location: Germany

PostPosted: Fri Mar 30, 2012 7:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Fri Mar 30, 2012 8:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3463
Location: Berlin

PostPosted: Tue Apr 03, 2012 6:09 am    Post subject: Reply with quote

clock_systhc="Yes"
funktioniert seit mehreren Tagen.
Danke
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4509
Location: Germany

PostPosted: Tue Sep 25, 2012 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Tue Sep 25, 2012 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum