LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Finding out which driver a nic is using and it's chipset (http://www.linuxquestions.org/questions/linux-hardware-18/finding-out-which-driver-a-nic-is-using-and-its-chipset-714671/)

pgb205 03-26-2009 03:53 PM

Finding out which driver a nic is using and it's chipset
 
I have a hp proliant server which apparently utilizes both intel and broadcom cards. I'm not sure how to identify with 100pct certainy which card is which. So for example doing ifconfig -a I see 4 cards eth0-eth3
How would I figure out which driver eth0 is using, and what is the correct chipset on eth0. dmesg and /var/log/messages give me conflicting info.

thanks

Earl Parker II 03-26-2009 04:36 PM

I'd open a console window and enter 'lspci'. This should provide a listing of the NICs in your system (and everything else on the PCI and AGP busses- a very handy command). You'll note that NICs are identified by their chipset and not their brand name.

It's likely that one of your NICs in on the mainboard, probably the Intel one. If you see three other NICs then I'd pop the case and take a look. Unless you're doing routing or something else requiring multiple NICs, you only really need one.

If you decide not to use the onboard NIC for any reason, it's a good idea to disable it in the BIOS.

thorkelljarl 03-26-2009 06:10 PM

And..

There is also the command, as root, "lshw". If your distro does not have it, your repository should. See "man lshw".

The command "dmesg" will give you what the system loads at boot. See man for that too.

Earl Parker II 03-26-2009 08:48 PM

thorkelljarl,

What a great tip about lshw. I didn't know it existed as it doesn't come with Slackware 12.2. I downloaded, installed and ran it- tremendous! This should come with every distribution. Thanks again!


All times are GMT -5. The time now is 10:47 PM.