Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] modem problem : Speedstream vs Zoom
Date: Sun, 19 Dec 2010 04:27:01
Message-Id: 20101219042505.GA6519@waltdnes.org
In Reply to: Re: [gentoo-user] modem problem : Speedstream vs Zoom by Philip Webb
1 On Fri, Dec 17, 2010 at 01:12:08PM -0500, Philip Webb wrote
2
3 > Thanks to both: you've solved my actual problem, but not the puzzle.
4 > I installed the Gentoo pkg 'dhcpcd' & 'dhcpcd eth0' gets the I/net :
5 > clearly, this is a big step forward by ISPs since 2001 ! I can also
6 > get through this way using Mandriva's "wired connection". It still
7 > doesn't explain why Mandriva's "pppoe" works, but not Gentoo's,
8 > but that's now hopefully moot, if nothing goes wrong again.
9
10 I don't bother with pppoe because the router-modem should give you a
11 generic ethernet interface with a static IP address. I don't bother
12 with dhcp either. You can get by with a static RFC1918 IP address from
13 the modem. My ADSL router modem has address 192.168.123.254 and this PC
14 has 192.168.123.249. My /etc/conf.d/net started out as...
15
16 config_eth0=(
17 "192.168.123.249 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1454"
18 routes_eth0=(
19 "default via 192.168.123.254"
20 )
21
22 You can get more sophisticated. Currently, I'm at...
23
24 config_eth0=(
25 "192.168.123.249 broadcast 192.168.123.255 netmask 255.255.255.248 mtu 1454"
26 "169.254.1.3 broadcast 169.254.255.255 netmask 255.255.0.0")
27 routes_eth0=(
28 "default via 192.168.123.254 metric 2"
29 "192.168.123.248/29 via 192.168.123.254 metric 0"
30 "169.254.0.0/16 via 169.254.1.3 metric 0"
31 )
32
33 By setting the default route to metric 2, and the other routes to
34 metric 0, my PC can talk to other devices here at home *WHILE THE DIALUP
35 MODEM IS CONNECTED TO THE NET*. My backup PC is on 192.168.123.248/29
36 and the HDHomerun TV tuner sitting in the living room (facing the CN
37 Tower and Buffalo) is on 169.254,xxx.xxx at the other end of a 50-foot
38 ethernet cable.
39
40 --
41 Walter Dnes <waltdnes@××××××××.org>