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