View previous topic :: View next topic |
Author |
Message |
hdok n00b
Joined: 12 Jun 2002 Posts: 18 Location: Venlo, The Netherlands
|
Posted: Fri Jul 05, 2002 8:13 pm Post subject: PC off -> time stands still, ntp configuration problem? |
|
|
Hello,
I have a problem with ntp and the time on my machine.
It seems that each time I switch off my PC the clock
does not tick until I switch it on again. When it is
switched on again ntpd gives up because it finds
8 hours is too much a difference.
If I first set the time manually to a more correct time ntp seems to be synchronising just fine.(And indeed makes a minor corection).
I must be doing something very stupid, so if someone can help me make this work properly I would sure be glad.
Thanx,
Dries _________________ Dries.
You can have it fast, cheap or correct: pick 2 |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20485
|
Posted: Fri Jul 05, 2002 8:36 pm Post subject: |
|
|
Is your CMOS battery dead? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
hdok n00b
Joined: 12 Jun 2002 Posts: 18 Location: Venlo, The Netherlands
|
Posted: Fri Jul 05, 2002 8:46 pm Post subject: |
|
|
Nope,
In (dual boot) windows there is no problem.
In gentoo Linux it seems like the time is saved to disk during shutdown and picked up again during start up (don't
know if that is actually the case but that's what it looks like,sure does sound silly) _________________ Dries.
You can have it fast, cheap or correct: pick 2 |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Jul 05, 2002 9:02 pm Post subject: |
|
|
Is your hardware clock set to the system time or the local time? You need to sync. gentoo's settings to that.
hdok wrote: | Nope,
In (dual boot) windows there is no problem.
In gentoo Linux it seems like the time is saved to disk during shutdown and picked up again during start up (don't
know if that is actually the case but that's what it looks like,sure does sound silly) |
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20485
|
Posted: Fri Jul 05, 2002 10:12 pm Post subject: |
|
|
Check the /etc/rc.conf file. Look for a CLOCK= line. It should be set to CLOCK="local"
for dual-booting with Windows. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
maystorm Apprentice
Joined: 02 Jun 2002 Posts: 222 Location: Germany, not far away
|
Posted: Sat Jul 06, 2002 1:15 am Post subject: |
|
|
Does removing /etc/adjtime make any difference? _________________ Linux user #216018 |
|
Back to top |
|
|
hdok n00b
Joined: 12 Jun 2002 Posts: 18 Location: Venlo, The Netherlands
|
Posted: Sun Jul 07, 2002 8:45 am Post subject: |
|
|
I have checked the things you have suggested and I already
had clock set LOCAL.
Removing /etc/adjtime did do the trick.
Ntp (and more important) the time on my PC is now correct.
Maybe the adjtime was created a few weeks ago when clock was
still UTC
Thanx all,
Dries _________________ Dries.
You can have it fast, cheap or correct: pick 2 |
|
Back to top |
|
|
|