Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help start dnsmasq when eth0 times-out? [SOLVED]
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
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 171
Location: Las Vegas, NV

PostPosted: Sun Feb 03, 2013 7:16 pm    Post subject: help start dnsmasq when eth0 times-out? [SOLVED] Reply with quote

Hello, I have a computer configured as a wifi hotspot/router. Eth0 is cable to upstream dhcp server (Comcast/etc). Wlan0 is a usb wifi adapter and the target interface of dnsmasq. Starting dnsmasq necessarily attempts to start eth0 ... I guess for dns-forwarding purposes? ... If eth0 does not obtain an ip (i.e. not plugged in) then dnsmasq fails to start and I cannot connect via Wifi to the router, which is my problem. I need dnsmasq to start even if eth0 fails to get an ip. Thank you for any help!
-C


Last edited by ccosse on Tue Feb 05, 2013 4:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 509
Location: North~Sea~Coa~s~~t~~~

PostPosted: Mon Feb 04, 2013 8:21 pm    Post subject: Reply with quote

Hi,

You could try a few things...
- edit /etc/init.d/dnsmasq to depend on net.wlan0 instead of just net
- bridging wlan0 to br0, and and set interface=br0 in /etc/dnsmasq.conf
- rc_depend_strict="NO" in /etc/rc.conf
Back to top
View user's profile Send private message
ccosse
Apprentice
Apprentice


Joined: 10 Mar 2004
Posts: 171
Location: Las Vegas, NV

PostPosted: Tue Feb 05, 2013 4:37 pm    Post subject: Reply with quote

Dear lost+found,

Thank you v.v.v.v.v much! I did options 1,3 from your suggestions and it works like I want now. Thank you again!

-Charles
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