• USB enumeration changes when it shouldn't

    From bp@www.zefox.net@21:1/5 to All on Wed Oct 30 16:42:20 2024
    [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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From druck@21:1/5 to bp@www.zefox.net on Wed Oct 30 21:22:31 2024
    On 30/10/2024 16:42, bp@www.zefox.net wrote:
    [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?

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to druck on Wed Oct 30 23:58:30 2024
    On Wed, 30 Oct 2024 21:22:31 +0000, druck wrote:

    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.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)