Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] NTP-Client start before net.eth0
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
martchy
n00b
n00b


Joined: 18 Mar 2005
Posts: 4

PostPosted: Wed Jun 22, 2005 9:51 pm    Post subject: [Solved] NTP-Client start before net.eth0 Reply with quote

Hello,

My Ntp-client try to start on boot before net.eth0. Of course don't work.

how can I change my boot order ?

Code:

Runlevel: default

vixie-cron                                                          [ started ]
local                                                               [ started ]
bootsplash                                                          [ started ]
syslog-ng                                                           [ started ]
autoconfig                                                          [ started ]
numlock                                                             [ started ]
hald                                                                [ started ]
netmount                                                            [ started ]
famd                                                                [ started ]
cupsd                                                               [ started ]
ntp-client                                                          [ started ]
net.eth0                                                            [ started ]


Last edited by martchy on Thu Jun 23, 2005 4:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kaboosh
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162
Location: Edmonton, AB - Canada

PostPosted: Thu Jun 23, 2005 2:28 am    Post subject: Easy Reply with quote

Edit /etc/init.d/ntp-client - you should have something like the following:
Code:

depend() {
        before cron
        need net
        use dns logger
}


The "need net" line tells the init process to only load ntp-client after networking has loaded.
Back to top
View user's profile Send private message
martchy
n00b
n00b


Joined: 18 Mar 2005
Posts: 4

PostPosted: Thu Jun 23, 2005 4:31 pm    Post subject: Reply with quote

Solved

Thank you
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