Set Date And Time on Debian
Hmm.. yesterday i try to upgrade my Debian Box with my nearest mirror , but i dont know what someting error like that ;)
fisrt step to check my debian is check the time and date on debian, whoala my date&time not uptodate ;)
To Set Date in debian with Command
#date -–set 2008-07-23 (format : yyyy-mm-dd)
and then set the time
#date --set 16:10:00 (format : hh:mm:ss)
# hwclock -–systohc --utc (to to sync hardware clock to what we introduced earlier)
if emerge errors like this
"select() to /dev/rtc to wait for clock tick timed out"
Try from the command line
#hwclock --systohc --utc --directisa
if that works with no errors, edit /etc/init.d/hwclock.sh
and change the line:
HWCLOCKPARS=
to
HWCLOCKPARS="--directisa"
and now you can syncronise date from /etc/init.d/hwclock.sh
# /etc/init.d/hwclock.sh
And then i try again to update my debian, eng ing eng....>
update success ;)
0 komentar:
Post a Comment