Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PC off -> time stands still, ntp configuration problem?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hdok
n00b
n00b


Joined: 12 Jun 2002
Posts: 18
Location: Venlo, The Netherlands

PostPosted: Fri Jul 05, 2002 8:13 pm    Post subject: PC off -> time stands still, ntp configuration problem? Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16090
Location: Colorado

PostPosted: Fri Jul 05, 2002 8:36 pm    Post subject: Reply with quote

Is your CMOS battery dead?
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
hdok
n00b
n00b


Joined: 12 Jun 2002
Posts: 18
Location: Venlo, The Netherlands

PostPosted: Fri Jul 05, 2002 8:46 pm    Post subject: Reply with quote

Nope,

In (dual boot) windows :oops: 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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Fri Jul 05, 2002 9:02 pm    Post subject: Reply with quote

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 :oops: 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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16090
Location: Colorado

PostPosted: Fri Jul 05, 2002 10:12 pm    Post subject: Reply with quote

Check the /etc/rc.conf file. Look for a CLOCK= line. It should be set to CLOCK="local"
for dual-booting with Windows.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
maystorm
Apprentice
Apprentice


Joined: 02 Jun 2002
Posts: 212
Location: Germany, not far away

PostPosted: Sat Jul 06, 2002 1:15 am    Post subject: Reply with quote

Does removing /etc/adjtime make any difference?
_________________
Linux user #216018
Back to top
View user's profile Send private message
hdok
n00b
n00b


Joined: 12 Jun 2002
Posts: 18
Location: Venlo, The Netherlands

PostPosted: Sun Jul 07, 2002 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum