<div dir="ltr">Yep, that&#39;s a bug in the *.service file.<div><br></div><div>In systemd, a &lt;servicename&gt;@.service file shouldn&#39;t hard-code the &quot;@&quot; part. As the hostap/wpa_supplicant git tree doesn&#39;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">&lt;<a href="mailto:ml@mail.tsaitgaist.info" target="_blank">ml@mail.tsaitgaist.info</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I&#39;m using arch linux, with wpa_supplicant 2.0-3, and systemd<br>
I named my wireless interface &#39;wifi0&#39; instead of &#39;wlan0&#39; 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 &#39;/usr/lib/systemd/system/wpa_supplicant@.service&#39; &#39;/etc/systemd/system/multi-user.target.wants/wpa_supplicant@wlan0.service&#39;<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>