Gentoo Archives: gentoo-user

From: David Juhl <commo_puke@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: What do I put in the /etc/conf.d/net....
Date: Sun, 27 Sep 2009 02:08:22
Message-Id: 1254017298.9209.6.camel@lianli.homenetwork
In Reply to: [gentoo-user] Re: What do I put in the /etc/conf.d/net.... by Nikos Chantziaras
1 I feel like a idiot.... my device isn't eth0 it is wlan0 and defined it
2 as such... No wonder I didn't catch it...
3
4 Thanks
5
6 David
7 On Sun, 2009-09-27 at 04:22 +0300, Nikos Chantziaras wrote:
8 > On 09/26/2009 11:11 PM, David Juhl wrote:
9 > > What do I put in the /etc/conf.d/net to specify name servers? I can't
10 > > seem to modify the /etc/resolv.conf and get it to sick at boot.
11 >
12 > Depends on how you connect. If you're behind a router/gateway device
13 > that does NAT (this includes most "DSL modems"), you use the device's IP
14 > as nameserver in /etc/resolv.conf as well as routes_ethN in
15 > /etc/conf.d/net. For example, if your router's IP is 192.168.1.1, you
16 > use this in /etc/resolv.conf:
17 >
18 > nameserver 192.168.1.1
19 >
20 > And this in /etc/conf.d/net:
21 >
22 > routes_eth0="default via 192.168.1.1"
23 >
24 >

Replies

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