Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: What do I put in the /etc/conf.d/net....
Date: Sun, 27 Sep 2009 01:22:37
Message-Id: h9menq$63q$1@ger.gmane.org
In Reply to: [gentoo-user] What do I put in the /etc/conf.d/net.... by David Juhl
1 On 09/26/2009 11:11 PM, David Juhl wrote:
2 > What do I put in the /etc/conf.d/net to specify name servers? I can't
3 > seem to modify the /etc/resolv.conf and get it to sick at boot.
4
5 Depends on how you connect. If you're behind a router/gateway device
6 that does NAT (this includes most "DSL modems"), you use the device's IP
7 as nameserver in /etc/resolv.conf as well as routes_ethN in
8 /etc/conf.d/net. For example, if your router's IP is 192.168.1.1, you
9 use this in /etc/resolv.conf:
10
11 nameserver 192.168.1.1
12
13 And this in /etc/conf.d/net:
14
15 routes_eth0="default via 192.168.1.1"

Replies

Subject Author
Re: [gentoo-user] Re: What do I put in the /etc/conf.d/net.... David Juhl <commo_puke@×××××.com>
Re: [gentoo-user] Re: What do I put in the /etc/conf.d/net.... Stroller <stroller@××××××××××××××××××.uk>