You are not logged in.

#1 2012-01-06 21:46:19

quantumcoffeemug
Member
Registered: 2010-02-14
Posts: 9

[Solved] Wicd hangs when trying to connect to WPA

When I try to connect to a wireless network secured with WPA, Wicd puts up the interface then crashes. It freezes the entire system and I have to hard restart. I tried connecting manually with wpa_supplicant in debug mode and this is what I got:

Initializing interface 'ra0' 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'
update_config=1
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
fast_reauth=1
Line 559: unknown global field 'Downstairs apartment'.
Line 559: Invalid configuration line 'Downstairs apartment'.
Priority group 0
   id=0 ssid='abjj'
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
Failed to add interface ra0
Cancelling scan request
Cancelling authentication timeout
[cyrus@HAL-8999 ~]$ wpa_supplicant -c/etc/wpa_supplicant.conf -ira0 -d
Initializing interface 'ra0' 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'
update_config=1
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
fast_reauth=1
Priority group 0
   id=0 ssid='abjj'
ioctl[SIOCSIWPMKSA]: Operation not permitted
ioctl[SIOCSIWMODE]: Operation not permitted
Could not configure driver to use managed mode
SIOCGIWRANGE: WE(compiled)=22 WE(source)=14 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
WEXT: SIOCSIWAUTH(param 7 value 0x1) failed: Operation not permitted)
socket(PF_PACKET): Operation not permitted
Failed to add interface ra0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
Driver did not support SIOCSIWENCODEEXT
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_set_countermeasures
WEXT: SIOCSIWAUTH(param 4 value 0x0) failed: Operation not permitted)
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: SIOCSIWAUTH(param 7 value 0x0) failed: Operation not permitted)
netlink: Operstate: linkmode=0, operstate=6
Could not set interface ra0 flags: Permission denied

It doesn't crash when I run wpa_supplicant in the terminal, though, just throws an error. I am using an rt2860 wireless chipset, so I just had to downgrade to the staging drivers, as the new mainline drivers don't work for this chipset. I have no idea if that could cause this problem or not. It connects to wired ethernet just fine, though; I don't have access to an unsecured wireless network to see if it would connect properly without going through WPA.

Last edited by quantumcoffeemug (2012-01-07 20:11:17)

Offline

#2 2012-01-07 02:08:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] Wicd hangs when trying to connect to WPA

quantumcoffeemug wrote:

I am using an rt2860 wireless chipset, so I just had to downgrade to the staging drivers, as the new mainline drivers don't work for this chipset.

I have an rt2860 in my EeePC and am on the current kernel (3.1.7-1) and have no issues with either using the rt2800pci driver (and wlan0 as the interface) or wicd and WPA2...

If you are running a stock kernel, I would try using the correct driver for the card and see where that takes you.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-01-07 20:08:17

quantumcoffeemug
Member
Registered: 2010-02-14
Posts: 9

Re: [Solved] Wicd hangs when trying to connect to WPA

Wow, I feel dumb. I was trying to solve a problem with the rt2800pci drivers I'd had a couple months ago, but apparently it's been solved at this point. I just updated the system and it works just fine. Thanks! I feel silly...

Offline

Board footer

Powered by FluxBB