> >  
> >
> 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

Reply via email to