Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - Need /etc/conf.d/net setup help
Date: Thu, 12 Oct 2006 23:09:37
Message-Id: 1160694294.12701.27.camel@camille.gateway.2wire.net
In Reply to: Re: [gentoo-user] OT - Need /etc/conf.d/net setup help by Ted Ozolins
1 On Thu, 2006-10-12 at 15:38 -0700, Ted Ozolins wrote:
2 > Michael Sullivan wrote:
3 >
4 > >I have SBC DSL with static WAN IPs. I use the 2Wire OfficePortal as my
5 > >DSL modem/router. SBC told me that in order to map my WAN addresses to
6 > >my individual PCs, I have to use DHCP. The problem is that using the
7 > >default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
8 > >file gets overwritten. This is annoying because it rewrites my domain
9 > >name. I've tried the following options in /etc/conf.d/net:
10 > >
11 > >set dhcp_ESSID="nodns"
12 > >dns_servers_ESSID=( "70.234.122.250" )
13 > >modules=( "ifconfig" )
14 > >config_eth0=( "dhcp" )
15 > >dhcpcd_eth0="-t 10"
16 > >dhcp_eth0="nodns nontp"
17 > >config_eth0=( "dhcp" )
18 > >
19 > >Whenever I try to restart /etc/init.d/net.eth0 with these options it
20 > >tells me:
21 > >
22 > >camille conf.d # /etc/init.d/net.eth0 restart
23 > > * Caching service dependencies ...
24 > >[ ok ] * ERROR: not enough args.
25 > >
26 > > * Usage: net.eth0 { start|stop|restart }
27 > > * net.eth0 without arguments for full help
28 > >
29 > >What exactly is the problem here?
30 > >
31 > >
32 > >
33 > I could be wrong, but should it not read:
34 > set dhcp_eth0="nodns"
35 > dns_servers_eth0=( "70.234.122.250" )
36 >
37 > ???
38 >
39 > --
40 > Ted Ozolins(VE7TVO)
41 > Cranbrook, B. C
42 >
43
44 I changed those two lines, and it still didn't work...
45
46 --
47 gentoo-user@g.o mailing list