Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problem z zegarem
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)
View previous topic :: View next topic  
Author Message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Fri Aug 03, 2012 8:09 am    Post subject: [Solved] Problem z zegarem Reply with quote

Cześć,

mój zegar systemowy nie chce się przestawić - śpieszy 2 godziny. Próbowałem zgodnie z instrukcją:
Code:
kbo0m-PC zoneinfo # ls
Africa      Arctic    Australia  CST6CDT  Cuba  EST5EDT  Etc      GB       GMT+0  Greenwich  Iceland  Israel   Kwajalein  MST      Mideast  Navajo   Pacific   ROC        Turkey  UTC        WET          localtime   right
America     Asia      Brazil     Canada   EET   Egypt    Europe   GB-Eire  GMT-0  HST        Indian   Jamaica  Libya      MST7MDT  NZ       PRC      Poland    ROK        UCT     Universal  Zulu         posix       zone.tab
Antarctica  Atlantic  CET        Chile    EST   Eire     Factory  GMT      GMT0   Hongkong   Iran     Japan    MET        Mexico   NZ-CHAT  PST8PDT  Portugal  Singapore  US      W-SU       iso3166.tab  posixrules
kbo0m-PC zoneinfo # cp /usr/share/zoneinfo/Poland /etc/localtime
kbo0m-PC zoneinfo # nano -w /etc/timezone
kbo0m-PC zoneinfo # date
Fri Aug  3 12:06:02 CEST 2012
kbo0m-PC zoneinfo #


Przy czym /etc/timezone zmodyfikowałem na "Poland".

Co jest nie tak? Przez to nie mogę skompilować nowego jądra...


Last edited by kbzium on Fri Aug 03, 2012 10:50 am; edited 1 time in total
Back to top
View user's profile Send private message
PabloEsc
n00b
n00b


Joined: 24 Dec 2009
Posts: 40

PostPosted: Fri Aug 03, 2012 8:28 am    Post subject: Reply with quote

1. Jakby nie patrzeć dokumentacja mówi :
Code:
cp /usr/share/zoneinfo/Europe/Warsaw /etc/localtime

2. Instalowałeś ntp ? Bardzo pomaga.
3. Jeżeli to nie pomoże wyrzuć co masz w :
Code:
/etc/conf.d/clock

4. Czy liczysz że zegar teraz sam się ustawi ? Przecież nie ma czegoś takiego jak "nie chce się przestawić". date poza opcją prezentowania daty ma za zadanie ją ustawić to z niej skorzystaj.
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Fri Aug 03, 2012 10:41 am    Post subject: Reply with quote

Przyjmujac, ze masz system z czasem UTC, (nie lokal, jak wymaga windows), odpal:

Code:
rdate -s ntp.task.gda.pl
hwclock --utc --systohc
rm -f /etc/adjtime
Back to top
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Fri Aug 03, 2012 10:50 am    Post subject: Reply with quote

Robiłem razem z dokumentacją na początku, ale Ci tego nie napisałem, nie mogłeś wiedzieć, przepraszam. Uruchomiłem sobie to ntp. Działa :-). Zostało jednak trochę śmieci (te nieudane próby konfiguracji) - no ale mniejsza z tym.

Dziękuję!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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