Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntp-client started BEFORE the adsl link is up ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
paras_rasmatazz
n00b
n00b


Joined: 21 Apr 2004
Posts: 39

PostPosted: Wed Apr 21, 2004 3:49 pm    Post subject: ntp-client started BEFORE the adsl link is up ? Reply with quote

I want to get an initial date from an ntp server during boot, but since the /etc/init.d/ntp-client script is started before adsl, i never can connect to an ntp server. Does this seem right ? I tried changing the dependencies in the /etc/init.d/script, but this moves certain other services to the wrong position. I don't want to change all the dependencies just so that ntp-client is started after the adsl link is brought up.... As far as i know, the ntpd server just corrects a small drift, but when you're more than, let's say a day, off the ntp server date it refuses to correct the time. So for me the logical order would be:

1. bring up the adsl link
2. get initial date via ntp-client
3. start the ntpd server to correct small drifts

Like i said, everything is in order except the ntp-client should be started after adsl......
Back to top
View user's profile Send private message
mivz
n00b
n00b


Joined: 20 Apr 2004
Posts: 19
Location: Netherlands

PostPosted: Wed Apr 21, 2004 4:30 pm    Post subject: Reply with quote

When I removed mij net.eth0 from my default runlevel, it still started, because of the dependencys whit sshd. But some other services started to early (als ntp-client). So mabey you did not add the service properly and now u have scrued dependencys.
If you are sure the dependencys are wrong and figured it out, u should report a bug.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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