Hi!
I have an USB wifi adaptor that lsub tells me about it:
* Bus 004 Device 003: ID 148f:2573 Ralink Technology, Corp.
I'm using drivers from serialmonkey and I can see networks and connect
to them if they're opened or they're using WEP but I can't connect to a
network using WPA.
That's what I have in my wpa_supplicant.conf:
network={
ssid="wifinet"
proto=WPA
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
#psk="passwd"
psk=a9f6f935e9c5a5712e74e53c72ee15ea8fd968d6d5e2b6 b8432707e15bff82b3
}
It took some time to me to connect to a WEP network because a I have no
support for it into the kernel (IEEE 802.11 WEP encryption (802.1x)) so
maybe I'm forgetting something I need for the WPA ones. I have into the
kernel "IEEE 802.11i TKIP encryption" support and I had "IEEE 802.11i
CCMP support" at the same time, but I removed it just in case it could
cause some kind of issue having the TKIP support.
The wpa_supplicant command gives to me:
root@localhost# wpa_supplicant -W -dd -iwlan0 -c/etc/wpa_supplicant/
wpa_supplicant.conf
Initializing interface 'wlan0' conf '/etc/wpa_supplicant/
wpa_supplicant.conf' driver 'default' 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'
key_mgmt: 0x4
priority=-9999999 (0xff676981)
Line: 8 - start of a new network block ssid - hexdump_ascii(len=13):
72 61 64 69 6f 61 63 74 69 76 69 74 79 radioactivity
proto: 0x1
scan_ssid=1 (0x1)
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=1 ssid='wifinet'
Priority group -9999999
id=0 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 ioctl[SIOCSIWPMKSA]: Network is down
ioctl[SIOCSIWMODE]: Network is down
Could not configure driver to use managed mode SIOCGIWRANGE:
WE(compiled)=22 WE(source)=14 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
WEXT: Operstate: linkmode=1, operstate=5 Own MAC address:
00:c0:ca:18:0d:7d
wpa_driver_wext_set_wpa
ioctl[SIOCSIWAUTH]: Operation not supported WEXT auth param 7 value 0x1 -
Driver does not support WPA. wpa_driver_wext_set_key: alg=0 key_idx=0
set_tx=0 seq_len=0 key_len=0 ioctl[SIOCSIWENCODEEXT]: Operation not
supported Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not supported Driver did not support
SIOCSIWENCODEEXT, trying SIOCSIWENCODE wpa_driver_wext_set_key: alg=0
key_idx=2 set_tx=0 seq_len=0 key_len=0 ioctl[SIOCSIWENCODEEXT]: Operation
not supported Driver did not support SIOCSIWENCODEEXT, trying
SIOCSIWENCODE wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0
key_len=0 ioctl[SIOCSIWENCODEEXT]: Operation not supported Driver did not
support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
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 Added interface wlan0
CTRL_IFACE - wlan0 - wait for monitor RTM_NEWLINK: operstate=0
ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface
'wlan0' added RTM_NEWLINK: operstate=0 ifi_flags=0x11043
([UP][RUNNING][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 RTM_NEWLINK: operstate=0
ifi_flags=0x11003 ([UP][LOWER_UP]) Wireless event: cmd=0x8b2a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) Wireless
event: cmd=0x8b2a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) Wireless
event: cmd=0x8b2a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) Wireless
event: cmd=0x8b2a len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=13):
32 32 32 32 32 32 32 32 32 32 32 32 32 wifinet
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)
CTRL-EVENT-TERMINATING - signal 2 received Removing interface wlan0
State: SCANNING -> 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
ioctl[SIOCSIWAUTH]: Operation not supported WEXT auth param 7 value 0x0 -
Failed to disable WPA in the driver. 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
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6 ...
Until I stop it with CTRL+C.
I had this working few days ago, but I can't remember what I changed
that made it stop working.
I'm sorry about the huge log.
I'm using the cvs version for the rt73 drivers and the 2.6.23.14 kernel
version in a Gentoo version updated last week.
Any idea about what did I change or am I doing wrong?
Thanks in advance.
Bye!
--
Ubuntu 7.10 (gutsy) (kernel 2.6.22-14-386 i686) GNOME 2.20.1
Intel(R) Pentium(R) M processor (1600.000 MHz) up 1 day, 13:30
HT: ZanzabornÃ*n (1457021) X.1762 #
http://muxin.no-ip.org/
SK: C.D. Arrancatapinos (18088) IV.57 # Jabber:
(E-Mail Removed)