1 |
Hung Dang wrote: |
2 |
|
3 |
> Jarry: You got the empty /etc/resolve.conf because dhcpcd overwrite this |
4 |
> file whenever your computer start, to avoid this you only need to set up |
5 |
> /etc/conf.d/net (for example config_eth0=( "dhcp" ) ) as suggestion in |
6 |
> the Gentoo handbook. |
7 |
|
8 |
But I do not have dhcp. I have static IP, and I configured network |
9 |
according to Handbook "8.b. Networking Information" |
10 |
My /etc/conf.d/net look like: |
11 |
|
12 |
# a few comment lines |
13 |
config_eth0=( "192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255" ) |
14 |
routes_eth0=( "default via 192.168.1.1" ) |
15 |
dns_domain_eth0="mydomain.com" |
16 |
|
17 |
Do I have to define nameservers there too? I have not seen a single word |
18 |
about it in Gentoo Handbook... |
19 |
|
20 |
Jarry |
21 |
|
22 |
-- |
23 |
_______________________________________________________________ |
24 |
This mailbox accepts e-mails only from selected mailing-lists! |
25 |
Everything else is considered to be spam and therefore deleted. |