From: Arturo Buzarra Date: Thu, 2 Apr 2020 16:26:48 +0200 Subject: [PATCH] wpa_supplicant: systemd: enable control socket interface for systemd service Otherwise the command "wpa_cli" fails with: Failed to connect to non-global ctrl_ifname https://jira.digi.com/browse/DEL-6483 Signed-off-by: Arturo Buzarra --- wpa_supplicant/systemd/wpa_supplicant.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.in b/wpa_supplicant/systemd/wpa_supplicant.service.in index 75a37a8cd..6d3a04a0e 100644 --- a/wpa_supplicant/systemd/wpa_supplicant.service.in +++ b/wpa_supplicant/systemd/wpa_supplicant.service.in @@ -4,10 +4,10 @@ Before=network.target Wants=network.target [Service] Type=dbus BusName=fi.w1.wpa_supplicant1 -ExecStart=@BINDIR@/wpa_supplicant -u +ExecStart=@BINDIR@/wpa_supplicant -u -O /var/run/wpa_supplicant [Install] WantedBy=multi-user.target Alias=dbus-fi.w1.wpa_supplicant1.service