LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2007, 01:22 PM   #1
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Rep: Reputation: 32
wpa_supplicant returns "no WPA/RSN IE" error, Fritz!WLAN usb


Hi.

after getting my Fritz!WLAN USB stick recognized by my system, i am having difficulties getting the connection to work properly.

The access point (which is not mine and hence i have no control over) uses WPA2 encryption with a preshared key. hence wpa_supplicant is configured for RSN.

i run wpa_supplicant as root. the result is an endlessly looping attempt to connect to the AP. It detects the access point, but then states that "skip - no WPA/RSN IE" and "no suitable access point detected". I have tried using wireless extensions, ndis (windows driver) and native driver. The native driver I use is provided by the manufacturer, AVM, so I guess it actually should support WPA2. The network functions without further problems under windows, so i guess i have a configuration error somewhere.

The config is:
Code:
#
# wpa_supplicant configuration file

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root

# IEEE 802.1x eapol. wpa_supplicant was compiled for 2, some AP
# however seem to simply drop eapol2 frames for some reason...
# set to 2 if AP supports it
eapol_version=2

ap_scan=1
fast_reauth=1

network={
	disabled=0	# network can be used
	ssid="Hive"
	scan_ssid=1	# do scan ssid (when ssid broadcast is not 
			# support or multiple ssid's exist)
	priority=1	# desired network
	mode=0		# managed
	proto=RSN	# WPA2 IEEE 802.1i
	# key_mgmt=WPA-PSK 	#only needed for WPA IEEE 802.1i/D3.0
	auth_alg=SHARED # WPA2 requires shared algorithm
 	psk="asecretpassphrase"
}

network={
	scan_ssid=1
	priority=0
	psk="asecretpassphrase"
}
In detail, the wext reads as follows when running wpa_supplicant:

Code:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0 (from group name 'root')
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 17 - start of a new network block
disabled=0 (0x0)
ssid - hexdump_ascii(len=4):
     48 69 76 65                                       Hive            
scan_ssid=1 (0x1)
priority=1 (0x1)
mode=0 (0x0)
proto: 0x2
auth_alg: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 30 - start of a new network block
scan_ssid=1 (0x1)
priority=0 (0x0)
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 1
   id=0 ssid='Hive'
Priority group 0
   id=1 ssid=''
Initializing interface (2) 'wlan0'
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
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=9 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:04:0e:fb:82:a3
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
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=4):
     48 69 76 65                                       Hive            
Scan timeout - try to get results
IWEVGENIE overflow
Received 96 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 1
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x0
   skip - no WPA/RSN IE
Selecting BSS from priority group 0
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x0
   skip - no WPA/RSN IE
No suitable AP found.
The ndis version of this would be:
Code:
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0 (from group name 'root')
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 17 - start of a new network block
disabled=0 (0x0)
ssid - hexdump_ascii(len=4):
     48 69 76 65                                       Hive            
scan_ssid=1 (0x1)
priority=1 (0x1)
mode=0 (0x0)
proto: 0x2
auth_alg: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line: 30 - start of a new network block
scan_ssid=1 (0x1)
priority=0 (0x0)
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 1
   id=0 ssid='Hive'
Priority group 0
   id=1 ssid=''
Initializing interface (2) 'wlan0'
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
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:04:0e:fb:82:a3
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
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=4):
     48 69 76 65                                       Hive            
Scan timeout - try to get results
IWEVGENIE overflow
IWEVGENIE overflow
Received 293 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 1
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
Selecting BSS from priority group 0
0: 00:16:38:3c:ea:dd ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
No suitable AP found.
This appears to be a common problem, i.e. I have found many threads reporting this or similar errors (some with WPA, other with WPA2). However none ever reaches a conclusion...

Did anyone have the same problem before? How did you solve it?

Thanks

Last edited by ichrispa; 07-15-2007 at 01:51 PM.
 
Old 07-20-2007, 06:07 AM   #2
ichrispa
Member
 
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277

Original Poster
Rep: Reputation: 32
ok, i fixed it. remove the eapol from your configuration file if you are not using WEP. the entry scanning is unnecessary, as is the authentication algorithm.

i used -Dwext (wireless extension) while having a windows driver loaded via ndis. For some reason, the linux driver would not complete the asociation.

cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TFTP server returns "Error Code 0: Permission Denied" gi99 Linux - Networking 2 04-19-2011 06:17 AM
alsaconf returns error msg "getopt: command not found" bezdomny Linux - Hardware 4 07-13-2007 09:20 AM
hostap not says "No WPA/RSN information element for station!?" edman007 Linux - Wireless Networking 1 09-05-2006 07:43 AM
executing a loaded module returns "command not found" error neelay1 Linux - Software 1 05-08-2006 02:25 PM
ndiswrapper with Broadcom WLAN mini-PCI :: iwconfig returns ESSID:"" chr15t0 Linux - Wireless Networking 17 07-27-2004 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration