Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#25464 - [netcfg] error in setting WPA_CTRL_PATH
Attached to Project:
Arch Linux
Opened by Frank Mousset (ixot) - Monday, 08 August 2011, 21:17 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Monday, 08 August 2011, 22:22 GMT
Opened by Frank Mousset (ixot) - Monday, 08 August 2011, 21:17 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Monday, 08 August 2011, 22:22 GMT
|
DetailsDescription:
After upgrading to netcfg v2.6.6, my wireless netcfg profile stopped working (see below for the profile). The error was: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Running netcfg with NETCFG_DEBUG=1 gave the following. DEBUG: Loading profile wpa DEBUG: Configuring interface wlan0 :: wpa up DEBUG: status reported to profile_up as: DEBUG: Loading profile wpa DEBUG: Configuring interface wlan0 DEBUG: wireless_up stop_wpa wlan0 DEBUG: wireless_up start_wpa wlan0 /etc/wpa_supplicant.conf nl80211,wext DEBUG: wireless_up stop_wpa wlan0 DEBUG: wireless_up ifup DEBUG: wireless_up start_wpa wlan0 /etc/wpa_supplicant.conf nl80211,wext DEBUG: wireless_up wpa_check DEBUG: wpa_cli -p udp) . For example, ctrl_interface=SDDL=D: would set an empty /var/run/wpa_supplicant -i wlan0 status Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory > WPA Authentication/Association Failed DEBUG: profile_up connect failed Notice especially this part: DEBUG: wpa_cli -p udp) . For example, ctrl_interface=SDDL=D: would set an empty /var/run/wpa_supplicant -i wlan0 status It turns out that netcfg does not ignore leading #s when parsing wpa_supplicant.conf, as I believe it should. In /usr/lib/network/connections/wireless, I believe WPA_CTRL_PATH=$(grep "ctrl_interface=" "$WPA_CONF" | cut -d= -f 2- | sed -r 's/DIR=(.*) +GROUP=.*/\1/') should instead be something like WPA_CTRL_PATH=$(grep "ctrl_interface=" "$WPA_CONF" | grep -v "^#" | cut -d= -f 2- | sed -r 's/DIR=(.*) +GROUP=.*/\1/') Additional info: netcfg v2.6.6 /etc/wpa_supplicant.conf attached (w/o network definitions). My profile: /etc/network.d/wpa CONNECTION="wireless" DESCRIPTION="wpa_supplicant" INTERFACE="wlan0" SECURITY="wpa-config" WPA_CONF="/etc/wpa_supplicant.conf" IP="dhcp" |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Monday, 08 August 2011, 22:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 2.6.7
Monday, 08 August 2011, 22:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 2.6.7
wpa_supplicant.conf