FS#30342 - [netcfg] 2.8.3-1 fails to deal with essid containing accents and quotes
Attached to Project:
Arch Linux
Opened by Luck Darnière (LuX) - Monday, 18 June 2012, 16:12 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 24 June 2012, 22:26 GMT
Opened by Luck Darnière (LuX) - Monday, 18 June 2012, 16:12 GMT
Last edited by Jouke Witteveen (jouke) - Sunday, 24 June 2012, 22:26 GMT
|
Details
Description:
I have been unable to connect, via wifi-menu and/or netcfg 2.8.3-5, to a wifi spot with essid "Wifi du château d'Olonne" and no encryption. This essid was properly presented by 'iwlist wlan0 scan'. It was unproperly converted to "ch_teau d'Olonne" when wifi-menu created a profile for this wifi spot. Moreover netcfg was puzzled by the single quote in "d'Olonne", even after I tried to replace it by "d\'Olonne" in the profile. Additional info: * package version(s) * config and/or log files etc. I had the same problem with wpa_supplicant 0.7.3-5 (which is not the latest stable version, but the package in Arch is out-of-date at the moment), although the essid field in wpa_supplicant.conf is written between double quotes (instead of single quote in netcfg profiles). I have posted more detailed information and output in the forum: http://forums.archlinux.fr/post96296.html#p96296 Steps to reproduce: Find a wifi spot with essid containing non-ascii characters and single quotes. |
This task depends upon
Closed by Jouke Witteveen (jouke)
Sunday, 24 June 2012, 22:26 GMT
Reason for closing: Fixed
Additional comments about closing: 5e6d2 (and 5ac72)
Sunday, 24 June 2012, 22:26 GMT
Reason for closing: Fixed
Additional comments about closing: 5e6d2 (and 5ac72)
1) I haven't been able to test what happens with non-ascii characters such as "â" because such characters are not authorized by the configuration page of my box.
2) Errors still occur when turning off the wifi with netcfg, or to switch to another wifi using wifi-menu.
- With one quote:
# netcfg down wlan0-wifi\'test
/run/network/interfaces/wlan0: ligne1: Caractère de fin de fichier (EOF) prématuré lors de la recherche du « ' » correspondant
/run/network/interfaces/wlan0: ligne2: Erreur de syntaxe : fin de fichier prématurée
:: wlan0-wifi'test down [BUSY]
/run/network/interfaces/wlan0: ligne1: Caractère de fin de fichier (EOF) prématuré lors de la recherche du « ' » correspondant
/run/network/interfaces/wlan0: ligne2: Erreur de syntaxe : fin de fichier prématurée
[DONE]
- With two quotes:
# netcfg down wlan0-wifi\'t\'test
> Profile not connected
I think the accented characters problem might be either none existent or due to mangled output from 'wpa_cli (...) scan_results', in which case it is not a bug in netcfg.
If there are reasons to believe there exists an accented characters bug and it is in fact in netcfg, let me know.