Re: [gentoo-user] Gentoo rewrites /etc/resolv.conf automatically

2007-04-20 Thread Mark

On 20/04/07, Danyelle Gragsone [EMAIL PROTECTED] 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
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo rewrites /etc/resolv.conf automatically

2007-04-20 Thread Jerry McBride
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 [EMAIL PROTECTED] 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
  --
  [EMAIL PROTECTED] mailing list



-- 


Jerry McBride
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo rewrites /etc/resolv.conf automatically

2007-04-20 Thread Arturo 'Buanzo' Busleiman
-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-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo rewrites /etc/resolv.conf automatically

2007-04-20 Thread Arturo 'Buanzo' Busleiman
-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-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo rewrites /etc/resolv.conf automatically

2007-04-19 Thread Danyelle Gragsone

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?

On 4/16/07, Jerry McBride [EMAIL PROTECTED] 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
--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Gentoo rewrites /etc/resolv.conf automatically

2007-04-16 Thread arnuld

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/
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo rewrites /etc/resolv.conf automatically

2007-04-16 Thread Jerry McBride
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
-- 
[EMAIL PROTECTED] mailing list