Hi,
 One more thing i want to add that my eth0 is not dhcp.
thanks,
flukebox



On Feb 16, 2008 5:46 PM, dell core2duo <[EMAIL PROTECTED]> wrote:

>
>
> On Feb 16, 2008 3:41 PM, Peter Humphrey <[EMAIL PROTECTED]> wrote:
>
> > On Friday 15 February 2008 23:55:58 dell core2duo wrote:
> >
> > >  I have a query about network manager. Network manager is rewriting
> > > (actually putting blank there) my resolv.conf everytime it reconnected
> > to
> > > some network by eth0.
> > >  I want to avoid rewriting my resolv.conf. Can i do so ? if yes then
> > how
> > > ?
> >
> > I've tried two things at different times. One is to omit dns_domain_lo
>
>
> > from /etc/conf.d/net, and the other is to "chattr +i /etc/resolv.conf".
> > Both appear to work.
>
>
> I don't have any dns_domain_lo entry in my /etc/conf.d/net file.
> chattr +i /etc/resolv.conf doesn't seems to work for me.
> I guess it is specific to filesystem ext2/3 while i am on  reiserfs.
>
> <snip>
> chattr
>
> chattr [*options*] *mode* *files*
> Modify file attributes. Specific to Linux Second and Third Extended
> Filesystem (ext2 and ext3). Behaves similarly to symbolic *chmod*, using *
> +*, *-*, and *=*. *mode* is in the form *opcode attribute*. See also *
> lsattr*
> </snip>
>
> thanks,
> flukebox
>
>
>
> >
> > I do the first of those because I always have (I forget when this
> > variable
> > was introduced, but it wasn't long ago), and the second because I don't
> > want any Gentoo scripts messing up my network configuration.
> >
> > --
> > Rgds
> > Peter
> > --
> > gentoo-user@lists.gentoo.org mailing list
> >
> >
>

Reply via email to