Wednesday, November 24, 2010

Configuring Clock & Date

1. Configuring Clock
It is observed that few Debian Linux doesn't show correct time even after configuring from the panel. There is a solution to fix it.

#vim(or gedit) /etc/init.d/hwclock.sh

Scroll down your mouse until you find "HWCLOCKPARS= " - edit this to HWCLOCKPARS="--directisa" and save it.

Do the same thing for:

#vim /etc/init.d/hwclockfirst.sh
Hope, this will work for you all!
2. Configuring Clock and Date
To fix both date and time at once, run in terminal:

#date 030216302010


The color red is for month; blue for date; brown for time and white for year.

No comments:

Post a Comment