Как узнать модель сетевой карты в Linux (Debian, Ubuntu и подобные)

Как узнать модель сетевой карты в Linux (Debian, Ubuntu и подобные)

admin No Comment
Debian

Для того чтобы увидеть модель сетевой карты в системе, нужно ввести в ssh

# lspci | egrep -i --color 'network|ethernet'
03:00.0 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T
03:00.1 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T

Более детально

# lspci -v | grep Ethernet -A 1
lspci: Unable to load libkmod resources: error -12
03:00.0 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T
 DeviceName: Intel X557-AT2 Ethernet #1
 Subsystem: Super Micro Computer Inc Ethernet Connection X552/X557-AT 10GBASE-T
 Physical Slot: 0-1
--
03:00.1 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T
 DeviceName: Intel X557-AT2 Ethernet #2
 Subsystem: Super Micro Computer Inc Ethernet Connection X552/X557-AT 10GBASE-T
 Physical Slot: 0-1

И еще более подробную информацию о сетевом оборудовании в системе можно узнать так:

# lspci -v | grep Ethernet -A 20
lspci: Unable to load libkmod resources: error -12
03:00.0 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T
 DeviceName: Intel X557-AT2 Ethernet #1
 Subsystem: Super Micro Computer Inc Ethernet Connection X552/X557-AT 10GBASE-T
 Physical Slot: 0-1
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at fbc00000 (64-bit, prefetchable) [size=2M]
 Memory at fbe04000 (64-bit, prefetchable) [size=16K]
 Expansion ROM at fb180000 [disabled] [size=512K]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
 Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
 Capabilities: [a0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number xxxxxxxxxxxxxx
 Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
 Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
 Capabilities: [1b0] Access Control Services
 Capabilities: [1c0] Latency Tolerance Reporting
 Kernel driver in use: ixgbe

03:00.1 Ethernet controller: Intel Corporation Ethernet Connection X552/X557-AT 10GBASE-T
 DeviceName: Intel X557-AT2 Ethernet #2
 Subsystem: Super Micro Computer Inc Ethernet Connection X552/X557-AT 10GBASE-T
 Physical Slot: 0-1
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Memory at fba00000 (64-bit, prefetchable) [size=2M]
 Memory at fbe00000 (64-bit, prefetchable) [size=16K]
 Expansion ROM at fb100000 [disabled] [size=512K]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
 Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
 Capabilities: [a0] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number xxxxxxxxxxxxx
 Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
 Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
 Capabilities: [1b0] Access Control Services
 Kernel driver in use: ixgbe

08:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev 03) (prog-if 00 [Normal decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=08, secondary=09, subordinate=09, sec-latency=32
 I/O behind bridge: 0000e000-0000efff

Другой вариант:

# lshw -class network
 *-network:0
 description: Ethernet interface
 product: Ethernet Connection X552/X557-AT 10GBASE-T
 vendor: Intel Corporation
 physical id: 0
 bus info: pci@0000:03:00.0
 logical name: eth0
 version: 00
 serial: xxxxxxxxxx
 size: 1Gbit/s
 capacity: 10Gbit/s
 width: 64 bits
 clock: 33MHz
 capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical tp 1000bt-fd 10000bt-fd autonegotiation
 configuration: autonegotiation=on broadcast=yes driver=ixgbe driverversion=4.3.15 duplex=full firmware=0x800003e7 ip=193.70.9.107 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
 resources: irq:16 memory:fbc00000-fbdfffff memory:fbe04000-fbe07fff memory:fb180000-fb1fffff memory:fb500000-fb5fffff memory:fb400000-fb4fffff
 *-network:1 DISABLED
 description: Ethernet interface
 product: Ethernet Connection X552/X557-AT 10GBASE-T
 vendor: Intel Corporation
 physical id: 0.1
 bus info: pci@0000:03:00.1
 logical name: eth1
 version: 00
 serial: xxxxxxxxxxx
 capacity: 10Gbit/s
 width: 64 bits
 clock: 33MHz
 capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical tp 1000bt-fd 10000bt-fd autonegotiation
 configuration: autonegotiation=on broadcast=yes driver=ixgbe driverversion=4.3.15 firmware=0x800003e7 latency=0 link=no multicast=yes port=twisted pair
 resources: irq:17 memory:fba00000-fbbfffff memory:fbe00000-fbe03fff memory:fb100000-fb17ffff memory:fb300000-fb3fffff memory:fb200000-fb2fffff
 *-network:0 DISABLED
 description: Ethernet interface
 physical id: 5
 logical name: dummy0
 serial: xxxxxxxxxxxxxx
 capabilities: ethernet physical
 configuration: broadcast=yes
 *-network:1 DISABLED
 description: Ethernet interface
 physical id: 6
 logical name: bond0
 serial: 9e:fd:31:6d:07:a2
 capabilities: ethernet physical
 configuration: autonegotiation=off broadcast=yes driver=bonding driverversion=3.7.1 firmware=2 link=no master=yes multicast=yes
 *-network:2 DISABLED
 description: Ethernet interface
 physical id: 7
 logical name: ifb0
 serial: xxxxxxxxxxxx
 capabilities: ethernet physical
 configuration: broadcast=yes
 *-network:3 DISABLED
 description: Ethernet interface
 physical id: 8
 logical name: ifb1
 serial: xxxxxxxxxxxxx
 capabilities: ethernet physical
 configuration: broadcast=yes

сс

Оставить ответ

cможет принять любую посещаемость благодаря кешированию WP Super Cache