0

I would like to check which driver is being used by the kernel for the eth0 interface.

Is lspci eth0 the correct command ?

user1794469
  • 4,067
  • 1
  • 26
  • 42

2 Answers2

1

To identify the driver used by a particular network interface, use ethtool -i <name of interface> as root.

Example on my eno1 interface (new-style naming) on Debian 10:

# ethtool -i eno1
driver: e1000e
version: 3.2.6-k
firmware-version: 0.5-4
expansion-rom-version: 
bus-info: 0000:00:1f.6
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

So, in this case, the driver is e1000e.

telcoM
  • 96,466
0

sudo lspci -v shows the drivers in use for all your PCI(E) devices. sudo is not strictly required but might show more info.

Finding drivers for USB devices is more complicated: Find out which modules are associated with a usb device?