Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
conf.d/net, adsl and resolv.conf
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
arzed
n00b
n00b


Joined: 25 Jan 2006
Posts: 25

PostPosted: Sat Dec 23, 2006 1:13 pm    Post subject: conf.d/net, adsl and resolv.conf Reply with quote

hi!

I have here a prob setting up dnsmasq on my router box:

I want to have 2 resolv.conf ... one for the system itself in /etc/resolv.conf which points to nameserver 127.0.0.1 to use the local dnsmasq. dnsmasq itself uses /etc/ppp/resolv.conf which is set to my providers domain-servers when the internet connection is established.

But now i discovered that instead of only setting /etc/ppp/resolv.conf it also deletes my /etc/resolv.conf and replaces it with a symlink to /etc/ppp/resolv.conf. Which is not in any documentation that I've read so far. A grep -R resolv /lib/rcscripts was also inconclusive.

I have set up my internet connection via /etc/conf.d/net as follows:
Code:

config_eth1=( "adsl" )
adsl_user_eth1="xxxxx"


which works fine as concerning the internet connection.

thanks in advance for any hint on this.

greets
arzed
Back to top
View user's profile Send private message
abc0815
n00b
n00b


Joined: 07 Jul 2004
Posts: 54

PostPosted: Sat Dec 23, 2006 1:29 pm    Post subject: Reply with quote

Hi there,
can't help you on your problem since i am using a router to connect to the Internet but i found this post https://forums.gentoo.org/viewtopic-t-320939-highlight-ppp+dnsmasq.html which could solve your problem.
greetz
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