View previous topic :: View next topic |
Author |
Message |
arzed n00b

Joined: 25 Jan 2006 Posts: 25
|
Posted: Sat Dec 23, 2006 1:13 pm Post subject: conf.d/net, adsl and resolv.conf |
|
|
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 |
|
 |
abc0815 n00b

Joined: 07 Jul 2004 Posts: 54
|
|
Back to top |
|
 |
|