Gentoo Archives: gentoo-user

From: Jerry McBride <mcbrides9@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically
Date: Fri, 20 Apr 2007 21:41:48
Message-Id: 200704201733.19224.mcbrides9@comcast.net
1 On Thursday 19 April 2007 11:32:19 pm Danyelle Gragsone wrote:
2 > Hi,
3 >
4 > I tried rewritting my conf.d/net file the way you explained. I still
5 > can not get networking to work unless I edit my resolv.conf. Any
6 > Suggestions?
7 >
8
9 Sorry, no.
10
11 > On 4/16/07, Jerry McBride <mcbrides9@×××××××.net> wrote:
12 > > On Monday 16 April 2007 07:01:11 am arnuld wrote:
13 > > > on every boot Gentoo cleans up the "/etc/resolv.conf" :-(
14 > > >
15 > > > any solution ?
16 > > >
17 > > > ----- /etc/hosts ----------
18 > > > 127.0.0.1 gnu.planet gnu localhost
19 > > >
20 > > > ::1 localhost
21 > > >
22 > > > ------ /etc/conf.d/net ---------
23 > > > dns_domain_lo="planet"
24 > > >
25 > > > config_eth0=( "192.168.0.2/24" )
26 > > > routes_eth0=( "default via 192.168.0.1" )
27 > > >
28 > > >
29 > > > --
30 > > > http://arnuld.blogspot.com/
31 > >
32 > > Yes... this is typical of the later versions of baselayout. You have to
33 > > enter your dns info into the file ate /etc/conf.d/net... Like this...
34 > >
35 > > #/etc/conf.d/net
36 > > modules=("ifconfig")
37 > > config_eth0=("192.168.0.12 netmask 255.255.255.0 broadcast
38 > > 192.168.0.255") routes_eth0=("default via 192.168.0.1")
39 > > dns_domain_eth0=("my.domain")
40 > > dns_search_eth0=("search hsd99.nj.comcast.net.")
41 > > dns_servers_eth0=("68.87.75.194 68.87.64.146")
42 > >
43 > >
44 > >
45 > >
46 > >
47 > > --
48 > >
49 > > --
50 > >
51 > > Jerry McBride
52 > > --
53 > > gentoo-user@g.o mailing list
54
55
56
57 --
58
59
60 Jerry McBride
61 --
62 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>
Re: [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>