Hung Dang wrote:

Jarry: You got the empty /etc/resolve.conf because dhcpcd overwrite this file whenever your computer start, to avoid this you only need to set up /etc/conf.d/net (for example config_eth0=( "dhcp" ) ) as suggestion in the Gentoo handbook.

But I do not have dhcp. I have static IP, and I configured network
according to Handbook "8.b. Networking Information"
My /etc/conf.d/net look like:

# a few comment lines
config_eth0=( "192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default via 192.168.1.1" )
dns_domain_eth0="mydomain.com"

Do I have to define nameservers there too? I have not seen a single word
about it in Gentoo Handbook...

Jarry

--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

Reply via email to