ndiswrapper + wpa_supplicant

Sukku m.sukumar at gmail.com
Wed Dec 5 09:25:23 EST 2007


Hi All,

>From last two weeks, I am working on this problem. I am working on FC8 with
kernel version 2.6.23.1-42.

I am using Linksys wireless adapter (WUSB54G). I didn't found any linux
drivers for this device. so by using ndiswrappers I installed windows native
drives in linux box. finally adapter got detected.

after words  I try to use this  wpa_supplicant on this adapter.  Hear I am
facing problem

In debugging mode  I am getting so many IOCTL errors. I am not getting,
there errors are from ndiswrapper or wpa_supplicant.

plz help me in this regard.

my setup details:

*wireless adapter*: Linksys WUSB54G
*
ndiswrappers version:*

[root at sukumar wpa_supplicant]# ndiswrapper -l
rt2500usb : driver installed
        device (13B1:000D) present (alternate driver: rt2500usb)

[root at sukumar wpa_supplicant]# ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename:       /lib/modules/2.6.23.1-42.fc8
/extra/ndiswrapper/ndiswrapper.ko
version:        1.48
vermagic:       2.6.23.1-42.fc8 SMP mod_unload 686 4KSTACKS



*wpa_supplicant logs:*

[root at sukumar wpa_supplicant]# wpa_supplicant -D wext -iwlan0 -c
/etc/wpa_supplicant/wpa_supplicant.conf -dd
Initializing interface 'wlan0' conf
'/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A'
bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ->
'/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel' (DEPRECATED)
ap_scan=2
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=10):
                  XXXXXXX
scan_ssid=1 (0x1)
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):
     64 65 66 61 75 6c 74                              default
password - hexdump_ascii(len=7): [REMOVED]
Priority group 0
   id=0 ssid='XXXXXX'
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)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:18:39:05:26:46
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
*ioctl[SIOCSIWAUTH]: Operation not supported*
WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted
*ioctl[SIOCSIWAUTH]: Operation not supported*
WEXT auth param 5 value 0x1 - Setting scan request: 0 sec 100000 usec
ctrl_interface_group=10 (from group name 'wheel')
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'XXXXXX'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 30 pairwise 24 key_mgmt 1 proto 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00
00 0f ac 04 01 00 00 0f ac 01 00 00
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
*ioctl[SIOCSIWAUTH]: Operation not supported*
WEXT auth param 5 value 0x1 - State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 60 sec 0 usec
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=18
CTRL_IFACE monitor attached - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63
74 72 6c 5f 32 38 30 34 2d 38 30 00
RX ctrl_iface - hexdump_ascii(len=10):
     49 4e 54 45 52 46 41 43 45 53                     INTERFACES
RX ctrl_iface - hexdump_ascii(len=6):
     53 54 41 54 55 53                                 STATUS
*ioctl[SIOCGIFADDR]: Cannot assign requested address*
RX ctrl_iface - hexdump_ascii(len=13):
     4c 49 53 54 5f 4e 45 54 57 4f 52 4b 53            LIST_NETWORKS
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING
CTRL-EVENT-TERMINATING - signal 2 received
CTRL_IFACE monitor send - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63 74
72 6c 5f 32 38 30 34 2d 38 30 00
Removing interface wlan0
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x0 - wpa_driver_wext_set_countermeasures
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - No keys have been configured - skip key
clearing
CTRL_IFACE wait for attached monitors to receive messages
cCancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6



Thanks and regards,
Sukumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20071205/81788693/attachment.htm 


More information about the HostAP mailing list