Bug 25719 - network center , iwlist and wpa_supplicant treat hex bytes differently
Summary: network center , iwlist and wpa_supplicant treat hex bytes differently
Status: RESOLVED DUPLICATE of bug 25720
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-21 21:28 CET by w unruh
Modified: 2019-11-22 22:08 CET (History)
1 user (show)

See Also:
Source RPM: wpa_supplicant-2.9-1.1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description w unruh 2019-11-21 21:28:09 CET
I just ran across a problem at the Univ Para in Belem Brazil One of their SSID has (I presume) UTF code in the name. but Network center, iwlist, and wpa_supplicant treat the name differently-- in particular some Capitalize the hex bytes and others do not. Also Network center does not treat the ssid properly.
The SSID is
ppgf_audit\xc3\xe3io_LPF Unfortunately something reports this as 
ppgf_audit\xC3\xE3io_LPF which of course does not match the other one. 

In addition, the wpa_supplicant name in /etc/wpa_supplicant.conf as
ssid="ppgf_audit\xc3\xe3io_LPF" but the "string version" (in double qoutes does not translate into the appropriate bytes. It should be
ssid=P"ppgf_audit\xc3\xe3io_LPF" so that wpa_supplicant treats the escape sequences properly. (in fact there is no reason why the ssid=P"..." form should not be used for all the ssid= lines in wpa_supplicant.conf).

The short problemis that wpasupplicant refuses to connect to such an ssid, since the match strings do NOT agree.


Version-Release number of selected component (if applicable):

2.9-1.1  wpa_supplicant
wireless-tools-30-0.pre9.11.mga7
libdrakx-net-2.42-1.mga7




How reproducible: Always


Steps to Reproduce: Try to use NetworkCenter to connect to an SSID with escape sequences in the name.


.
Comment 1 Lewis Smith 2019-11-22 17:58:04 CET
Thank you w unruh for pointing out this problem.

Assigning to registered maintainer tmb for:
 wpa_supplicant-2.9-1.1.mga7.src.rpm
 wireless-tools-30-0.pre9.11.mga7.src.rpm
CC tv for:
 drakx-net-2.42-1.mga7.src.rpm

Source RPM: Network center and wpa_supplicant => wpa_supplicant-2.9-1.1.mga7.src.rpm
CC: (none) => thierry.vignaud
Assignee: bugsquad => tmb

Comment 2 Lewis Smith 2019-11-22 18:14:08 CET
Sorry Thomas & Thierry, I had not noticed in time (different summaries) that this bug also duplicates 25420. Scrap this one, leave the other.

*** This bug has been marked as a duplicate of bug 25720 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 3 w unruh 2019-11-22 22:08:28 CET
I presume you meant 25720 not 25420.
I thought I had marked botth 25420 and 25120 as duplicates of 25419, but I guess the marking never took. Posting to bugs list seems to have had some problems yesterday. (I tried to post three times because each of them gave me an error message saying the post had not worked, and then of course all three showed up, but the duplicate label never did show up. Ah well.

Note You need to log in before you can comment on or make changes to this bug.