Skip to contentSkip to conversation

NIC cards

DISCUSSION Majid Tahir 4 participants 4 messages Aug 12, 2002

lore
Share & tools
lore
#0 lore raw

hello all
i have just installed redhat 7.2 on a machine that needs to have 2 nic cards...however neither of the two nic cards have been "found". How would i configure it so that the two cards are properly installed..also one other problem is that i dont know the name of one of the nic cards, therefore it is difficult to find the proper drivers

thanks for the help
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 2 lines · Majid Tahir

hello all
i have just installed redhat 7.2 on a machine that needs to have 2 nic cards...however neither of the two nic cards have been "found". How would i configure it so that the two cards are properly installed..also one other problem is that i dont know the name of one of the nic cards, therefore it is difficult to find the proper drivers

Without knowing what the NICs are, it is difficult to give you a good answer.

If you really cannot determine the make and model, your only hope is brute force -- try modprobe'ing the various NIC modules one by one, until you get a hit. (I've actually had to do his once or twice myself, and it isn't as bad as it sounds, at least with pci-based NICs, since most of them seem to use tulip, rtl8139, or eepro100.)

It is possible that RH 7.2 uses a kernel with modules too old for some NICs. I've seen this sort of mismatch come and go with the tulip driver and Linksys NICs, for example.

Finally, are you sure that the NICs are good? Are they detected by the BIOS prior to Linux boot/init? Do they show up in /proc/interrupts? In the "lspci" listing?

If the NICs use isa slots ... did you configure them to use different IRQs and IObase values? (If you put only one in the system, is it detected and initialized properly?)

If none of this helps, please post again with the following additional info:

1. Are the cards isa or pci?

2. What is the make and model of the one NIC you *do* know?

3. What can you figure out about the other one?

4. What kernel version are you using?

And answer for us the various questions I suggested you try to answer for yourself.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to Majid Tahir
Quoted 6 lines · Majid Tahir

hello all
i have just installed redhat 7.2 on a machine that needs to have 2 nic cards...however neither of the two nic cards have been "found". How would i configure it so that the two cards are properly installed..also one other problem is that i dont know the name of one of the nic cards, therefore it is difficult to find the proper drivers

Are they PCI or ISA cards.???

If they are PCI then the command 'lspci' or cat /proc/pci will show there make and type.
(I cant imagen them being PCI cards if the install did not find them).

If they are ISA cards and you have a windows machine handy then you may be able to gain information on thier type/make via windows.

When you can tell us what the cards are, there make and type then we can help you more.

Quoted 2 lines

thanks for the help

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#3 lore raw
In reply to Majid Tahir

Majid,

I've suffered from the multiple NIC problem, and so stalted way the following notes. But keep in mind I've no expertise myself.

It is especially tricky to configure more than one network of the same type, such as getting two NICS to co-exist. Sometimes the machine determines which NIC is eth0 and eth1, so that when the drivers are in the kernel or when two cards share a driver, whichever the machine sees first is labeled eth0. Therefore you may have to adapt your configuration to suit the machine.

1. If adapters don't coexist, you can try just swapping eth0 and eth1.

2. Use NICs that use the same driver compiled into the kernel. Sometimes this works automatically, but sometimes you must include proper kernel options in LILO configuration so that the kernel looks for two NICs (add line: append = "ether=0,0,eth1" to tell Linux to look for a second card). This probably required if NICs are ISA cards.

3. NICs that use the same driver which is compiled as a module. You can usually get good results by adding lines in /etc/conf.modules to tell the system you have two NICs. Add one alias line per NIC, as in:

alias eth0 tulip
alias eth1 tulip

This tells the system to use the tulip driver for both cards.

4. Different drivers compiled into the kernel. With PCI cards, which often work automatically, see (2) above.

5. Two NICs using different drivers compiled as modules. This works like (3) above except that the lines refer to different modules.

For more info on multiple cards, see
http:/cesdis.gsfc.nasa.gov/linux/misc/multicard.html

Hope this helps, but others will surely chim in with corrections and other suggestions.

Haines Brown
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs