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

Re: 3c920 in 2.4.20; "network unreachable"



On 4 Jun 2003 "Rolf Erling Robberstad" <sjanten_@operamail.com> wrote:

>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.

It may be encouraging to you that the same combination of kernel version and
network driver works fine in my laptop, even to the point that, depending on
what network I plug the laptop into, the thing 'senses' which static IP
address it is supposed to have, or whether it has to get an IP address from
a DHCP server. One difference with your setup is that I have the driver
available as a module, not compiled into the kernel. Another most
likely is that my laptop uses the 'hotplug' system while booting and your
machine does not. But these differences only affect the way that the eth0
device becomes available on start-up, and it looks as if that is not your
problem.

># 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

To me this says that the problem is in the configuration of the network card
by ifup, dhclient, not in the kernel not having the driver or something like
that, otherwise you would not even have an 'eth0'. I remember this from my
own struggle to get things working.

In another post you mentioned that your /etc/network/interfaces has the
lines
  auto eth0
  iface eth0 inet dhcp
and as far as I can tell that is *essentially* the same as what I have for
configuration of the network card by dhcp. My /etc/network/interfaces for
eth0 is different from yours because of the automagical choice between dhcp
or a static address, but in the end dhclient is called in the same way.

So, I would investigate dhclient:
- what version is it (mine is from package dhcp-client 2.0pl5-11)?
- what is in its configuration file?
- what exactly is it doing when called by ifup?
Cannot offer much help with that, am no networking wizard. But if you are
interested, I am ready to send you all configuration files that make the
network card work for me.

Good luck!
Ben

-- 

B.F.M. Kal
Anjelierstraat 1,   2014 TC Haarlem,  Netherlands
tel +31 23 5324909, benkal@euronet.nl



Reply to: