Force USB wlan ifname keep starting from 0

mx flag

Description: I have a NUC running on 20.04 with an internal WiFi chip. Since I need to connect to external antenna so I have added a USB WiFi adaptor.

What problem I am having: The USB WiFi interface most of the time is named with wlan1 after reboot so if I create SSID profile when it was recongnised as wlan0, it lost network connection after reboot. I need to physically unplug the USB and replug it, system will recongnise it as wlan0 and network comes back.

What I have done: I used 70-persistent rule to force internal WiFi MAC to be named wlan99, then manually disable wlan99. I don't want to bind the USB WiFi MAC to use wlan0 because I have different USB adaptor for different antenna connectors.

What I want to archieve: I want "any first" USB WiFi interface ALWAYS to start from "wlan0".

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.