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