wpa_supplicant error message

Dell Sanders test1dellboy3
Fri Sep 21 15:15:29 PDT 2007


Hi, 

I have just installed Ubunto 7.04 "Feisty Fawn" on my Dell Inspiron 8000 laptop which has a NETGEAR WG111v2 54Mbps Wireless USB 2.0 Adapter. I see the package wpasupplicant has installed version: 0.5.7-0ubuntu2 

The adapter works fine on the same laptop under windows 2000. The router is configured to use security encryption (WPA-PSK) TKIP and since the router is not mine, I can't change it. 

According to iwconfig (see below), the correct network "@Home54960" is detected by the adapter but it can't connect. Below, I have pasted the error message from wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d. 

Can anyone see what the problem is? 

Dell 

sss at sss-laptop:~$ iwconfig 
lo no wireless extensions. 

eth0 no wireless extensions. 

wmaster0 IEEE 802.11g Frequency:2.412 GHz 
RTS thr:off Fragment thr=2346 B 

wlan0 IEEE 802.11g ESSID:"@Home54960" 
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated 
RTS thr:off Fragment thr=2346 B 
Link Quality:0 Signal level:0 Noise level:0 
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 
Tx excessive retries:0 Invalid misc:0 Missed beacon:0 


sss at sss-laptop:~$ wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d 
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' 
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' 
Reading configuration file '/etc/wpa_supplicant.conf' 
ctrl_interface='/var/run/wpa_supplicant' 
Priority group 0 
id=0 ssid='@Home54960' 
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 
ioctl[SIOCSIWPMKSA]: Operation not permitted 
ioctl[SIOCSIWMODE]: Operation not permitted 
Could not configure driver to use managed mode 
SIOCSIFFLAGS: Permission denied 
Could not set interface 'wlan0' UP 
SIOCGIWRANGE: WE(compiled)=21 WE(source)=14 enc_capa=0x0 
capabilities: key_mgmt 0x0 enc 0x3 
WEXT: Operstate: linkmode=1, operstate=5 
socket(PF_PACKET): Operation not permitted 
Failed to add interface wlan0 
State: DISCONNECTED -> DISCONNECTED 
Segmentation fault (core dumped) 


sss at sss-laptop:~$ sudo /etc/init.d/networking restart 
Password: 
* Reconfiguring network interfaces... 
There is already a pid file /var/run/dhclient.eth0.pid with pid 4895 
removed stale PID file 
Internet Systems Consortium DHCP Client V3.0.4 
Copyright 2004-2006 Internet Systems Consortium. 
All rights reserved. 
For info, please visit http://www.isc.org/sw/dhcp/ 

wmaster0: unknown hardware address type 801 
wmaster0: unknown hardware address type 801 
Listening on LPF/eth0/00:20:e0:67:86:de 
Sending on LPF/eth0/00:20:e0:67:86:de 
Sending on Socket/fallback 
DHCPRELEASE on eth0 to 192.168.0.201 port 67 
RTNETLINK answers: No such process 




sss at sss-laptop:~$ lshw -C network 
WARNING: you should run this program as super-user. 
*-network 
description: Ethernet interface 
product: 82557/8/9 [Ethernet Pro 100] 
vendor: Intel Corporation 
physical id: 4 
bus info: pci at 08:04.0 
logical name: eth0 
version: 08 
serial: 00:20:e0:67:86:de 
width: 32 bits 
clock: 33MHz 
capabilities: bus_master cap_list ethernet physical 
configuration: broadcast=yes driver=e100 driverversion=3.5.17-k2-NAPI firmware=N/A latency=32 maxlatency=56 mingnt=8 multicast=yes 
resources: iomemory:f8fff000-f8ffffff ioport:ecc0-ecff iomemory:f8e00000-f8efffff irq:11 
*-network 
description: Wireless interface 
physical id: 1 
logical name: wlan0 
serial: 00:14:6c:ae:53:a3 
capabilities: ethernet physical wireless 
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11g 




sss at sss-laptop:~$ sudo wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0 -d 
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' 
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' 
Reading configuration file '/etc/wpa_supplicant.conf' 
ctrl_interface='/var/run/wpa_supplicant' 
Priority group 0 
id=0 ssid='@Home54960' 
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)=21 WE(source)=14 enc_capa=0x0 
capabilities: key_mgmt 0x0 enc 0x3 
WEXT: Operstate: linkmode=1, operstate=5 
Own MAC address: 00:14:6c:ae:53:a3 
wpa_driver_hostap_set_wpa: enabled=1 
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported 
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported 
Driver does not support WPA. 
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0 
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported 
Failed to set encryption. 
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0 
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported 
Failed to set encryption. 
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0 
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported 
Failed to set encryption. 
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0 
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported 
Failed to set encryption. 
wpa_driver_hostap_set_countermeasures: enabled=0 
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported 
wpa_driver_hostap_set_drop_unencrypted: enabled=1 
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported 
Setting scan request: 0 sec 100000 usec 
Added interface wlan0 
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 () 
Wireless event: cmd=0x8b06 len=8 
Ignore event for foreign ifindex 3 
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added 
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' 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 
Scan results: -1 
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) 
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 
Wireless event: cmd=0x8b19 len=8 
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable 
Scan results: -1 
Failed to get scan results 
Failed to get scan results - try scanning again 
Setting scan request: 1 sec 0 usec 
Starting AP scan (broadcast SSID) 
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 
Wireless event: cmd=0x8b19 len=8 
Received 169 bytes of scan results (1 BSSes) 
Scan results: 1 
Selecting BSS from priority group 0 
0: 00:14:6c:a6:83:a6 ssid='@Home54960' wpa_ie_len=26 rsn_ie_len=0 caps=0x11 
selected based on WPA IE 
Trying to associate with 00:14:6c:a6:83:a6 (SSID='@Home54960' freq=2412 MHz) 
Cancelling scan request 
WPA: clearing own WPA/RSN IE 
Automatic auth_alg selection: 0x1 
WPA: using IEEE 802.11i/D3.0 
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1 
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00 
WPA: clearing AP RSN IE 
WPA: using GTK TKIP 
WPA: using PTK TKIP 
WPA: using KEY_MGMT WPA-PSK 
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 
No keys have been configured - skip key clearing 
wpa_driver_hostap_set_drop_unencrypted: enabled=1 
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported 
State: SCANNING -> ASSOCIATING 
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 
WEXT: Operstate: linkmode=-1, operstate=5 
wpa_driver_hostap_associate


      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html




More information about the Hostap mailing list