Useful Commands/Hardware: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Commands ==
== Read Hardware Information ==


<source lang="bash">
=== List PCI Devices ===
ethtool -i eth0
</source>


<source lang="bash">
<source lang="bash">
Line 19: Line 17:


https://devicehunt.com/
https://devicehunt.com/
=== Display Ethernet card information ===
<source lang="bash">
ethtool -i eth0
</source>
=== List USB Devices ===


<source lang="bash">
<source lang="bash">
lsusb
lsusb
</source>
</source>
=== List loaded kernel modules ===


<source lang="bash">
<source lang="bash">

Revision as of 13:03, 27 July 2021

Read Hardware Information

List PCI Devices

lspci -k
06:00.1 Class 0200: Device 1077:8070 (rev 02)
        Subsystem: Device 7053:1002
        Kernel driver in use: qede
07:00.0 Class 0200: Device 8086:15e4 (rev 11)
        Subsystem: Device 8086:0000
        Kernel driver in use: ixgbe

https://devicehunt.com/

Display Ethernet card information

ethtool -i eth0

List USB Devices

lsusb

List loaded kernel modules

lsmod

Module name of Ethernet Cards

Chipset Speed kernel
module
bonding
balance-alb
RoCE
Mellanox ConnectX-3 Pro EN 40G mlx4
Intel X710 10G i40e
Intel X540/X550 10G ixgbe
Marvell QLogic QL41xx 10G/25G qede
Marvell AQtion AQC111U 5G atlantic
Marvell AQtion AQC112U 2.5G atlantic
Realtek RTL8156 2.5G r8152
Realtek RTL8153 1G r8152
ASIX AX88179 1G ax88179_178a X