systemd interface name issue

zg ml at
Sun May 5 14:33:14 EDT 2013


I'm using arch linux, with wpa_supplicant 2.0-3, and systemd
I named my wireless interface 'wifi0' instead of 'wlan0' so to avoid race conditions, as recommended

when trying to enable wpa_supplicant in systemd for this interface, I get the wrong link:

  systemctl enable wpa_supplicant at wifi0.service
  ln -s '/usr/lib/systemd/system/wpa_supplicant at .service' '/etc/systemd/system/ at wlan0.service'

wlan0 is used instead of wifi0.

in */usr/lib/systemd/system/wpa_supplicant at .service* I found the following line:

  [Install] at wlan0.service

wlan0 is hardcoded.

If I change it to 


the install link works.

Is this an bug/issue/…?


More information about the HostAP mailing list