Re: [gentoo-user] What overwrites resolv.conf

2008-04-27 Thread Peter Humphrey
On Wednesday 23 April 2008 21:00:25 Alan McKinnon wrote: > My solution: don't use static ip's at home, set up a dhcp server with a > permanent lease for your machine, then have it download the resolv.conf > that you really do want at home. My solution was simply to "chattr +i /etc/resolv.conf", b

Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Alan McKinnon
On Wednesday 23 April 2008, Michael Higgins wrote: > I received a used laptop a week or so ago, wiped the tinker-toy OS > offered with it and proceeded to do the right thing. So far, I have > got a machine I can (manually) put to sleep and use on a wireless > network. So far, so good. > > At home,

Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Michael Higgins
On Wed, 23 Apr 2008 13:03:55 -0400 Mike Edenfield <[EMAIL PROTECTED]> wrote: > Michael Higgins wrote: > > > So, what overwrites it, when, how, and how to stop it? Is there a > > definitive guide to the syntax of the various config files? Or, > > BETTER YET, is there anyone who has a smoothly-func

Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Michal 'vorner' Vaner
Hello On Wed, Apr 23, 2008 at 09:07:29AM -0700, Michael Higgins wrote: > So, what overwrites it, when, how, and how to stop it? Is there a > definitive guide to the syntax of the various config files? Or, BETTER > YET, is there anyone who has a smoothly-functioning configuration to > switch betwee

Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Mike Edenfield
Michael Higgins wrote: So, what overwrites it, when, how, and how to stop it? Is there a definitive guide to the syntax of the various config files? Or, BETTER YET, is there anyone who has a smoothly-functioning configuration to switch between wireless DHCP and connected hard-wired net setups an

Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Chris Brennan
add this to your /etc/conf.d/net dns_servers_ESSID=( "192.168.0.1" "192.168.0.2" ) dns_domain_ESSID="some.domain" dns_search_ESSID="search.this.domain search.that.domain" you can also swap-out ESSID for eth0/wlan0 respectivly if they settings differ. This way, when you start the rspective devi

[gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Michael Higgins
I received a used laptop a week or so ago, wiped the tinker-toy OS offered with it and proceeded to do the right thing. So far, I have got a machine I can (manually) put to sleep and use on a wireless network. So far, so good. At home, I don't have a wireless AP, but a 50-ft. ethernet cable. When