rt2800usb + HostAPd connection fail problem

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6063

cds

14-04-2010 15:06:00

Hi everybody!

I need help on rt2800usb + HostAPd.

I've got a D-Link DWA-140 802.11n USB Adapter. This one has ralink rt2870 under under the hood. As this should be working with HostAPd as an Access Point I've tried to use this device to create one.

First I've tried to install hostapd with aptitude on Ubuntu 9.04, it didn't work, I had to install linux-compat drivers and update linux kernel, but it still didn't work (Finally it was possible to see the AP from my laptop and it even asked for password when configured to WPA_PSK but after this connection failed).

I decided to make a separate clean installation of newer Ubuntu 10.04 beta without anything else (just to make sure I can make it work), updated everything, used apt-get to install hostapd but it didn't work so I used this guide[/url1ada8pqu] to setup a fresh installation of libnl, iw, hostapd, compat-wireless, wireless-regdb, crda.

So now I've got iw version 0.9.19-21-g028c0de, libnl 1.0-pre7 (or later from git), hostapd v0.7.1 from git, compat-wireless-2.6.34-rc4, crda from git and wireless-regd from git. Compiled all these stuff and make install'ed it.

But when I try to connect from Windows 7 to the Access Point it fails after two or three seconds. I've deleted all encryption stuff but is still fails. What I've noticed is that until it fails I'm able to ping the server with AP (there is no wired connection on laptop).

BTW I blacklisted the rt2870sta module as it wouldn't work with hostapd
(added
blacklist rt2870sta
blacklist rt3070sta
to /etc/modprobe.d/blacklist.conf)

Here is my configuration
lsusb
[code1ada8pqu]
Bus 001 Device 004: ID 07d1:3c09 D-Link System DWA-140 802.11n Adapter [ralink rt2870]
[/code1ada8pqu]

lsmod | grep rt
[code1ada8pqu]rt2800usb 7676 0
rt2800lib 23604 1 rt2800usb
rt2x00usb 9630 2 rt2800usb,rt2800lib
rt2x00lib 26826 2 rt2800lib,rt2x00usb
snd_mpu401_uart 5649 3 snd_wavefront,snd_cs4236,snd_mpu401
led_class 2864 1 rt2x00lib
compat_firmware_class 6979 1 rt2x00lib
snd_rawmidi 19056 2 snd_wavefront,snd_mpu401_uart
mac80211 223539 2 rt2x00usb,rt2x00lib
parport_pc 26346 1
snd 54148 16 snd_hda_codec_analog,snd_wavefront,snd_hda_intel,snd_cs4236,snd_hda_codec, snd_wss_lib,snd_opl3_lib,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm, snd_mpu401,snd_mpu401_uart,snd_timer,snd_rawmidi,snd_seq_device
cfg80211 143242 2 rt2x00lib,mac80211
crc_ccitt 1339 1 rt2800usb
gameport 9089 2 ns558
parport 32635 3 ppdev,parport_pc,lp
agpgart 31788 3 ttm,intel_agp,drm[/code1ada8pqu]

cat /etc/network/interfaces
[code1ada8pqu]# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet static
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255[/code1ada8pqu]

sudo cat /etc/hostapd/hostapd.conf
[code1ada8pqu]interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=4
logger_stdout=-1
logger_stdout_level=4

# Dump file for state information (on SIGUSR1)
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=c0ba
hw_mode=b
channel=11
#beacon_int=100
#dtim_period=2
#max_num_sta=255
#rts_threshold=2347
#fragm_threshold=2346
macaddr_acl=1
accept_mac_file=/etc/hostapd/accept
#auth_algs=3
#ignore_broadcast_ssid=0
#eapol_key_index_workaround=0
#eap_server=0
own_ip_addr=192.168.1.1[/code1ada8pqu]

