On 2022-11-20, Odd Martin Baanrud <[email protected]> wrote: > Hello, > > I have a Raspberry Pi 4 with 2 USB NIC’s attached. > One via USB3 (ure0), and the other via USB2 (ure1). > Since they are connected to different USB interfaces, I thaught they would > get configured the same way on reboot. > But that’s not the case. > They became swapped on reboot. > Is there a way to “lock” the configuration I want? > So the USB3 NIC always become ure0, and the USB2 ure1.
For multiple USB NICs using the same driver, the device names are set depending on the order that the devices attached. There's no way to lock it. You might find that connecting one of them via an external hub results in a more consistent ordering. Otherwise the simplest workaround is probably to swap one for a device that uses a different driver.. -- Please keep replies on the mailing list.

