commands for viewing NIC information under Linux

Source: Internet
Author: User

Rhel Kernel version information:

[Email protected] ~]# uname-alinux hvrhub 2.6.18-308.el5 #1 SMP Fri Jan 17:17:51 EST. x86_64 x86_64 x86_64 gnu/li Nux

Check the driver, manufacturer and other information of the NIC:

[Email protected] ~]# kudzu--probe--class=network-class:networkbus:pcidetached:0device:eth0driver:r8169--------- -------> This is the driver name, the following Modinfo command uses the driver name. Desc: "Realtek Semiconductor Co., Ltd. rtl8101e/rtl8102e PCI Express Fast Ethernet Controller" network.hwaddr:20:cf:30:8f : 5a:cfvendorid:10ecdeviceid:8136subvendorid:1043subdeviceid:8347pcitype:1pcidom:    0pcibus:  1pcidev:  0PCIFN:  

Here's how fast the network card is viewed:

[[email protected] ~]# Ethtool eth0settings for eth0:        supported ports: [TP MII]        supported link modes:   10base T/half 10baset/full                                 100baset/half 100baset/full         Supports auto-negotiation:yes        advertised link modes:  10baset/half 10baset/full                                 100baset/half 100baset/full         advertised Auto-negotiation:yes speed        : 100MB/S  ------------------------------------> Nic speed        duplex:full        port:mii        phyad:0        Transceiver:internal        auto-negotiation:on        Supports wake-on:pumbg        wake-on:g current        message level:0x00000033 (Wuyi)        Link Detected:yes

Here's more information on viewing the NIC driver

[[email protected] ~]# modinfo r8169filename:/lib/modules/2.6.18-308.el5/kernel/drivers/net/r8169.koversion: 2.3lk-1-napilicense:gpldescription:realtek RTL-8169 Gigabit Ethernet Driverauthor:realtek and The Linux r8169 crew <[email protected]>srcversion:2f438be7bc0ff431b08f6f4alias:pci:v00000001d00 008168sv*sd00002410bc*sc*i*alias:pci:v00001737d00001032sv*sd00000024bc*sc*i*alias:pci:v000016ecd000001 16sv*sd*bc*sc*i*alias:pci:v00001259d0000c107sv*sd*bc*sc*i*alias:pci:v00001186d00004300sv*sd*bc*sc*i*al IAS:PCI:V000010ECD00008169SV*SD*BC*SC*I*ALIAS:PCI:V000010ECD00008168SV*SD*BC*SC*I*ALIAS:PCI: v000010ecd00008167sv*sd*bc*sc*i*alias:pci:v000010ecd00008136sv*sd*bc*sc*i*alias:pci:v000010ecd00008129 Sv*sd*bc*sc*i*depends:miivermagic:2.6.18-308.el5 SMP mod_unload gcc-4.1parm:rx_copybreak:copy BR Eakpoint for Copy-only-tiNy-frames (int) parm:use_dac:Enable PCI DAC. Unsafe on the + bit PCI slot. (int) Parm:debug:Debug verbosity level (0=none, ..., 16=all) (int) module_sig:883f3504f23243d2d3142b3e704051 112e6b709e3b544a3e206c72e140c0edbb9629d3b31086569609f535d83d8f076749cbfa5d34d39be5319c1cc321

As the following command can be seen is not integrated network card? ---yet to be verified.

[Email protected] ~]# Dmidecode | Sed-n '/net/,+5p '        type:ethernet        status:enabled        Description:  Onboard Ethernet  --------------- ----> Does this mean that this is an integrated NIC? If you have a chance, get a PCI NIC, and then execute this command to see what the output is. Handle 0x0020, DMI type one, 5 bytesoem Strings

The following command also shows the manufacturer information for the NIC Controller.


commands for viewing NIC information under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.