I'm using Archlinux on a Raspberry Pi 3. The wireless adapter was working with systemd-networkd and wpa_supplicant. I named the device to "wlan0" using a 00-wlan0.link file containing:
[Match] MacAddress=b8:27:eb:20:a4:a5 [Link] Name=wlan0
After trying to bridge the wired and the wireless adapter which resulted in neither of one working anymore, I deleted all files from /etc/systemd/network except 00-lan0.link and lan0.network which give a static IP to my wired adapter so I can access the machine via cable. No I observe that after rebooting, the wireless interface's name still is wlan0, although the .link file giving it that name is not in place anymore. Furthermore, if I add another .link file trying to give the interface a new name (wlan1), this is ignored and the device still shows up under the name wlan0. What could cause this and how can you debug this problem?