no wpa/rsn IE not allowed

Harish Mandowara harishm at cdac.in
Tue Jan 31 03:04:18 EST 2012


hi,

I want to setup test bed of freeradius ---- Access Point ----
Wpa_supplicant.
When i am running command in command line than this error is coming  "no
wpa/rsn IE not allowed"

Here is the result

ankit at ankit-desktop:~$ sudo wpa_supplicant -Dwext -i ra0 -c abc.conf -dd
Initializing interface 'ra0' conf 'abc.conf' driver 'wext' ctrl_interface
'N/A' bridge 'N/A'
Configuration file 'abc.conf' -> '/home/ankit/abc.conf'
Reading configuration file '/home/ankit/abc.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=6):
     68 61 72 69 73 68                                 harish          
key_mgmt: 0x1
eap methods - hexdump(len=16): 00 00 00 00 19 00 00 00 00 00 00 00 00 00
00 00
identity - hexdump_ascii(len=7):
     74 65 73 74 69 6e 67                              testing         
password - hexdump_ascii(len=8): [REMOVED]
ca_cert - hexdump_ascii(len=12):
     2f 68 6f 6d 65 2f 63 61 2e 64 65 72               /home/ca.der    
phase1 - hexdump_ascii(len=13):
     61 75 74 68 3d 4d 53 43 48 41 50 56 32            auth=MSCHAPV2   
phase2 - hexdump_ascii(len=11):
     70 65 61 70 6c 61 62 65 6c 3d 31                  peaplabel=1     
priority=1 (0x1)
Priority group 1
   id=0 ssid='harish'
Interface ra0 set UP - waiting a second for the driver to complete
initialization
SIOCGIWRANGE: WE(compiled)=22 WE(source)=14 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 1c:af:f7:6c:e2:13
wpa_driver_wext_set_wpa
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
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): 84 96 8f 8d d7 ee 51 09
97 f2 cb 33 97 e7 e9 d0
WPS: Build Beacon and Probe Response IEs
WPS:  * Version
WPS:  * Wi-Fi Protected Setup State (0)
WPS:  * Version
WPS:  * Wi-Fi Protected Setup State (0)
WPS:  * Response Type (2)
WPS:  * UUID-E
WPS:  * Manufacturer
WPS:  * Model Name
WPS:  * Model Number
WPS:  * Serial Number
WPS:  * Primary Device Type
WPS:  * Device Name
WPS:  * Config Methods (0)
WPS:  * RF Bands (3)
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Added interface ra0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to
speed up initial association
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
Scan timeout - try to get results
Received 1514 bytes of scan results (9 BSSes)
New scan results available
Selecting BSS from priority group 1
Try to find WPA-enabled AP
0: 00:50:f1:12:12:10 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 00:1c:df:c6:f2:be ssid='nmoip2' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
2: ac:67:06:72:8e:e9 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
3: ac:67:06:f2:8e:e9 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
4: ac:67:06:b2:8e:e9 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
5: 00:ff:ff:00:00:01 ssid='harish' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
6: e6:6b:00:b6:19:df ssid='cdacubi' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
   skip - no WPA/RSN IE
7: 00:21:29:da:5a:00 ssid='saver' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
8: ac:67:06:32:8e:e9 ssid='call tikona @18002090044' wpa_ie_len=0
rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:50:f1:12:12:10 ssid='' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 00:1c:df:c6:f2:be ssid='nmoip2' wpa_ie_len=28 rsn_ie_len=24 caps=0x11
   skip - SSID mismatch
2: ac:67:06:72:8e:e9 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
3: ac:67:06:f2:8e:e9 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
4: ac:67:06:b2:8e:e9 ssid='' wpa_ie_len=0 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
5: 00:ff:ff:00:00:01 ssid='harish' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - non-WPA network not allowed
6: e6:6b:00:b6:19:df ssid='cdacubi' wpa_ie_len=0 rsn_ie_len=0 caps=0x2
   skip - SSID mismatch
7: 00:21:29:da:5a:00 ssid='saver' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
8: ac:67:06:32:8e:e9 ssid='call tikona @18002090044' wpa_ie_len=0
rsn_ie_len=0 caps=0x1
   skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec



My abc.conf file have this

network={
        ssid="soip"
        key_mgmt=WPA-EAP
        eap=PEAP
        identity="testing"
        password="password"
        ca_cert="/home/ca.der"
	phase1="auth=MSCHAPV2"
        phase2="peaplabel=1"
        priority=1
}


please guide to remove this error.
Thanks in advance
-- 
With Warm Regards

Harish Mandowara




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the HostAP mailing list