Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to fix thi init script?
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
nivw
Apprentice
Apprentice


Joined: 09 Nov 2005
Posts: 261

PostPosted: Mon Oct 19, 2009 1:55 pm    Post subject: how to fix thi init script? Reply with quote

Hi all,
My pc acts as a "home router" so pcs in my lan can access the internet.
I got an ethernet card (eth1) that connects to wired lan and a wifi card.
I use dnsmasq to run the dhcp for both internel network cards.
I want the dnsmasq service to start working after net.eth1 and net.ra0 start.
so I this is how /etc/init.d/dnsmasq starts :
Quote:

depend() {
provide dns
need localmount
use net.eth1 hostapd
after bootmisc
}


the ehternet card is connected to a switch. if I power down the switch , eth1 goes down, but it causes the dnsmasq service to be stopped as well, thus a laptop tring to connect to the wifi card can't get dhcp.
How to solve this?
Niv
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Oct 19, 2009 4:35 pm    Post subject: Reply with quote

Moved from Portage & Programming to Networking & Security.
better off here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
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