<div dir="ltr">Yep, that's a bug in the *.service file.<div><br></div><div>In systemd, a <servicename>@.service file shouldn't hard-code the "@" part. As the hostap/wpa_supplicant git tree doesn't contain this file, you should file a bug report with your distribution.</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/5 zg <span dir="ltr"><<a href="mailto:ml@mail.tsaitgaist.info" target="_blank">ml@mail.tsaitgaist.info</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm using arch linux, with wpa_supplicant 2.0-3, and systemd<br>
I named my wireless interface 'wifi0' instead of 'wlan0' so to avoid race conditions, as recommended<br>
<br>
when trying to enable wpa_supplicant in systemd for this interface, I get the wrong link:<br>
<br>
systemctl enable wpa_supplicant@wifi0.service<br>
ln -s '/usr/lib/systemd/system/wpa_supplicant@.service' '/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service'<br>
<br>
wlan0 is used instead of wifi0.<br>
<br>
in */usr/lib/systemd/system/wpa_supplicant@.service* I found the following line:<br>
<br>
[Install]<br>
Alias=multi-user.target.wants/wpa_supplicant@wlan0.service<br>
<br>
wlan0 is hardcoded.<br>
<br>
If I change it to<br>
<br>
[Install]<br>
Alias=multi-user.target.wants/wpa_supplicant@%i.service<br>
<br>
the install link works.<br>
<br>
Is this an bug/issue/…?<br>
<br>
thx,<br>
zg<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</blockquote></div><br></div>