Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] OT - Need /etc/conf.d/net setup help Michael Sullivan <michael@××××××××××××.com>