Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem z ustawieniem zegara
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) Polish OTW
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Tue Apr 05, 2011 2:56 pm    Post subject: Problem z ustawieniem zegara Reply with quote

Witam,

Po zmianie czasu mój zegar pokazuję czas o 1 godz. do przodu. Gdy zmieniłem czas za pomocą komendy date jako root, po kolejnym restarcie znowu mam stary czas. Gdy próbuje zmienić czas pod KDE (jako czy jako root, pokazuję mi się błąd:
Quote:
unable to authenticate/execute the action: 6


Co zrobić?
Back to top
View user's profile Send private message
gexcite
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2005
Posts: 116

PostPosted: Tue Apr 05, 2011 3:52 pm    Post subject: Reply with quote

W biosie zmienić?
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Tue Apr 05, 2011 4:15 pm    Post subject: Reply with quote

wrzuc sobie rdate, a nastepnie:
Code:
rdate -s ntp.task.gda.pl
hwclock --utc --systohc
rm -f /etc/adjtime


Jezeli masz czas 'local' to zamiast --utc analogicznie --local. Zakladam tez, ze masz ustawiona ladnie strefe czasowa.
Back to top
View user's profile Send private message
happ
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2008
Posts: 117

PostPosted: Fri Apr 08, 2011 8:18 am    Post subject: Reply with quote

ja u siebie miałem ten sam problem i zrobiłem to tak

w pliku /etc/conf.d/clock zmienne ustawiłem na następujące

Code:
CLOCK="UTC"
TIMEZONE="Europe/Warsaw"
CLOCK_SYSTOHC="no"
SRM="no"
ARC="no"


i po restarcie mam taki sam czas jak na windows i linux
_________________
Jeśli wiesz, że nic nie wiesz, to coś wiesz, Jeśli wiesz że nic nie wiesz, to nic nie wiesz, więc nie wierz, że nic nie wiesz
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu May 12, 2011 3:51 pm    Post subject: Reply with quote

happ wrote:
ja u siebie miałem ten sam problem i zrobiłem to tak

w pliku /etc/conf.d/clock zmienne ustawiłem na następujące



Dzięki Slash i haap. Działały u mnie obydwie opcje, jednakże po ostatnim update systemu nie mam pliku /etc/conf.d/clock. :(

Code:
# ls /etc/conf.d/
acpid      consolefont    dmesg          gpm       keymaps     mysql         network    rc         sshd         udev
alsasound  crypto-loop    env_whitelist  hald      localmount  mysqlmanager  pciparm    rdate      staticroute  urandom
bluetooth  device-mapper  fsck           hostname  lvm         net           pydoc-2.7  rsyncd     sysklogd     wireless.example
bootmisc   dmcrypt        git-daemon     hwclock   modules     net.example   pydoc-3.1  saslauthd  twistd       xdm
Back to top
View user's profile Send private message
Garrappachc
Guru
Guru


Joined: 26 Dec 2008
Posts: 362
Location: Kraków

PostPosted: Thu May 12, 2011 5:02 pm    Post subject: Reply with quote

/etc/conf.d/hwclock. Nowe OpenRC.
_________________
De profundis clamavi ad Te, Domine

emerge --info | virtual aviation
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Tue May 17, 2011 8:04 am    Post subject: Reply with quote

Garrappachc wrote:
/etc/conf.d/hwclock. Nowe OpenRC.


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