how wpa_suppliant processes the chinese characters---and the ssid can't connect

Jouni Malinen j at w1.fi
Mon Dec 28 07:33:31 EST 2009


On Mon, Dec 28, 2009 at 06:48:37PM +0800, root wrote:
> i forget asking that when i set the ssid in chinese characters, the ap
> can't connected, my ap is use wep,and the ssid is TP-LINK_GZB____dddd, 
> the ____is the chinese characters, the i used the command is:
>  wpa_suppliant -Dwext -iwlan2 -c/etc/wpa_supplicant.conf -dd
> 
> and from the log,it seems that the wpa_suppliant to Try to find non-WPA
> AP, but when it turns to TP-LINK_GZB____dddd: the log is:
>    7: 00:25:86:fc:3b:3c ssid='TP-LINK_GZB____dddd' wpa_ie_len=0
> rsn_ie_len=0 caps=0x11
>    skip - no WPA/RSN IE

I would need to see bit more from the log to figure out what happened,
but that looks more like the area where WPA/WPA2 AP is being selected.
If you are using WEP, you must set key_mgmt=NONE in the network
configuration block.

> does the wpa_suppliant not support the chinese ssid?

wpa_supplicant uses the SSID as binary data internally and does not care
about encoding. As long as you configure the SSID to be the identical
set of octets in wpa_supplicant and in the AP, this should work fine.
You can also configure the SSID as a hex string to set arbitrary octets
into it in wpa_supplicant.conf.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list