Driver managing network interface

Kristof Provost kristof at sigsegv.be
Wed Mar 27 08:34:08 EDT 2013


On 2013-03-27 12:16:58 (+0100), Pietro Paolini <pulsarpietro at 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




More information about the Kernelnewbies mailing list