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

Re: ne2000 [was: Re: how to install anyway]



On Sun, 28 Nov 1999, Stefan Rieken wrote:

> David Webster wrote:
> > 
> > On Sun, 28 Nov 1999, Stefan Rieken wrote:
> > 
> > > RedHat installs with only a boot.img (which is a terrible shame, because
> > > it doesn't work correct with MY ne2000 network card... so I should do
> > > alternative downloads there).
> > 
> > Have you tried loading the NE2000 NIC driver as a module? I had some
> > problems with getting it built in, but as a module it works fine.
> > 

I installed indy on to my machine by inserting the hard disc in the
windows box I have, and installing it there. As such I was unable to set
it up on install, but I was able to set it up on the working system with
little trouble.

What stage have you got to on the install?

Have you already installed Indy, and are now trying to install the drivers
onto the currently working system?
Or are you trying to install the drivers during the install?
Or are you trying to install the drivers so that you can install Indy over
a network (which the bootnet.img indicates you might be doing)?

> (I indeed meant that I used bootnet.img.) I tried the NE*000 driver and
> the NE2000 PCI driver that were available. Do you mean one of these? My
> ne2000 has got IRQ 5 and I/O locations starting at 0x300. It is totally
> non-plug and play and it seems to be very hard to detect.

There is a lot of difference between the PCI ne2000 cards and the ISA
ne2000 cards, or at least there is in the drivers.

The easy way to tell if the card is ISA or PCI is to open up your machine
and have a look at the slot it is plugged into. If it is in a _black_ slot
then it is ISA, if it is in a _white_ slot then it is PCI. My card was
ISA. The PCI driver is easier to install because it can auto detect the
I/O and IRQ of the card, but if you know that, then it shouldn't be a
problem installing the ISA driver.

Chances are that if you've tried both the ne*000 and ne2000 PCi drivers,
and neither found your card, your card is ISA, as the ISA driver cannot
auto detect your card. You must specify the addresses.

The following is assuming you are trying to install the cards onto an
already working system. I'm not familiar with the install, so you'd have
to talk to someone else about that.

1) In the file /etc/conf.modules add the lines:
alias eth0 ne
options ne io=0x300 irq=5

(If your card /is/ PCI, you'd probably _only_ have to enter the following:
"alias eth0 ne2k")

[The eth0 assumes that this is the only/first network card in the
machine.]
 
2) now you should type 

root# /sbin/modprobe eth0     [and you should get something like:]

ne.c:v1.10 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)
NE*000 ethercard probe at 0x300: 00 20 18 31 5a b8
eth0: NE2000 found at 0x300, using IRQ 5.

3) now you should set up the IP address for your machine:

root# /sbin/ifconfig eth0 <IP address>

then check to see if it has loaded fine:

root# /sbin/ifconfig

[The output of my ifconfig, yours will probably have different numbers,
but the fields should be the same. You should also have a loopback set up
already (shown below as 'lo']

eth0      Link encap:Ethernet  HWaddr 00:20:18:31:5A:B8  
          inet addr:192.168.168.2  Bcast:192.168.168.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1146256 errors:0 dropped:0 overruns:0 frame:2603
          TX packets:1019538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:3 Base address:0x300 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:60469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60469 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

Now set up the route.

4) root# /sbin/route add default eth0

This will make the default 'route' for your outgoing traffic the netwrok
card you just installed.

To check the routing table use '/sbin/route' without any options, just as
you did with '/sbin/ifconfig'

NOTE: You may need to adjust the last part (from the ifconfig
(step 3) onwards), depending on how your network is set up, let me know
if you need help sorting this out. I found the HOWTO documents to be very
useful while installing my cards, check out http://www.linuxdoc.org/.

HTH,

David
--		   ,------------------------------,
,==================| S H U N  A N T I O N L I N E |=================,
| David M. Webster '------------------------------' (aka cogNiTioN) |
|===| I use Linux everyday to up my productivity - so up yours! |===|
|=================|-| PGP KeyID: 0x 45 FA C2 83 |-|=================|
| <cognition@bigfoot.com> |-|===========|-| http://www.cognite.net/ |
`===========| I walk to the beat of a different drummer |==========='