Gentoo Archives: gentoo-amd64

From: "gigli@×××××××.se" <gigli@×××××××.se>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Broken network
Date: Sat, 04 Feb 2006 10:52:40
Message-Id: 43E48714.5050302@swipnet.se
In Reply to: Re: [gentoo-amd64] Broken network by Steve Herber
1 Hi
2
3 and thanks for your input (the netstat -rn didn't have the 0.0.0.0.
4 192.168.0.1). It's very strange. I have two ethernets in my pc, i only
5 use one, its a d-link and i use the module via-rhine and its usually
6 working. Now it would not recieve an ipaddress, but i could edit the
7 /etc/conf.d/net file and give it an ipaddress. But i could not ping
8 outside its own address. So i just tried my yukon card and started the
9 net.eth1 up and it worked directly. The modules is loaded for both cards
10 but just one works. I'm happy with that, but i know that the d-link
11 works in my windows enviroment, so it's strange.
12
13 Thanks for the help and if anyone can shed some light upon this, i would
14 be happy.
15
16 Martin
17
18 Steve Herber wrote:
19 > run these commands to see the status of your network interface and routing:
20 >
21 > ifconfig -a
22 > netstat -rn
23 >
24 > On a single interface computer it would look like this:
25 >
26 >
27 > $ ifconfig -a
28 > eth0 Link encap:Ethernet HWaddr 00:0B:CD:2A:B2:1F
29 > inet addr:128.95.150.112 Bcast:128.95.150.255 Mask:255.255.255.0
30 > inet6 addr: fe80::20b:cdff:fe2a:b21f/64 Scope:Link
31 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
32 > RX packets:9695561 errors:0 dropped:0 overruns:0 frame:0
33 > TX packets:2717186 errors:35 dropped:0 overruns:0 carrier:35
34 > collisions:408371 txqueuelen:1000
35 > RX bytes:2360490427 (2251.1 Mb) TX bytes:773211091 (737.3 Mb)
36 >
37 > lo Link encap:Local Loopback
38 > inet addr:127.0.0.1 Mask:255.0.0.0
39 > inet6 addr: ::1/128 Scope:Host
40 > UP LOOPBACK RUNNING MTU:16436 Metric:1
41 > RX packets:3874 errors:0 dropped:0 overruns:0 frame:0
42 > TX packets:3874 errors:0 dropped:0 overruns:0 carrier:0
43 > collisions:0 txqueuelen:0
44 > RX bytes:5247803 (5.0 Mb) TX bytes:5247803 (5.0 Mb)
45 >
46 > genuser@dell /usr/share/doc 860 $ netstat -rn
47 > Kernel IP routing table
48 > Destination Gateway Genmask Flags MSS Window irtt
49 > Iface
50 > 128.95.150.0 0.0.0.0 255.255.255.0 U 0 0 0
51 > eth0
52 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
53 > 0.0.0.0 128.95.150.100 0.0.0.0 UG 0 0 0
54 > eth0
55 > genuser@dell /usr/share/doc 861 $
56 >
57 >
58 > If you expect to get a DHPC address and it works, your results should
59 > match my sample. If DHCP fails and you need to hardcode your IP
60 > address, you should look in the Gentoo Handbook and configure
61 > /etc/conf.d/net to support a fixed IP address.
62 >
63 > If you can configure your IP address but you can't connect outside then
64 > your default gateway is probably wrong. In my sample above the
65 > important line is the 0.0.0.0, default address, which sends all
66 > non-local traffic to 128.95.150.100, which is the default route on my
67 > subnet.
68 >
69 > You can set NET_DEBUG in the /etc/conf.d/net file and run
70 > /etc/init.d/net.eth0 start and try to see what fails.
71 >
72 > I hope some of this ramble helps you. Good luck!
73 >
74 >
75 > Steve Herber herber@×××××.com work: 206-221-7262
76 > Security Engineer, UW Medicine, IT Services home: 425-454-2399
77 >
78 > On Fri, 3 Feb 2006, gigli@×××××××.se wrote:
79 >
80 >> Hi
81 >> I have an Amd64 x2 system and this is the second time my networks
82 >> broke after an update. With dhcp it wont recieve an ipaddress, with a
83 >> forced ipaddress it will show the address, i can ping it, but any ping
84 >> outside its own is unreachable. This time i made an uDa world and
85 >> configured a new kernel, i used the old kernel config except that i
86 >> configured it for winbond hardware sensor. revdep-rebuild is ok.
87 >>
88 >> The last emerge was about alsa-libs, python, pycrypto, poppler, dbus,
89 >> sqlite, alsa-tools, samba, libsigc++, and libgnomemm. Everythin worked
90 >> just fine before this.
91 >>
92 >> Any help i can get would be helpful. I don't know where to start.
93 >>
94 >> Martin
95 >>
96 >>
97 >>
98 >>
99 >> --
100 >> gentoo-amd64@g.o mailing list
101 >>
102
103 --
104 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Broken network Richard Fish <bigfish@××××××××××.org>