Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Goodbye to gentoo?
Date: Mon, 19 Mar 2012 05:17:12
Message-Id: 1332134157.14433.38.camel@moriah
In Reply to: Re: [gentoo-user] Goodbye to gentoo? by Maxim Wexler
1 On Sun, 2012-03-18 at 22:44 -0600, Maxim Wexler wrote:
2 > >
3 > > Hi Maxim, what changed when the modem stopped working?
4 >
5 > Dunno
6 >
7 > >
8 > > Also can you supply the output of the "route -n" and ifconfig commands
9 > > to give us a chance of seeing if anything has gone adrift there. Also
10 > > if you are using (and have tested that its not the problem) any firewall
11 > > running.
12 >
13 > I don't use the /etc/conf.d/net file. Also all net hotplug services
14 > are turned of in rc.conf.
15 > route -n shows nothing except ppp0
16 > (this is from ubuntu, but it was the same for gentoo when it was working)
17 > root@gnubu:~# route -n
18 > Kernel IP routing table
19 > Destination Gateway Genmask Flags Metric Ref Use Iface
20 > 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
21 > 161.184.0.199 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
22 >
23 > (also from the ubuntu side)
24 > root@gnubu:~# ifconfig ppp0
25 > ppp0 Link encap:Point-to-Point Protocol
26 > inet addr:161.184.44.73 P-t-P:161.184.0.199 Mask:255.255.255.255
27 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
28 > RX packets:5867 errors:0 dropped:0 overruns:0 frame:0
29 > TX packets:6439 errors:0 dropped:0 overruns:0 carrier:0
30 > collisions:0 txqueuelen:3
31 > RX bytes:1694892 (1.6 MB) TX bytes:746705 (746.7 KB)
32 >
33 >
34 > ifconfig eth0 and wlan0 are empty because I rmmod'd the drivers. I
35 > only use them when talking to the router or another pc on a lan, I set
36 > them up manually and take them down when not in use. Otherwise the web
37 > is unreachable. This true for Ubuntu and gentoo.
38 >
39 > There is no firewall as far as I know.
40 >
41 > MW
42 >
43
44 The last route looks correct ... the wildcard might or might not be.
45
46 Try and remove it and add a normal default route.
47
48 Look up the "route" command if not familiar with the how.
49
50 Just a comment, when ignoring the networking files in an operating
51 system to do it yourself manually, dont be surprised if YOU have broken
52 something. I usually do my own thing too as I am not impressed with the
53 way gentoo handles its networking, though under openrc its better.
54
55 BillK