<div dir="ltr">Oh, my bad. I did &quot;find -name *.service&quot;, not realizing that some autojunk will modify an &quot;*.<a href="http://service.in">service.in</a>&quot; file ...<div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/5/6 Arend van Spriel <span dir="ltr">&lt;<a href="mailto:arend@broadcom.com" target="_blank">arend@broadcom.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 05/06/2013 10:52 AM, Holger Schurig wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yep, that&#39;s a bug in the *.service file.<br>
<br>
In systemd, a &lt;servicename&gt;@.service file shouldn&#39;t hard-code the &quot;@&quot;<br>
part. As the hostap/wpa_supplicant git tree doesn&#39;t contain this file,<br>
you should file a bug report with your distribution.<br>
</blockquote>
<br></div>
Actually, that file is generated when building wpa_supplicant with dbus configured.<br>
<br>
Regards,<br>
Arend<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2013/5/5 zg &lt;<a href="mailto:ml@mail.tsaitgaist.info" target="_blank">ml@mail.tsaitgaist.info</a> &lt;mailto:<a href="mailto:ml@mail.tsaitgaist.info" target="_blank">ml@mail.tsaitgaist.<u></u>info</a>&gt;&gt;<div class="im">
<br>
<br>
    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<br>
    race conditions, as recommended<br>
<br>
    when trying to enable wpa_supplicant in systemd for this interface,<br>
    I get the wrong link:<br>
<br>
       systemctl enable wpa_supplicant@wifi0.service<br>
       ln -s &#39;/usr/lib/systemd/system/wpa_<u></u>supplicant@.service&#39;<br>
    &#39;/etc/systemd/system/multi-<u></u>user.target.wants/wpa_<u></u>supplicant@wlan0.service&#39;<br>
<br>
    wlan0 is used instead of wifi0.<br>
<br>
    in */usr/lib/systemd/system/wpa_<u></u>supplicant@.service* I found the<br>
    following line:<br>
<br>
       [Install]<br>
       Alias=multi-user.target.wants/<u></u>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/<u></u>wpa_supplicant@%i.service<br>
<br>
    the install link works.<br>
<br>
    Is this an bug/issue/…?<br>
<br>
    thx,<br>
    zg<br>
    ______________________________<u></u>_________________<br>
    HostAP mailing list<br></div>
    <a href="mailto:HostAP@lists.shmoo.com" target="_blank">HostAP@lists.shmoo.com</a> &lt;mailto:<a href="mailto:HostAP@lists.shmoo.com" target="_blank">HostAP@lists.shmoo.com</a><u></u>&gt;<br>
    <a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/<u></u>mailman/listinfo/hostap</a><div class="im"><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com" target="_blank">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/<u></u>mailman/listinfo/hostap</a><br>
<br>
</div></blockquote>
<br>
<br>
</blockquote></div><br></div>