Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] OT - Need /etc/conf.d/net setup help
Date: Thu, 12 Oct 2006 21:10:00
Message-Id: 1160687085.12681.23.camel@camille.gateway.2wire.net
1 I have SBC DSL with static WAN IPs. I use the 2Wire OfficePortal as my
2 DSL modem/router. SBC told me that in order to map my WAN addresses to
3 my individual PCs, I have to use DHCP. The problem is that using the
4 default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
5 file gets overwritten. This is annoying because it rewrites my domain
6 name. I've tried the following options in /etc/conf.d/net:
7
8 set dhcp_ESSID="nodns"
9 dns_servers_ESSID=( "70.234.122.250" )
10 modules=( "ifconfig" )
11 config_eth0=( "dhcp" )
12 dhcpcd_eth0="-t 10"
13 dhcp_eth0="nodns nontp"
14 config_eth0=( "dhcp" )
15
16 Whenever I try to restart /etc/init.d/net.eth0 with these options it
17 tells me:
18
19 camille conf.d # /etc/init.d/net.eth0 restart
20 * Caching service dependencies ...
21 [ ok ] * ERROR: not enough args.
22
23 * Usage: net.eth0 { start|stop|restart }
24 * net.eth0 without arguments for full help
25
26 What exactly is the problem here?
27
28 --
29 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT - Need /etc/conf.d/net setup help Ted Ozolins <ted1@×××××.net>
Re: [gentoo-user] OT - Need /etc/conf.d/net setup help "Bo Ørsted Andresen" <bo.andresen@××××.dk>