Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]automatyczna zmiana czasu
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
professor1234
n00b
n00b


Joined: 27 Mar 2005
Posts: 62
Location: Kraków, Poland

PostPosted: Wed Aug 24, 2011 4:21 pm    Post subject: [SOLVED]automatyczna zmiana czasu Reply with quote

Witam,

Tym razem inny problem - mam nadzieję że dość banalny i zapewne 1000 razy opisany, ale widocznie słabo szukałem.
Problem polega na tym, że jak ustawiam godzinę, system po restarcie z powrotem zmienia ją na taką jaka była poprzednio.

Strefę czasową ustawiłem na \Europe\Warsaw. W biose godzinę również mam poprawną, local clock mam na UTC.

pzdr,


Last edited by professor1234 on Sat Sep 17, 2011 7:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
lsdudi
Guru
Guru


Joined: 12 Nov 2006
Posts: 392
Location: Warsaw

PostPosted: Thu Aug 25, 2011 7:21 am    Post subject: Reply with quote

jesli masz jako drugi system windows to clock ustawiasz na local jesli to nie to to musisz zaktualizaowac czas w biosie
/etc/conf.d/hwclock
Code:
clock_systohc="YES"

lub uzyć ntp (podczas startu ,clienta, lub deamona aby miec stale aktualna godzine jesli masz "pływający" zegar)
_________________
RLU#416942
Back to top
View user's profile Send private message
madman
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 161
Location: Lodz, Poland

PostPosted: Wed Sep 07, 2011 9:11 am    Post subject: Reply with quote

lsdudi wrote:

lub uzyć ntp


Ja wpisałem do crontaba:
Code:
@reboot                                 /usr/sbin/ntpdate       ntp.certum.pl

i dla pewności co godzinkę:
Code:
00      *       *       *       *       /usr/sbin/ntpdate       ntp.certum.pl

_________________
Kto jest twoim autorytetem moralnym i dlaczego jest nim JPII ?
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Wed Sep 07, 2011 10:34 am    Post subject: Reply with quote

Code:
rdate -s ntp.task.gda.pl
hwclock --utc --systohc
rm -f /etc/adjtime


Jezeli nie masz UTC a Local Time zmien --utc na --local. Po restarcie bedziesz mial dobra godzine.
Back to top
View user's profile Send private message
professor1234
n00b
n00b


Joined: 27 Mar 2005
Posts: 62
Location: Kraków, Poland

PostPosted: Sat Sep 17, 2011 11:59 am    Post subject: [SOLVED] automatyczna zmiana czasu Reply with quote

Dzięki, wszystko działa jak należy.

Zamykam temat.


Last edited by professor1234 on Sat Sep 17, 2011 7:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat Sep 17, 2011 1:52 pm    Post subject: Reply with quote

Sprawdz w regulaminie co powinienes zrobic z tym tematem, skoro rozwiazany.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt 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