I have multiple USB to ethernet devices which are plugged to the same pc.
Is there a way to identify which one is mapped to which eth* network interface via usb port/etc ?
I have tried looking in lsusb and /proc, but haven't found anything useful.
interfacelinuxnamenetworking
I have multiple USB to ethernet devices which are plugged to the same pc.
Is there a way to identify which one is mapped to which eth* network interface via usb port/etc ?
I have tried looking in lsusb and /proc, but haven't found anything useful.
Best Answer
The mapping between interface names and devices can be seen in
/sys/class/net/
Example:
My
eth0
is on a PCI bus, device 0x19, as the symbolic link reveals.