Run the kudzu command to view the network card model.

Source: Internet
Author: User
Article Title: Use the kudzu command to view the Nic model. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Kudzu is a command used to detect hardware changes in Linux. this command can be used to check the model of the NIC in the system:

Kudzu (1)

NAME

Kudzu-detects and configures new and/or changed hardware on a system

SYNOPSIS

Kudzu

DESCRIPTION

Kudzu detects and configures new and/or changed hardware on a system.

When started, kudzu detects the current hardware, and checks it against

A database stored in/etc/sysconfig/hwconf, if one exists. It then

Determines if any hardware has been added or removed from the system.

If so, it gives the users the opportunity to configure any added hard-

Ware, and unconfigure any removed hardware. It then updates

Database in/etc/sysconfig/hwconf.

If no previous database exists, kudzu attempts to determine what

Devices have already been configured, by looking at/etc/modules. conf,

/Etc/sysconfig/network-scripts/, and/etc/X11/XF86Config.

The following is an example of the command output:

[Root @ wapdbrac1 ~] # Kudzu -- probe -- class = network

-

Class: NETWORK

Bus: PCI

Detached: 0

Device: eth1

Driver: bnx2

Desc: "Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet"

Network. hwaddr: 00: 1B: 78: 97: E4: EA

VendorId: 14e4

DeviceId: 164c

SubVendorId: 103c

SubDeviceId: 7038

PciType: 1

Pcidom: 0

Pcibus: 5

Pcidev: 0

Pcfn: 0

-

Class: NETWORK

Bus: PCI

Detached: 0

Device: eth0

Driver: bnx2

Desc: "Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet"

Network. hwaddr: 00: 1B: 78: 97: E4: EC

VendorId: 14e4

DeviceId: 164c

SubVendorId: 103c

SubDeviceId: 7038

PciType: 1

Pcidom: 0

Pcibus: 3

Pcidev: 0

Pcfn: 0

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.