Tuesday, April 14, 2009

How To Remove A Warrant Block

Set the system time and hwclock


Often access to a Linux server and discover that the system time is completely wrong. Replace things is simple, if you do not forget that Linux is the system time separately and the hardware clock. It is not enough then adjust the system time with the `date` as the first server reboot the system time would be reset automatically synchronized with the clock hardware and nullifying the change made. We must therefore move in two simple steps:


First set the time using the command 'date':
dates - set

16:11

    Then impose the system clock (hardware) the same time using the synchronization command :

  1. hwclock - DirectISO - systohc - utc
  2. If you work with Debian, the-DirectISO must also be specified in the script / etc / init.d / hwclock.sh, which should be replaced line:
    HWCLOCKPARS =

with the line:

HWCLOCKPARS = "- DirectISO"

This is what ...

0 comments:

Post a Comment