USB enumeration changes when it shouldn't

Oct 30, 2024 Last reply: 1 year ago 2 Replies
[continuation of wifi problems on Bookworm]

In tinkering with a usb-wifi dongle on a Pi5 running Bookworm it appears that adding or removing the usb-wifi dongle changes device names in a surprising way:



When booted with no dongle, the internal wifi is wlan0, as expected. When booted with the dongle, the internal wifi is wlan1 and the dongle is wlan0, a surprise.



I expected that devices would be given enumeration in order of discovery.



Is this behavior normal?



Thanks for reading,



bob prohaska


Yes, the usual reason for adding a WiFi dongle is to use it in preference to the built-in interface.

If you don't want that; run raspi-config and select predictable names in networking. Each interface will then have a consistent and unique name.

---druck

Which ends up being somewhat longer, like “wlp5s0”.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required