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

Replies

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