[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 3c920 in 2.4.20; "network unreachable"



Rolf Erling Robberstad declaimed:
> I installed woody over the internet, configured by the
> local DHCP-server.  I then downloaded (from debian)
> kernel 2.4.20 from http://www.kernel.org and compiled
> it to get X working (as part of a i810/i815 howto).
> 
> The 3c59x-driver was compiled directly into the
> kernel along with the other needed support.
> 
> The problem is that the network does no longer work.
> After  searching on google i found a post on a mailing
> list which described a similar problem after switching
> to the 2.4.*-kernel with the very same driver.
> 
> I can now no longer find that post.
> 
> I've tried several possible solutions, found at these
> lists or google, however none of them have worked.
> 
> During the boot I get no clues, only a few error
> messages that relate to another problem.
> 
> A few lines from my console:
> # ping -c 1 192.168.0.1 ((my gateway))
> > PING 192.168.0.1 (192.168.0.1): 56 data bytes
> > ping sendto: Network is unreachable
> > ping wrote 192.168.0.1 64 chars, ret=-1
> 
> # ping -c 1 127.0.0.1
> > PING 127.0.0.1 (127.0.0.1): 56 data bytes
> > 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.0ms
> 
> # ifconfig eth0
> > eth0 \tLink encap: Ethernet HWaddr 00:B0:E2:93:18
> > \tUP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > \tRX packets: 4 errors: 0 dropped: 0 overruns: 0 frame: 0
> > \tTX packets: 5 errors: 0 dropped: 0 overruns: 0 carrier: 0
> > \tcollisions: 0 txqueuelen: 100
> > \tRX bytes: 1380 (1,3KiB) TX bytes: 550 (550.0 b)
> > \t Interrupt: 11 Base address: 0xec80
> 
> # ifup eth0
> > ifup: interface eth0 already configured
> # ifdown eth0
> > cat: /var/run/dhclient.pid: No such file or directory
> # ifup eth0
> (pause)
> (still no working network)
> 

The good news is that eth0 is connected to _something_ with a hardware
address, so the driver is probably fine. However, your ifconfig doesn't
show any assigned TCP/IP address, this is surely a problem. 

What's in your /etc/network/interfaces file? Mine follows. Note that the
DHCP line is commented out but retained as an example, the fixed network
settings are active.

--- file /etc/network/interfaces ---
auto lo
iface lo inet loopback

# This entry was created during the Debian installation
auto eth0
#iface eth0 inet dhcp

# fixed network settings
iface eth0 inet static
	address 192.168.1.50
	netmask 255.255.255.0
	gateway 192.168.1.1
--- eof --

HTH, PM
-- 
Paul Mackinney
paul@mackinney.net



Reply to: