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:



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?

  • From systemd.link man page, The first (in lexical order) of the link files that matches a given device is applied. So, if you add another link file for the same device, one of them is ignored. Also, you should assign static IPs via your router, since you never know who might lease the IP you want while your the Raspberry PI is shutdown. (Had to learn this the hard way.) – Munir Dec 13 '16 at 22:20
  • @Munir As I described, I deleted the first link file, so at least in the /etc/systemd/network folder there is nothing to mask my new link file. – jan Dec 14 '16 at 13:21
  • Ahh..sorry. Misunderstood what you did there. – Munir Dec 14 '16 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.