• USB enumeration changes when it shouldn't

    From bp@www.zefox.net@3:770/3 to All on Wednesday, October 30, 2024 16:42:20
    [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: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to bp@www.zefox.net on Wednesday, October 30, 2024 21:22:31
    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: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Lawrence D'Oliveiro@3:770/3 to druck on Wednesday, October 30, 2024 23:58:30
    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: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)