Re: [gentoo-user] Re: Static resolv.conf

2005-10-20 Thread Boyd Stephen Smith Jr.

Sarpy Sam wrote:
Yes, but after a reboot (I daily boot and shut down my computer) the 
file's content is refreshed by the DHCP server. (nameserver 192.168.0.1)


I fixed this problem by adding the  following flags to /etc/conf.d/net on the 

dhcpcd_eth0=-R -N -Y 


line.


Of course, this only works if you are using the gentoo default of 
dhcpcd.  If you use the faster pump, you'll want pump_eth0=-d.


--
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list




[gentoo-user] Re: Static resolv.conf

2005-08-17 Thread Sarpy Sam
   
 
 Yes, but after a reboot (I daily boot and shut down my computer) the 
 file's content is refreshed by the DHCP server. (nameserver 192.168.0.1)
 -- 
 gentoo-user@gentoo.org mailing list
 
 
I fixed this problem by adding the  following flags to /etc/conf.d/net on the 

dhcpcd_eth0=-R -N -Y 

line.

-R Prevents  dhcpcd  from  replacing  existing etcDir/resolv.conf file.

 -Y Prevents dhcpcd from replacing existing  etcDir/yp.conf  file.
  Domainname is not updated unless -D is specified.

 -N Prevents  dhcpcd from replacing existing etcDir/ntp.conf file.


-- 
Sarpy Sam

-- 
gentoo-user@gentoo.org mailing list