There are two kinds of situations in practical application
1. When the driver is used as a module:
For PCI cards, the module automatically detects all installed network adapters. However, the ISA card is not the same, you need to manually specify the IO address and interrupt number, so that the module can find the network card. The information is stored in the file/etc/conf.modules.
For example, a user has two Isa Ne2000 NIC, one for 0x300 and the other for 0x240. So, in the Conf.modules file, you should write this:
Alias Eth0 NE
Alias Eth1 NE
Options NE io=0x240,0x300
You can also import the same module two times, as follows:
Alias Eth0 3c501
Alias Eth1 3c501
Options Eth0-o 3c501-0 io=0x240 irq=5
Options Eth1-o 3c501-1 io=0x300 irq=7
In this example, the-o option means that each imported module has a different claim. Once you have the correct conf.modules settings, you can check:
Modprobe ethn
DMESG | Tail
* Where the n indicates the number of the network card you need to detect.
2. The driver has been compiled into the kernel (Kernel):
If the driver is already in the kernel, then the multiple NIC settings are already in place. However, the default is to automatically detect a single network card, which prevents an abnormal suspension at startup.
The simple approach is to pass the parameters to the startup kernel, which is done by Lilo. If you have two network card: one: io=0x300,irq=5; second: io=0x280,irq=15, can be set up in Lilo's configuration file.
This will use the append command. In image= .... Below the line is written append=\ "ether=5,
0x300,eth0 ether=15,0x280,eth1\ "Then it is OK.