
11 Oct
2023
11 Oct
'23
1:26 p.m.
Kevin Cozens via talk wrote on 2023-10-11 12:05:
What udev(?) rule do I need to add to have the WiFi device come up as wlan or wlan0 regardless of the MAC address that may be associated with the WiFi device?
My first thought: netplan, and found a link explaining it here: https://askubuntu.com/questions/1317036/how-to-rename-a-network-interface-in... Basically, in /etc/netplan/10-my-config.yaml: ethernets: enp2s0: match: macaddress: $my_mac_address set-name: eth0 Then, `netplan try`, and if the syntax is okay, there's a 120 second timer to go to another terminal and `ip link` to see if you now have `eth0`. It will auto-revert if one doesn't press [Enter] during the 120 second timer. Worked for me...