Assigning USB devices to specified interface name?

I am experiencing a problems using multiple usb devices where sometimes my LAN device is eth0 and the WAN is eth1 and other times they switch. I can force it by plugging in the devices in order but i'd like to have the interface name set by device so I dont have to be part of the bootup.

Can I do that with hotplug? are there any examples of this? They are different devices and use different drivers so i think hotplug should be able to key in on that.


1 Like