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.
|
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. |
|||
|
|
If your system uses udev for device management, you can use the following to get device IDs:
Provided your OS stores the udev activity log there; adjust when necessary. |
|||
|
|
Have you considered using the hardware addresses of the devices? That way you can map which device is connected to which You can obtain this information from |
|||
|
|
You could unplug it and plug it back in, then check the latest messages in dmesg. |
|||
|
|