Set SSID=hex doesn't work

Dan Williams dcbw
Thu Apr 9 07:17:09 PDT 2009


On Thu, 2009-04-09 at 11:11 +0700, Pongsak Tawankanjanachot wrote:
> Hi,
>    As I read from the README, we can set the wpa_supplicant's
> parameter by using hex string as SSID name. Here is my network block:
> wpa_supplicant.conf
> 
> ctrl_interface=/var/run/wpa_supplicant
> eapol_version=1
> ap_scan=1
> network={
>         ssid="00:1a:4d:2f:87:2c"

Thats not how you do it, actually.  Quotes mean it's interpreted as a
string.  To use a hex value you want:

ssid=001a4d2f872c

Dan

>         key_mgmt=WPA-EAP IEEE8021X
>         pairwise=CCMP
>         eap=PEAP
>         phase1="peaplabel=0"
>         phase2="auth=MSCHAPV2"
>         identity="test"
>         password="test"
> }
> 
>    After I run wpa_supplicant, debug message shows
> Scan results: 1
> Selecting BSS from priority group 0
> Try to find WPA-enabled AP
> 0: 00:1a:4d:2f:87:2c ssid='TEST1' wpa_ie_len=0 rsn_ie_len=22
> caps=0x411
>    skip - SSID mismatch
> Try to find non-WPA AP
> 0: 00:1a:4d:2f:87:2c ssid='TEST1' wpa_ie_len=0 rsn_ie_len=22
> caps=0x411
>    skip - SSID mismatch
> No suitable AP found.
> 
>     README states clearly that ssid: either as an ASCII string with
> double quotation or as hex string; network name
> 
>     I guess that I may make mistake somewhere. Can anybody suggest
> me??
> 
> Regards,
> Pongsak
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap




More information about the Hostap mailing list