systemd interface name issue
holgerschurig at gmail.com
Mon May 6 04:52:57 EDT 2013
Yep, that's a bug in the *.service file.
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.
2013/5/5 zg <ml at mail.tsaitgaist.info>
> 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/multi-user.target.wants/wpa_supplicant at wlan0.service'
> wlan0 is used instead of wifi0.
> in */usr/lib/systemd/system/wpa_supplicant at .service* I found the
> following line:
> Alias=multi-user.target.wants/wpa_supplicant at wlan0.service
> wlan0 is hardcoded.
> If I change it to
> the install link works.
> Is this an bug/issue/…?
> HostAP mailing list
> HostAP at lists.shmoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HostAP