I am trying to bring up WiFi on a system that I intend to clone many times in the future. The device is a vanilla Edimax ew-7811UN. The device shows in lsusb and the driver is reported. Both the builtin Ethernet and the Dongle are reported in ifconfig as enx, obviously renamed by udev during boot as “predictable device names.”
It is obviously impossible to configure as system for a device to be named later without knowing the MAC address of the device, which can’t be known in advance. I get the motivation for “predictable device names” for systems containing two or more wired Ethernet devices, but it is a disaster for WiFi dongles.
How can I revert to “wlan0”? None of the classical solutions solutions work for Ubuntu Mate on the RPi. Linking /etc/udev/rules.d/80-net-setup-link.rules to /dev/null, for examples, prevents renaming but breaks all networking.