March 27, 2013
12:34 p.m.
On 2013-03-27 12:16:58 (+0100), Pietro Paolini <pulsarpietro@aol.com> wrote:
I know how retrieve the module from a char device but how can I find the module name behind the eth0 interface or more generally of a network interface ?
sysfs will be your best bet: # ls -lah /sys/class/net/eth0/device/driver lrwxrwxrwx 1 root root 0 Mar 27 08:59 /sys/class/net/eth0/device/driver -> ../../../bus/pci/drivers/e1000e Regards, Kristof