and finally run sudo hostapd -dddd /etc/hostapd/hostapd.conf
[code1ada8pqu]
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: Register Action command failed: ret=-114 (Operation already in progress)
nl80211: Register Action match - hexdump(len=1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Add own interface ifindex 4
nl80211: New interface mon.wlan0 created: ifindex=14
nl80211: Add own interface ifindex 14
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=6 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=6 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=6 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=6 dBm
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x0
RATE[3] rate=110 flags=0x0
Completing interface initialization
Mode: IEEE 802.11b Channel: 11 Frequency: 2462 MHz
Flushing old station entries
Deauthenticate all stations
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:21:91:54:5a:2f and ssid 'c0ba'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
Ignore event for foreign ifindex 14
Ignore event for foreign ifindex 14
Ignore event for foreign ifindex 14
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
[/code1ada8pqu]

And after I try to connect I see this
[code1ada8pqu]
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::auth
authentication: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-AUTHENTICATE.indication(00:26:82:3a:ac:68, OPEN_SYSTEM)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
authentication reply: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=00:26:82:3a:ac:68 capab_info=0x21 listen_interval=10
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
new AID 1
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: association OK (aid 1)
mgmt::assoc_resp cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: associated (aid 1)
AP-STA-CONNECTED 00:26:82:3a:ac:68
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-ASSOCIATE.indication(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 RADIUS: starting accounting session 4BC4D979-00000000
nl80211: Event message available
nl80211: Ignored unknown event (cmd=19)
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1e:64:66:a6:32 sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1e:64:66:a6:32 sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:00:48:86:ff:92 sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:3c:29:eb:ac sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:3c:29:eb:ac sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:3c:29:eb:ac sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:00:48:86:ff:92 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::auth
authentication: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-AUTHENTICATE.indication(00:26:82:3a:ac:68, OPEN_SYSTEM)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
authentication reply: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=00:26:82:3a:ac:68 capab_info=0x21 listen_interval=10
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
old AID 1
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: association OK (aid 1)
mgmt::assoc_resp cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: associated (aid 1)
AP-STA-CONNECTED 00:26:82:3a:ac:68
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-ASSOCIATE.indication(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 RADIUS: starting accounting session 4BC4D979-00000001
nl80211: Event message available
nl80211: Ignored unknown event (cmd=19)
STA 00:1f:3c:29:eb:ac sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::auth
authentication: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-AUTHENTICATE.indication(00:26:82:3a:ac:68, OPEN_SYSTEM)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
authentication reply: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=00:26:82:3a:ac:68 capab_info=0x21 listen_interval=10
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
old AID 1
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: association OK (aid 1)
mgmt::assoc_resp cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: associated (aid 1)
AP-STA-CONNECTED 00:26:82:3a:ac:68
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-ASSOCIATE.indication(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 RADIUS: starting accounting session 4BC4D979-00000002
nl80211: Event message available
nl80211: Ignored unknown event (cmd=19)
STA 00:1f:3c:29:eb:ac sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1e:64:66:a6:32 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:00:48:86:ff:92 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:00:48:86:ff:92 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
STA 00:1f:5c:28:1b:4b sent probe request for broadcast SSID
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
STA 00:15:af:99:2e:4f sent probe request for broadcast SSID
[/code1ada8pqu]

Please help me! If you need more info I can provide it. I can also try anything that would help to detect the problem.

Thanks in advance.

cds

15-04-2010 07:05:27

Ok, I copied a new firmware from ralink website[/url375rttty] (rt2870.bin from RT2870_LinuxSTA_V2.3.0.0.tar.bz2) and downgraded hostapd to version 0.6.9 (from apt-get again). I've also changed ap_max_inactivity=5 in hostapd.conf as it seems like I can connect but immediately disconnect (windows connection window hides, I'm able to ping my server with host AP but then a message appears that connection has failed - and nothing like this in hostapd log).

Now, when I start hostapd nothing strange happens
[code375rttty]hostapd -dddd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: Add own interface ifindex 4
nl80211: New interface mon.wlan0 created: ifindex=5
nl80211: Add own interface ifindex 5
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=6 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=6 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=6 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=6 dBm
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Completing interface initialization
Mode: IEEE 802.11g Channel: 7 Frequency: 2442 MHz
Flushing old station entries
Deauthenticate all stations
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:21:91:54:5a:2f and ssid 'test'
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
Ignore event for foreign ifindex 5
Ignore event for foreign ifindex 5
Ignore event for foreign ifindex 5
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
STA 00:25:d3:2e:ec:fb sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:25:d3:2e:ec:fb sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
[/code375rttty]
And when I try to connect from my laptop
[code375rttty]unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
mgmt::auth
authentication: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-AUTHENTICATE.indication(00:26:82:3a:ac:68, OPEN_SYSTEM)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
authentication reply: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
mgmt::auth cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authenticated
mgmt::assoc_req
association request: STA=00:26:82:3a:ac:68 capab_info=0x421 listen_interval=10
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
WMM IE - hexdump(len=7): 00 50 f2 02 00 01 00
Validating WMM IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1 QoS info 0x0
new AID 1
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: association OK (aid 1)
mgmt::assoc_resp cb
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: associated (aid 1)
AP-STA-CONNECTED 00:26:82:3a:ac:68
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-ASSOCIATE.indication(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
wlan0: STA 00:26:82:3a:ac:68 RADIUS: starting accounting session 4BC6B622-00000000
nl80211: Event message available
nl80211: Ignored unknown event (cmd=19)
Checking STA 00:26:82:3a:ac:68 inactivity:
Station has been active
Checking STA 00:26:82:3a:ac:68 inactivity:
Station has been active
Checking STA 00:26:82:3a:ac:68 inactivity:
Station has been active
STA 00:1c:26:1d:cb:77 sent probe request for broadcast SSID
mgmt::proberesp cb
Checking STA 00:26:82:3a:ac:68 inactivity:
Polling STA with data frame
STA 00:26:82:3a:ac:68 ACKed pending activity poll
Checking STA 00:26:82:3a:ac:68 inactivity:
Station has ACKed data poll
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
STA 00:1c:26:1d:cb:77 sent probe request for broadcast SSID
mgmt::proberesp cb
Checking STA 00:26:82:3a:ac:68 inactivity:
Polling STA with data frame
STA 00:26:82:3a:ac:68 ACKed pending activity poll
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
Checking STA 00:26:82:3a:ac:68 inactivity:
Station has ACKed data poll
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:26:82:3a:ac:68 sent probe request for broadcast SSID
mgmt::proberesp cb
Checking STA 00:26:82:3a:ac:68 inactivity:
Polling STA with data frame
STA 00:26:82:3a:ac:68 ACKed pending activity poll
Checking STA 00:26:82:3a:ac:68 inactivity:
Station has ACKed data poll
[/code375rttty]
Here, with the first appearance of the [quote375rttty]"Station has ACKed data poll"[/quote375rttty] I see the error message window in Windows 7. So what I figured out here is that laptop sends data for power saving mode but seems like hostapd doesn't answer so station tells me about connection error but hostapd still has the active connection. It is reset only on closing hostapd

[code375rttty]^CSignal 2 received - terminating
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DEAUTHENTICATE.indication(00:26:82:3a:ac:68, 1)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
Removing station 00:26:82:3a:ac:68
Flushing old station entries
Deauthenticate all stations
nl80211: Remove interface ifindex=5
netlink: Operstate: linkmode=0, operstate=6
[/code375rttty]
BTW the new hostapd.conf for examples here is
[code375rttty]interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=test
hw_mode=g
channel=7
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wme_enabled=1
wme_ac_bk_cwmin=4
wme_ac_bk_cwmax=10
wme_ac_bk_aifs=7
wme_ac_bk_txop_limit=0
wme_ac_bk_acm=0
wme_ac_be_aifs=3
wme_ac_be_cwmin=4
wme_ac_be_cwmax=10
wme_ac_be_txop_limit=0
wme_ac_be_acm=0
wme_ac_vi_aifs=2
wme_ac_vi_cwmin=3
wme_ac_vi_cwmax=4
wme_ac_vi_txop_limit=94
wme_ac_vi_acm=0
wme_ac_vo_aifs=2
wme_ac_vo_cwmin=2
wme_ac_vo_cwmax=3
wme_ac_vo_txop_limit=47
wme_ac_vo_acm=0
ap_max_inactivity=5
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
[/code375rttty]
What I also noticed is that if I am able to start ping -t 192.168.1.1 before the connection error window, it pings untill I stop it. If I start it again, it fails saying that destination host is unreachable.

Does hostapd work with ACK? Any experts here?

Thanks!

cds

27-04-2010 10:38:40

Hi!

I reinstalled ubuntu server. Untill I updated to latest wireless-compat, hostapd 0.7.2 and firmware from http//www.ralinktech.com/support.php?s=2 I got this message on client connecting to hosapd (version out of the box - 0.6.9 as far as I remember)
[code1uvu81o8]authentication: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=1 status_code=0 wep=0
wlan0: STA 00:26:82:3a:ac:68 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-AUTHENTICATE.indication(00:26:82:3a:ac:68, OPEN_SYSTEM)
wlan0: STA 00:26:82:3a:ac:68 MLME: MLME-DELETEKEYS.request(00:26:82:3a:ac:68)
authentication reply: STA=00:26:82:3a:ac:68 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
handle_auth_cb - too short payload (len=26)[/code1uvu81o8]

The problem was in [i1uvu81o8]handle_auth_cb - too short payload (len=26)[/i1uvu81o8]. After updating drivers and hostapd it disappeared. But connection attepts failed with error in windows.

Finally as I figured out the problem was in the missing dhcp server. I configured windows client manually to use ip from the same range as the network interface on the AP, updated to daily wireless-compat and hostapd from git and ... it connected!

Now I can ping my server from win client for a long time. But there goes another problem

If I do not ping server (do not send packets to server) connection disappears. Sometimes it reappears again after several seconds of failed pings on trying to start pinging again (And I see the station authorizing again in hostapd output). But sometimes AP even disappears from win accessible wireless AP list. And even after reboot of client it's still not in the list (my neighbour's are found). But on the AP screen there is nothing strange (it still works and shows some stations sending "probe request for broadcast SSID"). Seems like it [b1uvu81o8]ignores[/b1uvu81o8] this client. TCPdump for the wireless interface stops (nothing happens). Same thing with [b1uvu81o8]and[/b1uvu81o8] without WPA2.

Is this issue with hostapd or rt2800usb drivers?

Did anyone ever have this issue? Did one solve it? How? Or maybe driver experts can say anything?

Thanks.

---

modinfo rt2800usb
[code1uvu81o8]filename: /lib/modules/2.6.32-21-generic-pae/updates/drivers/net/wireless/rt2x00/rt2800usb.ko
license: GPL
firmware: rt2870.bin
description: Ralink RT2800 USB Wireless LAN driver.
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: 061087DC25499098239A093
...[/code1uvu81o8]
hostapd -v
[code1uvu81o8]hostapd v0.7.2
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2010, Jouni Malinen <j@w1.fi> and contributors[/code1uvu81o8]
uname -a
[code1uvu81o8]Linux test 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux[/code1uvu81o8]

lshw -c net
[code1uvu81o8]
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:3
logical name: wlan0
serial: 00:21:91:54:5a:2f
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rt2800usb driverversion=2.6.32-21-generic-pae firmware=N/A ip=10.10.11.1 link=no multicast=yes wireless=IEEE 802.11bgn[/code1uvu81o8]

sudo hostapd -dddd /etc/hostapd/hostapd.conf (without connection from host)
[code1uvu81o8]Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: Add own interface ifindex 4
nl80211: New interface mon.wlan0 created: ifindex=5
nl80211: Add own interface ifindex 5
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=4 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=5 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=6 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=6 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=4 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=5 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=6 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=6 dBm
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Completing interface initialization
Mode: IEEE 802.11g Channel: 2 Frequency: 2417 MHz
Flushing old station entries
Deauthenticate all stations
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=0 set_tx=1 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlan0 with hwaddr 00:21:91:54:5a:2f and ssid 'c0ba'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=4):
63 30 62 61 c0ba
PSK (ASCII passphrase) - hexdump_ascii(len=12): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=4 alg=3 addr=(nil) key_idx=1 set_tx=1 seq_len=0 key_len=16
nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'mon.wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Unknown event 5[/code1uvu81o8]
sudo grep ^[^#] /etc/hostapd/hostapd.conf
[code1uvu81o8]interface=wlan0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=c0ba
hw_mode=g
channel=2
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wme_enabled=1
wme_ac_bk_cwmin=4
wme_ac_bk_cwmax=10
wme_ac_bk_aifs=7
wme_ac_bk_txop_limit=0
wme_ac_bk_acm=0
wme_ac_be_aifs=3
wme_ac_be_cwmin=4
wme_ac_be_cwmax=10
wme_ac_be_txop_limit=0
wme_ac_be_acm=0
wme_ac_vi_aifs=2
wme_ac_vi_cwmin=3
wme_ac_vi_cwmax=4
wme_ac_vi_txop_limit=94
wme_ac_vi_acm=0
wme_ac_vo_aifs=2
wme_ac_vo_cwmin=2
wme_ac_vo_cwmax=3
wme_ac_vo_txop_limit=47
wme_ac_vo_acm=0
ap_max_inactivity=20
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2
wpa_passphrase=1234567890
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wpa_group_rekey=600
wpa_strict_rekey=1
wpa_gmk_rekey=86400
wpa_ptk_rekey=600[/code1uvu81o8]
iwconfig
[code1uvu81o8]
wlan0 IEEE 802.11bgn Mode:Master Frequency:2.417 GHz Tx-Power=4 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on

mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.417 GHz Tx-Power=4 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off[/code1uvu81o8]

ifconfig
[code1uvu81o8]
mon.wlan0 Link encap:UNSPEC HWaddr 00-21-91-54-5A-2F-30-30-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:567 (567.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:21:91:54:5a:2f
inet addr:10.10.11.1 Bcast:10.10.11.255 Mask:255.255.255.0
inet6 addr: fe80::221:91ff:fe54:5a2f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:576 (576.0 B)[/code1uvu81o8]
lsmod | grep rt2
[code1uvu81o8]rt2800usb 7708 0
rt2800lib 25556 1 rt2800usb
rt2x00usb 9630 2 rt2800usb,rt2800lib
rt2x00lib 26826 2 rt2800lib,rt2x00usb
led_class 2864 1 rt2x00lib
compat_firmware_class 6979 1 rt2x00lib
mac80211 227368 2 rt2x00usb,rt2x00lib
cfg80211 145025 2 rt2x00lib,mac80211
crc_ccitt 1339 1 rt2800usb[/code1uvu81o8]
dmesg | grep rt2
[code1uvu81o8][ 8.325730] Registered led device: rt2800usb-phy0::radio
[ 8.325761] Registered led device: rt2800usb-phy0::assoc
[ 8.325789] Registered led device: rt2800usb-phy0::quality
[ 8.326396] usbcore: registered new interface driver rt2800usb
[ 8.655052] rt2800usb 1-3:1.0: firmware: requesting rt2870.bin[/code1uvu81o8]
grep ^[^#] /etc/modprobe.d/blacklist.conf
[code1uvu81o8]blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
blacklist rt2870sta[/code1uvu81o8]

Nakedible

15-05-2010 11:40:38

I've had similar problems which I've tried to explain in a post of my own.