Getting an NE2000 ethernet card to work under Linux

Getting an NE2000 ethernet card to work under Linux

Post by Keith E. Flemin » Tue, 10 Feb 1998 04:00:00



I am running Linux kernel 2.0.33 on a pentium200 pci system 128Mb ram,
have included modules 8390 and ne
and am getting the following output but the card does not talk to a
colleague's computer address 192.168.0.10. It won't ping, telnet, ftp,
etc. Any one have any ideas? I Hope I have included enough system output
to be helpful...

thanks
--
http://207.42.61.74       Online image!!!       ftp://207.42.61.74/pub
   ***   Need Linux users in Atlanta area to help establish   ***
   ***            a voice/data LOS laser network              ***

[ article 2K ]
ifconfig:
-----------------------------------------------------------------------
eth0      Link encap:Ethernet  HWaddr 00:20:18:63:7F:97
          inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0
          Interrupt:12 Base address:0x300

dmesg:
-----------------------------------------------------------------------

NE*000 ethercard probe at 0x300: 00 20 18 63 7f 97
eth0: NE2000 found at 0x300, using IRQ 12.
loading device 'eth1'...

cat /proc/ioports:
----------------------------------------------------------------------
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
01f0-01f7 : ide0
02e8-02ef : serial(set)
0300-031f : NE2000
03c0-03df : vga+
03e8-03ef : serial(set)
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(set)
f000-f007 : IDE DMA

cat /proc/interrupts:
----------------------------------------------------------------------
 0:    1604525   timer
 1:      19896   keyboard
 2:          0   cascade
 3:      90678 + serial
 4:      51000 + serial
 8:          1 + rtc
10:        114 + serial
12:          0   NE2000
13:          1   math error
14:      87362 + ide0

route:
------------------------------------------------------------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
ctone3.avana.ne *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        3 lo
default         ctone3.avana.ne 0.0.0.0         UG    0      0       34 ppp0

Donald Becker's ne2k.c program output:
--------------------------------------------------------------------------
Checking the ethercard at 0x300.
  Register 0x0d (0x30d) is ff
  Passed initial NE2000 probe, value 00.
8390 registers: 0a 00 7e 7f 03 00 00 00 01 00 50 70 61 00 00 00
SA PROM  0: 00 00 20 20 18 18 63 63 7f 7f 97 97 00 00 00 00
SA PROM 0x10: 00 00 00 00 00 00 00 00 00 00 00 00 57 57 57 57

        NE2000 found at 0x300, using start page 0x40 and end page 0x80.

 
 
 

Getting an NE2000 ethernet card to work under Linux

Post by Jim Buchan » Wed, 11 Feb 1998 04:00:00



: and am getting the following output but the card does not talk to a
: colleague's computer address 192.168.0.10. It won't ping, telnet, ftp,
[...]
: ifconfig:
: -----------------------------------------------------------------------
: eth0      Link encap:Ethernet  HWaddr 00:20:18:63:7F:97
:           inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.255.0
[...]

I hope I'm not showing my lack of networking knowledge here, but
shouldn't the broadcast address be 192.168.0.255?


================= http://members.iquest.net/~jbuchana ====================
"Baroque music  is structured like a weaving on a loom, and it's no
 accident that punch cards were invented to run looms before they were
 used to run computers." -Larry Wall
==================== http://hybiss.delcoelect.com ========================

 
 
 

Getting an NE2000 ethernet card to work under Linux

Post by Tor Slettne » Thu, 19 Feb 1998 04:00:00



    Jim> following output but the card does not talk to a :
    Jim> colleague's computer address 192.168.0.10. It won't ping,
    Jim> telnet, ftp, [...]  : ifconfig: :
    Jim> -----------------------------------------------------------------------
    Jim> : eth0 Link encap:Ethernet HWaddr 00:20:18:63:7F:97 : inet
    Jim> addr:192.168.0.1 Bcast:192.168.255.255 Mask:255.255.255.0
    Jim> [...]

    Jim> I hope I'm not showing my lack of networking knowledge here,
    Jim> but shouldn't the broadcast address be 192.168.0.255?

Yes.

-tor