Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
once again: starting dhcpcd before samba
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
bjoern
n00b
n00b


Joined: 27 Apr 2002
Posts: 10

PostPosted: Wed May 01, 2002 7:17 am    Post subject: once again: starting dhcpcd before samba Reply with quote

Hello guys,

I still haven't solved this problem... How the Hell is it possible to start dhcpcd (the _client_-daemon) _before_ samba.
Right now i put /sbin/dhcpcd in local.start and added the samba startup-script from /etc/init.d to the default runlevel.

Please help....

bjoern
Back to top
View user's profile Send private message
Sylhouette
n00b
n00b


Joined: 18 Apr 2002
Posts: 70
Location: Beverwijk , Holland

PostPosted: Wed May 01, 2002 8:18 am    Post subject: Reply with quote

i think you have to edit the dhcpd file in /etc/init.d

there is a option depend in the file

it looks like

Code:
 depend() {
bla bla
}


At bla bla give the option :

Code:
 before samba



I think this will work

Good luck

If that does not work try reading the documentation: Gentoo rc-scripts guide, maybe i overlooked something
Back to top
View user's profile Send private message
bjoern
n00b
n00b


Joined: 27 Apr 2002
Posts: 10

PostPosted: Wed May 01, 2002 9:06 am    Post subject: Reply with quote

Alright, thank you so far,

but due to the fact that I need to use the CLIENT there is no init script there is just one for the server deamon....
Back to top
View user's profile Send private message
earlydaysofsin
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Wed May 01, 2002 12:57 pm    Post subject: Reply with quote

on dirty method would be to initialize net.eth0 in the boot runlevel rather than the default level ... im not sure how g2 decides the order in which to initialize the services within the runlevel
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