Friday, June 25, 2010

check network card drive using ethtool

Check Network Card Driver on Linux Fedora using ethtool.

How to check network card driver on Linux Fedora system? the example below show the step by step command execution to check network card driver on my Linux Fedora system. The step by step command execution below show the out put from ethtool command that show the network card driver name... and the second command execute on the example below, the modinfo command show the detail about network card driver module that loaded..


Check Network Card Driver example.

Execute ethtool with -i option and the the network device name, to check network card driver and in the example below the network device name eth0




[root@linux ~]# ethtool -i eth0

driver: bnx2

version: 2.0.1

firmware-version: 1.9.6

bus-info: 0000:03:03.0

[root@linux ~]#

2. and use the same ethtool command again to get second network card driver eth1

[root@linux ~]# ethtool -i eth1

driver: bnx2

version: 2.0.1

firmware-version: 1.9.6

bus-info: 0000:07:03.0

[root@linux ~]#

3. Then use modinfo command to see the detail about network driver module loaded.



[root@linux ~]# modinfo bnx2

filename: /lib/modules/2.6.31.12-174.2.3.fc12.x86_64/kernel/drivers/net/bnx2.ko

firmware: bnx2/bnx2-rv2p-09-4.6.15.fw

firmware: bnx2/bnx2-mips-09-4.6.17.fw

firmware: bnx2/bnx2-rv2p-06-4.6.16.fw

firmware: bnx2/bnx2-mips-06-4.6.16.fw

version: 2.0.1

license: GPL

description: Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver

author: Michael Chan

srcversion: 918569794082672E30BDDC3

alias: pci:v000014E4d0000163Csv*sd*bc*sc*i*

alias: pci:v000014E4d0000163Bsv*sd*bc*sc*i*

alias: pci:v000014E4d0000163Asv*sd*bc*sc*i*

alias: pci:v000014E4d00001639sv*sd*bc*sc*i*

alias: pci:v000014E4d000016ACsv*sd*bc*sc*i*

alias: pci:v000014E4d000016AAsv*sd*bc*sc*i*

alias: pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*

alias: pci:v000014E4d0000164Csv*sd*bc*sc*i*

alias: pci:v000014E4d0000164Asv*sd*bc*sc*i*

alias: pci:v000014E4d0000164Asv0000103Csd00003106bc*sc*i*

alias: pci:v000014E4d0000164Asv0000103Csd00003101bc*sc*i*

depends:

vermagic: 2.6.31.12-174.2.3.fc12.x86_64 SMP mod_unload

parm: disable_msi:Disable Message Signaled Interrupt (MSI) (int)

[root@linux ~]#


info:

ethtool - display network card information settings.

modinfo - display information about Linux kernel module loaded.

No comments:

Post a Comment