Gentoo Archives: gentoo-user

From: dell core2duo <gentoomail.dell@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user][Query] Network Manager
Date: Sat, 16 Feb 2008 12:17:45
Message-Id: e5e065050802160416g26ab7158r1bc53b74114a3644@mail.gmail.com
In Reply to: Re: [gentoo-user][Query] Network Manager by Peter Humphrey
1 On Feb 16, 2008 3:41 PM, Peter Humphrey <peter@××××××××××××××.org> wrote:
2
3 > On Friday 15 February 2008 23:55:58 dell core2duo wrote:
4 >
5 > > I have a query about network manager. Network manager is rewriting
6 > > (actually putting blank there) my resolv.conf everytime it reconnected
7 > to
8 > > some network by eth0.
9 > > I want to avoid rewriting my resolv.conf. Can i do so ? if yes then how
10 > > ?
11 >
12 > I've tried two things at different times. One is to omit dns_domain_lo
13
14
15 > from /etc/conf.d/net, and the other is to "chattr +i /etc/resolv.conf".
16 > Both appear to work.
17
18
19 I don't have any dns_domain_lo entry in my /etc/conf.d/net file.
20 chattr +i /etc/resolv.conf doesn't seems to work for me.
21 I guess it is specific to filesystem ext2/3 while i am on reiserfs.
22
23 <snip>
24 chattr
25
26 chattr [*options*] *mode* *files*
27 Modify file attributes. Specific to Linux Second and Third Extended
28 Filesystem (ext2 and ext3). Behaves similarly to symbolic *chmod*, using *+*,
29 *-*, and *=*. *mode* is in the form *opcode attribute*. See also *lsattr*
30 </snip>
31
32 thanks,
33 flukebox
34
35
36
37 >
38 > I do the first of those because I always have (I forget when this variable
39 > was introduced, but it wasn't long ago), and the second because I don't
40 > want any Gentoo scripts messing up my network configuration.
41 >
42 > --
43 > Rgds
44 > Peter
45 > --
46 > gentoo-user@l.g.o mailing list
47 >
48 >

Replies

Subject Author
Re: [gentoo-user][Query] Network Manager dell core2duo <gentoomail.dell@×××××.com>