Configuring two NICs on one computer
Posted on 2002-07-09
Some time ago I installed Debian (2.2.17-ide) on my computer, that at the time had one NIC. The NIC was configured correctly. Some time later, I plugged in another NIC and it was configured correctly aswell. However, that was some time ago and unfortunaly I dont remember exactly what I did to make it work.
Now I installed a new harddrive and a soundcard (had none before) so I thought I should do a fresh installation of Debian. I installed 2.2.19 at first and
immediately upgraded the kernel to 2.4.18 (I didnt attempt to configure the 2.2.19-kernel, I just used it to install Debian. It was therefor not configured to find the NIC's.). The problem is now that the kernel doesnt recognise both the NICs at the same time.
I have compiled Plug-n-Play support in the kernel and on startup, isapnp finds two PnP-cards: one of the NIC's and the soundcard. It even tries to configure them but the NIC get wrong values (i/o and IRQ). When I remove the soundcard from the computer, isapnp still only find one NIC, but it finds the OTHER NIC and configures it with the correct values. So isapnp finds both my NIC's, but not at the same time. (Ive been searching the Internet for information and found out that Linux will stop searching for NIC's once it finds one, but found that it was only true when the NIC drivers where built-in to the kernel. How does that work?)
I have attempted to compile the kernel with or without PnP support and the NIC drivers as built-in or as modules, but it cant find both NIC's. However, since Im a novice when it comes to configurating kernels, I might have done something wrong at some stage..
I have saved the values, such as i/o and the IRQ, for the NIC's from when it was running the 2.2.17-ide kernel on the old harddrive. The NIC's and there values are as follows:
NIC #1: 3Com (3c509) i/o: 0x300 IRQ: 10
NIC #2: 3Com (3c509) i/o: 0x320 IRQ: 11
If you need any other information about something, let me know and I'll provide it.
My question is therefore: What should I do to make Linux (debian, 2.4.18) recognize both my NIC's (and if possible, the soundcard too) and how do I configure them so that I can use them both under Linux?
Please post your answers as a "Comment". Any answers posted as "Answer" will be rejected for now.
Question edited (07/10/2002 04:52AM PST): Changed a typo in the IRQ-values (NIC #1 had NIC#2's IRQ-value, and vice versa).