On a Linux system with systemd
and networkd
I need to operate a WLAN access point on one WLAN interface, while operating further (hotplug) WLAN interfaces in normal station ("client") mode.
As it turns out, wpa_supplicant.service
goes live on all my WLAN interfaces, which would be fine, if only all these WLAN interfaces would operate in station/client mode. However, while wpa_supplicant.service
serves a WLAN interface, it's not possible (anymore?) that hostapd.service
operates that WLAN interface in AP access point mode.
So I want to disable wpa_supplicant.service
for a specific interface only, say wls35u2
. My idea was to have a wpa_supplicant@wls35u2.service
unit that I can selectively disable, but to leave wpa_supplicant.service
enabled. However, this does not seem to work or I'm doing something wrong in the wpa_supplicant@wls35u2.service
.
So, how can I disable the WPA supplicant service on a specific interface only without globally disabling it?