Re: /etc/resolv.conf keeps getting overwritten

2003-03-14 Thread Subba Rao
Hello, I am having the same problem and have read all replies on this thread. My /etc/dhclient.conf has the following entries only (and nothing else): == prepend domain-name-servers 127.0.0.1, 10.2.0.25; supersede domain-name "homenet.cablespeed.com cablespeed.com

Re: /etc/resolv.conf keeps getting overwritten

2003-03-14 Thread Subba Rao
Hello, I am having the same problem and have read all replies on this thread. My /etc/dhclient.conf has the following entries only (and nothing else): == prepend domain-name-servers 127.0.0.1, 10.2.0.25; supersede domain-name "homenet.cablespeed.com cablespeed.com

Re: /etc/resolv.conf keeps getting overwritten

2003-01-07 Thread Kenneth Dombrowski
Nori Heikkinen wrote: on Sat, 04 Jan 2003 05:19:39PM -0500, Derrick 'dman' Hudson insinuated: A better solution is to edit /etc/dhclient.conf. Use one of append search foo.example bar.example prepend search foo.example bar.example depending on the effect you want. okay, i've been tryin

Re: /etc/resolv.conf keeps getting overwritten

2003-01-06 Thread alex
Duly noted in my notebook...Thank you Alex Bob Proulx wrote: alex <[EMAIL PROTECTED]> [2003-01-04 19:54:47 -0500]: For the benefit of someone who doesn't have much experience and occasionally has a problem understanding generalizations, could you elaborate a bit on these? Let me try. "A

Re: /etc/resolv.conf keeps getting overwritten

2003-01-05 Thread John Hasler
will trillich writes: > sequence might matter. presumably... The last instance of 'search' is the only one that counts. man resolv.conf -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troubl

Re: /etc/resolv.conf keeps getting overwritten

2003-01-05 Thread will trillich
On Sat, Jan 04, 2003 at 07:54:47PM -0500, alex wrote: > David Gardner wrote: > >Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: > > > >>A better solution is to edit /etc/dhclient.conf. Use one of > >> append search foo.example bar.example > >> prepend search foo.example bar.example > >>depen

Re: dpkg -s (was /etc/resolv.conf keeps getting overwritten)

2003-01-05 Thread Colin Watson
On Sun, Jan 05, 2003 at 09:56:20PM -0500, Geordie Birch wrote: > said Colin Watson (on 2003-01-05), > > Find the package in which it resides (using 'dpkg -S' or 'dlocate'), > > then run 'dpkg -s '. The conffiles will be listed. > > dpkg -s xserver-xfree86 reports no conffiles. is this because the

dpkg -s (was /etc/resolv.conf keeps getting overwritten)

2003-01-05 Thread Geordie Birch
said Colin Watson (on 2003-01-05), > Find the package in which it resides (using 'dpkg -S' or 'dlocate'), > then run 'dpkg -s '. The conffiles will be listed. dpkg -s xserver-xfree86 reports no conffiles. is this because the file is generated by debconf rather than included in the .deb? Geordie

Re: /etc/resolv.conf keeps getting overwritten

2003-01-05 Thread Nori Heikkinen
on Sat, 04 Jan 2003 05:19:39PM -0500, Derrick 'dman' Hudson insinuated: > A better solution is to edit /etc/dhclient.conf. Use one of > append search foo.example bar.example > prepend search foo.example bar.example > depending on the effect you want. okay, i've been trying this, and i mu

Re: /etc/resolv.conf keeps getting overwritten

2003-01-05 Thread Bob Proulx
Colin Watson <[EMAIL PROTECTED]> [2003-01-05 13:40:44 +]: > > > How is it possible to know that it is marked as a conffile? > > Find the package in which it resides (using 'dpkg -S' or 'dlocate'), > then run 'dpkg -s '. The conffiles will be listed. It is exactly what I was asking for. Howe

Re: /etc/resolv.conf keeps getting overwritten

