[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fixing dates?



>>>>> "Adam" == Adam Shand <larry@earthlight.co.nz> writes:

    >> How do i permently fix a date on a debian system?  Its set to
    >> GMT, should i turn this off?  Using date -s it works until the
    >> next reboot, then it reverts to the wrong date again...?

    > What I do is sync the clock from one of our servers using
    > netdate and then use clock to set the BIOS clock so that it
    > doesn't get reset on boot up.

    > eg.  netdate time.domain.net | clock -w

    > seems to do the trick with us.

    > It's also a good idea to remove the -u in the /etc/init.d/boot
    > (search for GMT) unless your clock is actually set to GMT.

I do:
# netdate time.domain.net
# clock -u -w
... and it sets me to GMT.

Karl M. Hegbloom <karlheg@inetarena.com>
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.2  Linux 2.0.29t
You tell me and we'll both know.



Reply to: