dual network adapters

phase at booyaka.com phase at booyaka.com
Mon Mar 19 18:11:08 CST 2001


> How do I set up the second card?

from section 2.3 of the ethernet-howto:

-----
With the Driver as a Module: In the case of PCI drivers, the module will
typically detect all of the installed cards of that brand model
automatically. However, for ISA cards, probing for a card is not a safe
operation, and hence you typically 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.

As an example, consider a user that has two ISA NE2000 cards, one at
0x300 and one at 0x240 and what lines they would have in their
/etc/conf.modules file:

        alias eth0 ne
        alias eth1 ne
        options ne io=0x240,0x300

What this does: This says that if the administrator (or the kernel) does
a modprobe eth0 or a modprobe eth1 then the ne.o driver should be loaded
for either eth0 or eth1.  Furthermore, when the ne.o module is loaded,
it should be loaded with the options io=0x240,0x300 so that the driver
knows where to look for the cards. Note that the 0x is important -
things like 300h as commonly used in the DOS world won't work. Switching
the order of the 0x240 and the 0x300 will switch which physical card
ends up as eth0 and eth1.
-----

hope this helps.

phase




More information about the Kclug mailing list