[BL] Connecting via ethernet
Sindi Keesan
keesan at iamjlamb.com
Tue May 11 18:04:39 EDT 2004
On Tue, 11 May 2004, Sindi Keesan wrote:
> On Sun, 9 May 2004 3aoo-cvfd at dea.spamcon.org wrote:
>
> > James Miller wrote:
> > >
> > > Any ISA NIC with jumpers that is supported under Linux should
> > > work fine for you. Most I've had to specify to insmod is IRQ
> > > - base address has not been needed.
> >
> > ISA NE2000 NICs need the io address (but not the IRQ).
> > ------------------
> > insmod 8390
> > insmod ne io=0x300
> > ------------------
>
>
> I got four PCI ethernet cards working now including two with ne2k-pci.
> This last one is plain ne and is also ISA. Are all ne ISA cards
> io=0x300? Is there some way to determine the address? A winbond chip.
>
I did a search on linux 3c509 ISA address and found a probably answer:
8.1. Multiple Ethernet Card per Machine
......
Problem 1. If the driver(s) of the card(s) is/are being used as a
loadable module modularized kernel, in the case of PCI drivers, the
module will typically detect all of the installed cards automatically.
*** For ISA cards, you need to supply the I/O base address of the card so
the module knows where to look. This information is stored in the file
/etc/conf.modules.
Example 8-1. Two ISA ethernet cards
Consider we have two ISA 3c509 cards, one at I/O 0x300 and one at I/O
0x320. For ISA cards, edit the conf.modules file, vi /etc/conf.modules
and add:
alias eth0 3c509
alias eth1 3c509
options 3c509 io=0x300,0x320
This says that the 3c509 driver should be loaded for either eth0 or
eth1 alias eth0, eth1 and it should be loaded with the options
io=0x300,0x320 so that the drivers knows where to look for the cards.
Note that 0x is important, things like 300h as commonly used in the
DOS world wont work.
I think if I put in this alias then I type insmod eth0 without the
address, right? Or I type
insmode 3c509 io-0x300 (or 0x320 - would that also work?).
For PCI cards, you typically only need the alias lines to correlate
the ethN interfaces with the appropriate driver name, since the I/O
base of a PCI card can be safely detected. For PCI cards, edit the
conf.modules file vi /etc/conf.modules and add:
alias eth0 3c509
alias eth1 3c509
More information about the BasLinux
mailing list