|Summary:||net-wireless/wpa_supplicant - systemd unit does not configure ctrl_interface|
|Product:||Gentoo Linux||Reporter:||Łukasz Stelmach <stlman>|
|Component:||Current packages||Assignee:||Rick Farina (Zero_Chaos) <zerochaos>|
|Package list:||Runtime testing required:||---|
Description Łukasz Stelmach 2012-09-30 19:49:59 UTC
Unlike openrc's /lib/rc/net/wpa_supplicant.sh neither wpa_supplicant@.service nor the default wpa_supplicant.conf configure the ctrl_interface. Without it is impossible to control wpa_supplicant with wpa_cli. There seem to be two (at least) possible solutions: 1. Add ctrl_interface to the default wpa_supplicant.conf 2. Add -C option in the wpa_supplicant@.service file. The former seems better since it works better with openrc's script when the setting is not at its default value. Reproducible: Always Steps to Reproduce: 1. systemctl start email@example.com 2. wpa_cli ping Actual Results: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Expected Results: Selected interface 'wlan0' PONG
Comment 1 Ulenrich 2012-10-01 16:14:08 UTC
~amd64 systemd-193 works as expected with proprietary wl.ko for linux-3.5.4: # wpa_cli ping Selected interface 'wlan0' PONG # ping heise.de PING heise.de (220.127.116.11) 56(84) bytes of data. 64 bytes from redirector.heise.de (18.104.22.168): icmp_req=1 ttl=250 time=29.9 ms
Comment 2 Ulenrich 2012-10-01 17:14:46 UTC
linux-3.6.0 proprietary Broadcom wl.ko segfaults ... as such wpa_cli doesnt work. I cannot test.
Comment 3 Łukasz Stelmach 2012-10-04 19:28:48 UTC
I am afraid neither kernel nor systemd are problems here. It is wpa_supplicant of course if you don't configure your network interfaces from hotplug events with openrc net.* scripts. Which version of wpa_supplicant do you use?
Comment 4 Pacho Ramos 2018-03-13 12:06:50 UTC
Please also try with an updated system