2003-01-05 Thread Colin Watson
On Sat, Jan 04, 2003 at 10:11:28PM -0700, Bob Proulx wrote: > Colin Watson <[EMAIL PROTECTED]> [2003-01-05 03:58:02 +]: > > On Sat, Jan 04, 2003 at 05:23:13PM -0600, Ron Johnson wrote: > > > Of course, if apt-get ever updates dhclient, the package may overwrite > > > /etc/dhclient-script, so ke

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Bob Proulx
alex <[EMAIL PROTECTED]> [2003-01-04 19:54:47 -0500]: > For the benefit of someone who doesn't have much experience > and occasionally has a problem understanding > generalizations, could you elaborate a bit on these? Let me try. > "A better solution is to edit /etc/dhclient.conf. Since dhcpcl

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Bob Proulx
Colin Watson <[EMAIL PROTECTED]> [2003-01-05 03:58:02 +]: > On Sat, Jan 04, 2003 at 05:23:13PM -0600, Ron Johnson wrote: > > Of course, if apt-get ever updates dhclient, the package may overwrite > > /etc/dhclient-script, so keep a seperate copy > > No, it won't. /etc/dhclient-script is ma

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Colin Watson
On Sat, Jan 04, 2003 at 05:23:13PM -0600, Ron Johnson wrote: > On Sat, 2003-01-04 at 16:25, Nori Heikkinen wrote: > > great, i just modified the script to add my info in each time. that > > should take care of it. thanks! > > Of course, if apt-get ever updates dhclient, the package may overwrite

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread alex
David Gardner wrote: Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: A better solution is to edit /etc/dhclient.conf. Use one of append search foo.example bar.example prepend search foo.example bar.example depending on the effect you want. -D I agree, that is a much much better so

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Derrick 'dman' Hudson
On Sun, Jan 05, 2003 at 09:51:52AM +1100, David Gardner wrote: | Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: | > | > A better solution is to edit /etc/dhclient.conf. Use one of | > append search foo.example bar.example | > prepend search foo.example bar.example | > depending on the e

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Nori Heikkinen
on Sat, 04 Jan 2003 05:19:39PM -0500, Derrick 'dman' Hudson insinuated: > On Sun, Jan 05, 2003 at 09:01:57AM +1100, David Gardner wrote: > | Nori Heikkinen <[EMAIL PROTECTED]> wrote: > | > | > | > i don't changed anything as root between relapses, so i can't figure > | > out what's causing this.

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Ron Johnson
On Sat, 2003-01-04 at 16:25, Nori Heikkinen wrote: > on Sun, 05 Jan 2003 09:01:57AM +1100, David Gardner insinuated: > > Nori Heikkinen <[EMAIL PROTECTED]> wrote: > > > > > i don't changed anything as root between relapses, so i can't figure > > > out what's causing this. any ideas? > > > > If y

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread David Gardner
Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote: > > A better solution is to edit /etc/dhclient.conf. Use one of > append search foo.example bar.example > prepend search foo.example bar.example > depending on the effect you want. > > -D I agree, that is a much much better solution. *grin

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Bob Hilliard
Nori Heikkinen <[EMAIL PROTECTED]> writes: > as root, i modified the "search" line in my new box's /etc/resolv.conf > to include a few more domains i want searched. the changes persist > anywhere from two minutes to two hours, but it always seems to get > overwritten with the initial one! this i

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Nori Heikkinen
on Sun, 05 Jan 2003 09:01:57AM +1100, David Gardner insinuated: > Nori Heikkinen <[EMAIL PROTECTED]> wrote: > > > i don't changed anything as root between relapses, so i can't figure > > out what's causing this. any ideas? > > If you're using dhclient, check out /etc/dhclient-script. There's a

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Derrick 'dman' Hudson
On Sun, Jan 05, 2003 at 09:01:57AM +1100, David Gardner wrote: | Nori Heikkinen <[EMAIL PROTECTED]> wrote: | | | > i don't changed anything as root between relapses, so i can't figure | > out what's causing this. any ideas? | If you're using dhclient, check out /etc/dhclient-script. There's a

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Jeffrey Taylor
Your DHCP client is probably overwriting /etc/resolv.conf. Do a "man dhclient.conf" for details how to configure. Possibly adding the following line to /etc/dhclient.conf will do it. append domain-name "domain1.com domain2.com"; HTH, Jeffrey Quoting Nori Heikkinen <[EMAIL PROTECTED]>: > as r

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread nate
Nori Heikkinen said: > as root, i modified the "search" line in my new box's /etc/resolv.conf to > include a few more domains i want searched. the changes persist anywhere > from two minutes to two hours, but it always seems to get overwritten with > the initial one! this is really obnoxious, as

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread David Gardner
Nori Heikkinen <[EMAIL PROTECTED]> wrote: > i don't changed anything as root between relapses, so i can't figure > out what's causing this. any ideas? > > thanks, > > Hi, If you're using dhclient, check out /etc/dhclient-script. There's a function make_resolv_conf() in there which overwrite

Re: /etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Hanasaki JiJi
running a dhcp client that may be overwritting it? Nori Heikkinen wrote: as root, i modified the "search" line in my new box's /etc/resolv.conf to include a few more domains i want searched. the changes persist anywhere from two minutes to two hours, but it always seems to get overwritten with t

/etc/resolv.conf keeps getting overwritten

2003-01-04 Thread Nori Heikkinen
as root, i modified the "search" line in my new box's /etc/resolv.conf to include a few more domains i want searched. the changes persist anywhere from two minutes to two hours, but it always seems to get overwritten with the initial one! this is really obnoxious, as i don't want to have to keep