[wpa_supplicant] essid with non-ascii characters

LuX lux.onthenet
Mon Jun 25 13:37:05 PDT 2012


Hello!

I'm using version 0.7.3-5 of wpa_supplicant (1.0 is not yet available
in 'core' repository of Arch linux at the moment) and I have
unsuccessfully tried to connect to a public wifi spot whose essid
(correctly detected by 'iwlist wlan0 scan') was "Wifi Ch?teau
d'Olonne". I haven't seen anything concerning essid with non-ascii
characters in the change-log of 1.0 thus I guess that the problem is
unsolved yet.

Here is my locale and the config file I created for this wifi spot.

--------------------------------------------------------------------------
$ echo $LANG
fr_FR.UTF-8

$ cat /etc/wifi.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel

# Plaintext connection (no WPA, no IEEE 802.1X)
network={
   ssid="Wifi Ch?teau d'Olonne"
   key_mgmt=NONE
}
--------------------------------------------------------------------------

And below is the output of the corresponding wpa_supplicant command
(which I have interrupted after a moment). As one can see, "Wifi
Ch?teau d'Olonne" has been changed to "Wifi Ch_teau d'Olonne".

Question: Is that problem already known? Should I report a bug for it?

Regards, 
LuX

--------------------------------------------------------------------------
$ wpa_supplicant -d -i wlan0 -c /etc/wifi.conf
Initializing interface 'wlan0' conf '/etc/wifi.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wifi.conf' -> '/etc/wifi.conf'
Reading configuration file '/etc/wifi.conf'
ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=wheel'
Priority group 0
   id=0 ssid='Wifi Ch__teau d'Olonne'
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 00:24:2b:d1:46:94
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): 0d bb b1 b9 58 fb 5b 77 85 48 03 cc 60 ad 09 6a
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
ctrl_interface_group=10 (from group name 'wheel')
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=8
Scan results did not fit - trying larger buffer (8192 bytes)
Received 5119 bytes of scan results (12 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 5c:33:8e:3c:24:11 SSID 'Livebox-5e54'
BSS: Add new id 1 BSSID 00:0b:86:c7:d8:41 SSID 'RAYON'
BSS: Add new id 2 BSSID 5c:33:8e:cd:36:14 SSID 'Livebox-f8a9'
BSS: Add new id 3 BSSID 00:0b:86:c0:07:81 SSID 'RAYON'
BSS: Add new id 4 BSSID 5c:33:8e:7c:50:a8 SSID 'Livebox-1410'
BSS: Add new id 5 BSSID 00:19:70:44:24:e1 SSID 'Livebox-c248'
BSS: Add new id 6 BSSID 00:0b:86:c7:d8:40 SSID 'METIER'
BSS: Add new id 7 BSSID 00:0b:86:c0:07:80 SSID 'METIER'
BSS: Add new id 8 BSSID 00:24:a8:aa:1e:40 SSID 'Wifi Ch_teau d'Olonne'
BSS: Add new id 9 BSSID 00:24:a8:aa:1e:50 SSID 'Wifi Ch_teau d'Olonne'
BSS: Add new id 10 BSSID 00:1a:6b:ca:98:bc SSID 'Livebox-4ba9'
BSS: Add new id 11 BSSID 00:24:a8:aa:a1:b0 SSID 'Wifi Ch_teau d'Olonne'
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: 5c:33:8e:3c:24:11 ssid='Livebox-5e54' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
1: 00:0b:86:c7:d8:41 ssid='RAYON' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
2: 5c:33:8e:cd:36:14 ssid='Livebox-f8a9' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
3: 00:0b:86:c0:07:81 ssid='RAYON' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
4: 5c:33:8e:7c:50:a8 ssid='Livebox-1410' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: 00:19:70:44:24:e1 ssid='Livebox-c248' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 00:0b:86:c7:d8:40 ssid='METIER' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
7: 00:0b:86:c0:07:80 ssid='METIER' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
8: 00:24:a8:aa:1e:40 ssid='Wifi Ch_teau d'Olonne' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
9: 00:24:a8:aa:1e:50 ssid='Wifi Ch_teau d'Olonne' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
10: 00:1a:6b:ca:98:bc ssid='Livebox-4ba9' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
11: 00:24:a8:aa:a1:b0 ssid='Wifi Ch_teau d'Olonne' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 5c:33:8e:3c:24:11 ssid='Livebox-5e54' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
1: 00:0b:86:c7:d8:41 ssid='RAYON' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
2: 5c:33:8e:cd:36:14 ssid='Livebox-f8a9' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
3: 00:0b:86:c0:07:81 ssid='RAYON' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
4: 5c:33:8e:7c:50:a8 ssid='Livebox-1410' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
5: 00:19:70:44:24:e1 ssid='Livebox-c248' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
6: 00:0b:86:c7:d8:40 ssid='METIER' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
7: 00:0b:86:c0:07:80 ssid='METIER' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
8: 00:24:a8:aa:1e:40 ssid='Wifi Ch_teau d'Olonne' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
9: 00:24:a8:aa:1e:50 ssid='Wifi Ch_teau d'Olonne' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
10: 00:1a:6b:ca:98:bc ssid='Livebox-4ba9' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
11: 00:24:a8:aa:a1:b0 ssid='Wifi Ch_teau d'Olonne' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
No suitable network found
Setting scan request: 5 sec 0 usec
^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
No keys have been configured - skip key clearing
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
BSS: Remove id 0 BSSID 5c:33:8e:3c:24:11 SSID 'Livebox-5e54'
BSS: Remove id 1 BSSID 00:0b:86:c7:d8:41 SSID 'RAYON'
BSS: Remove id 2 BSSID 5c:33:8e:cd:36:14 SSID 'Livebox-f8a9'
BSS: Remove id 3 BSSID 00:0b:86:c0:07:81 SSID 'RAYON'
BSS: Remove id 4 BSSID 5c:33:8e:7c:50:a8 SSID 'Livebox-1410'
BSS: Remove id 5 BSSID 00:19:70:44:24:e1 SSID 'Livebox-c248'
BSS: Remove id 6 BSSID 00:0b:86:c7:d8:40 SSID 'METIER'
BSS: Remove id 7 BSSID 00:0b:86:c0:07:80 SSID 'METIER'
BSS: Remove id 8 BSSID 00:24:a8:aa:1e:40 SSID 'Wifi Ch_teau d'Olonne'
BSS: Remove id 9 BSSID 00:24:a8:aa:1e:50 SSID 'Wifi Ch_teau d'Olonne'
BSS: Remove id 10 BSSID 00:1a:6b:ca:98:bc SSID 'Livebox-4ba9'
BSS: Remove id 11 BSSID 00:24:a8:aa:a1:b0 SSID 'Wifi Ch_teau d'Olonne'
Cancelling scan request
Cancelling authentication timeout
netlink: Operstate: linkmode=0, operstate=6
--------------------------------------------------------------------------



More information about the Hostap mailing list