FS#47806 - [netctl] wifi-menu cannot connect to WiFi whose ESSID containing spaces when using netctl-auto
Attached to Project:
Arch Linux
Opened by Stephen Zhang (zsrkmyn) - Sunday, 17 January 2016, 17:38 GMT
Last edited by Jouke Witteveen (jouke) - Thursday, 09 June 2016, 20:22 GMT
Opened by Stephen Zhang (zsrkmyn) - Sunday, 17 January 2016, 17:38 GMT
Last edited by Jouke Witteveen (jouke) - Thursday, 09 June 2016, 20:22 GMT
|
Details
Description:
`wifi-menu` cannot connect to WiFi whose ESSID containing spaces when using netctl-auto service. The reason is the lack of quotation marks in wifi-menu script. Additional info: * package version: 1.11-1 * config and logs: ,--- |~# cat "/etc/netctl/wlp9s0-NOKIA Nokia 520T_5437" |Description='Automatically generated profile by wifi-menu' |Interface=wlp9s0 |Connection=wireless |Security=wpa |ESSID=NOKIA\ Nokia\ 520T_5437 |IP=dhcp |Key=whatever `--- when chonsing "wlp9s0-NOKIA Nokia 520T_5437" profile using `wifi-menu`, it will produces: ,--- |Interface 'wlp9s0' is controlled by netctl-auto |Usage: netctl-auto {COMMAND} ... | [--help|--version] | |Commands: | list List available profiles (active='*', disabled='!') | current List currently active profiles | switch-to [PROFILE] Switch to a profile, enable it if necessary | enable [PROFILE] Enable a profile for automatic selection | disable [PROFILE] Disable a profile temporarily for automatic selection | enable-all Enable all profiles for automatic selection | disable-all Disable all profiles temporarily for automatic selection `--- Steps to reproduce: 1. create a AP with ESSID containing spaces; 2. create a profile corresponding to the target AP(the profile can be generated automatically by `wifi-menu`); 3. enable the `netctl-auto@network_interface.service`; 4. select the target AP using `wifi-menu`. Solution: In `wifi-menu` script, line 186: Change `$PROFILE` to `"$PROFILE"`. Just adding two quotation marks will solve the problem. |
This task depends upon
Closed by Jouke Witteveen (jouke)
Thursday, 09 June 2016, 20:22 GMT
Reason for closing: Fixed
Additional comments about closing: 69743
Thursday, 09 June 2016, 20:22 GMT
Reason for closing: Fixed
Additional comments about closing: 69743