* Re: [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically
[not found] ` <59f9c5160704192032y2cdca9e1v67b031db85fba8aa@mail.gmail.com>
@ 2007-04-20 10:16 ` Mark
2007-04-20 21:33 ` Jerry McBride
1 sibling, 0 replies; 4+ messages in thread
From: Mark @ 2007-04-20 10:16 UTC (permalink / raw
To: gentoo-user
On 20/04/07, Danyelle Gragsone <ladynikon@gmail.com> wrote:
> I tried rewritting my conf.d/net file the way you explained. I still
> can not get networking to work unless I edit my resolv.conf. Any
> Suggestions?
You can pass options to your dhcp client with (in your conf.d/net):
dhcpcd_eth0="-R"
(-R = Prevents dhcpcd from replacing existing /etc/resolv.conf file.)
Mark
PS: Please remeber topposting kills kittens
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically
[not found] ` <59f9c5160704192032y2cdca9e1v67b031db85fba8aa@mail.gmail.com>
2007-04-20 10:16 ` [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically Mark
@ 2007-04-20 21:33 ` Jerry McBride
2007-04-20 21:39 ` Arturo 'Buanzo' Busleiman
2007-04-20 21:41 ` Arturo 'Buanzo' Busleiman
1 sibling, 2 replies; 4+ messages in thread
From: Jerry McBride @ 2007-04-20 21:33 UTC (permalink / raw
To: gentoo-user
On Thursday 19 April 2007 11:32:19 pm Danyelle Gragsone wrote:
> Hi,
>
> I tried rewritting my conf.d/net file the way you explained. I still
> can not get networking to work unless I edit my resolv.conf. Any
> Suggestions?
>
Sorry, no.
> On 4/16/07, Jerry McBride <mcbrides9@comcast.net> wrote:
> > On Monday 16 April 2007 07:01:11 am arnuld wrote:
> > > on every boot Gentoo cleans up the "/etc/resolv.conf" :-(
> > >
> > > any solution ?
> > >
> > > ----- /etc/hosts ----------
> > > 127.0.0.1 gnu.planet gnu localhost
> > >
> > > ::1 localhost
> > >
> > > ------ /etc/conf.d/net ---------
> > > dns_domain_lo="planet"
> > >
> > > config_eth0=( "192.168.0.2/24" )
> > > routes_eth0=( "default via 192.168.0.1" )
> > >
> > >
> > > --
> > > http://arnuld.blogspot.com/
> >
> > Yes... this is typical of the later versions of baselayout. You have to
> > enter your dns info into the file ate /etc/conf.d/net... Like this...
> >
> > #/etc/conf.d/net
> > modules=("ifconfig")
> > config_eth0=("192.168.0.12 netmask 255.255.255.0 broadcast
> > 192.168.0.255") routes_eth0=("default via 192.168.0.1")
> > dns_domain_eth0=("my.domain")
> > dns_search_eth0=("search hsd99.nj.comcast.net.")
> > dns_servers_eth0=("68.87.75.194 68.87.64.146")
> >
> >
> >
> >
> >
> > --
> >
> > --
> >
> > Jerry McBride
> > --
> > gentoo-user@gentoo.org mailing list
--
Jerry McBride
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically
2007-04-20 21:33 ` Jerry McBride
@ 2007-04-20 21:39 ` Arturo 'Buanzo' Busleiman
2007-04-20 21:41 ` Arturo 'Buanzo' Busleiman
1 sibling, 0 replies; 4+ messages in thread
From: Arturo 'Buanzo' Busleiman @ 2007-04-20 21:39 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I missed the rest of the thread, so forgive me if this has been already proposed:
If you're using dhcp, try this in /etc/conf.d/net:
dhcpcd_eth0="-R"
- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
Foros GNU/Buanzo: Respeto, Soluciones y Buena Onda: http://foros.buanzo.com.ar
Consulting and Secure Mail Hosting: http://www.buanzo.com.ar/pro/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGKTMGAlpOsGhXcE0RClxaAJ0bROBA05U0lZyI7KI5Kq/2/VnpBwCfRSuX
zaG3aawkGauS4QGj94wAWys=
=WqWN
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically
2007-04-20 21:33 ` Jerry McBride
2007-04-20 21:39 ` Arturo 'Buanzo' Busleiman
@ 2007-04-20 21:41 ` Arturo 'Buanzo' Busleiman
1 sibling, 0 replies; 4+ messages in thread
From: Arturo 'Buanzo' Busleiman @ 2007-04-20 21:41 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
You can also try finding where the DNS comes from:
cat /etc/resolv.conf
Take one of the IPs, then:
find /etc -type f -exec grep -H IP_FROM_RESOLV_CONF "{}" \;
- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
Foros GNU/Buanzo: Respeto, Soluciones y Buena Onda: http://foros.buanzo.com.ar
Consulting and Secure Mail Hosting: http://www.buanzo.com.ar/pro/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGKTOBAlpOsGhXcE0RCm2kAJ9BCHeOpyuLUeMZHPwylJEduYcoegCfQkSR
kA06svo6i+CBN6M8l6UfGi8=
=Bigf
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-20 21:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <ecc395cb0704160401v7fb65a83xec5f75be2b52275b@mail.gmail.com>
[not found] ` <200704160718.16556.mcbrides9@comcast.net>
[not found] ` <59f9c5160704192032y2cdca9e1v67b031db85fba8aa@mail.gmail.com>
2007-04-20 10:16 ` [gentoo-user] Gentoo rewrites "/etc/resolv.conf" automatically Mark
2007-04-20 21:33 ` Jerry McBride
2007-04-20 21:39 ` Arturo 'Buanzo' Busleiman
2007-04-20 21:41 ` Arturo 'Buanzo' Busleiman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox