rt61 device works in master mode with hostapd 0.6.4 but not 0.6.7 or 0.7.0
Cengiz Günay
cengique
Sat Jan 31 12:39:06 PST 2009
Hi,
I have been using hostapd 0.6.4 for my rt61 PCI device since about October
with no problems. Recently I upgraded both the kernel drivers for rt2x00 and
hostapd and I can no longer get the master mode working. I would appreciate
if you have any insights on how I can upgrade to recent versions of hostapd
without breaking my configuration.
I'm back to my original configuration now with hostapd 0.6.4 and the
modified rt2x00 kernel 2.6.27-rc6-wl. When I run hostapd I can see STAs
getting authenticated correctly:
--- hostapd 0.6.4 output {
Configuration file: /etc/hostapd/hostapd-0.6.4-works-w-2.6.27-rc6-wl.conf
ctrl_interface_group=0
eapol_version=1
Opening raw packet socket for ifindex -1211055734
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
Failed to update rate sets in kernel module
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
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
Could not set passive scanning: Unknown error 4294967295
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11g Channel: 7 Frequency: 2442 MHz
Using interface wlan0 with hwaddr 00:08:a1:94:81:2f and ssid 'cengobik'
SSID - hexdump_ascii(len=8):
63 65 6e 67 6f 62 69 6b cengobik
PSK (ASCII passphrase) - hexdump_ascii(len=10):
<***>
PSK (from passphrase) - hexdump(len=32): <***>
wlan0: Setup of interface done.
MGMT (TX callback) ACK
Wireless event: cmd=0x8b04 len=12
STA 00:1c:26:52:ae:cf sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:1a:73:cc:e5:5b auth_alg=0 auth_transaction=1
status_code=0 wep=0
New STA
authentication reply: STA=00:1a:73:cc:e5:5b auth_alg=0 auth_transaction=2
resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:1a:73:cc:e5:5b IEEE 802.11: authenticated
--- } hostapd 0.6.4 output
When I run hostapd 0.6.4 with the new rt2x00 kernel -2.6.29-rc2-wl it
repeatedly tries to associate with the STA:
--- {
Configuration file: /etc/hostapd/hostapd-0.6.4-works-w-2.6.27-rc6-wl.conf
ctrl_interface_group=0
eapol_version=1
Opening raw packet socket for ifindex -1
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
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=4 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=6 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=4 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=6 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=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
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
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11g Channel: 7 Frequency: 2442 MHz
Using interface wlan0 with hwaddr 00:08:a1:94:81:2f and ssid 'cengobik'
SSID - hexdump_ascii(len=8):
PSK (ASCII passphrase) - hexdump_ascii(len=10):
PSK (from passphrase) - hexdump(len=32):
wlan0: Setup of interface done.
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
MGMT
mgmt::auth
authentication: STA=00:1a:73:cc:e5:5b auth_alg=0 auth_transaction=1
status_code=0 wep=0
New STA
authentication reply: STA=00:1a:73:cc:e5:5b auth_alg=0 auth_transaction=2
resp=0 (IE len=0)
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
<keeps repeating this and never associates>
--- }
Both hostapd versions 0.6.7 and 0.7.0 refuse to work with the older rt2x00
kernel driver, but show similar repeated authentication entries with newer
rt2x00 kernel:
--- {
Configuration file: /etc/hostapd/hostapd-0.6.4-works-w-2.6.27-rc6-wl.conf
ctrl_interface_group=0
eapol_version=1
Opening raw packet socket for ifindex -1
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
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=4 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=6 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=4 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=6 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=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
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
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11g Channel: 7 Frequency: 2442 MHz
Using interface wlan0 with hwaddr 00:08:a1:94:81:2f and ssid 'cengobik'
SSID - hexdump_ascii(len=8):
PSK (ASCII passphrase) - hexdump_ascii(len=10):
PSK (from passphrase) - hexdump(len=32):
wlan0: Setup of interface done.
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
STA 00:1a:73:cc:e5:5b sent probe request for our SSID
MGMT
mgmt::auth
authentication: STA=00:1a:73:cc:e5:5b auth_alg=0 auth_transaction=1
status_code=0 wep=0
New STA
authentication reply: STA=00:1a:73:cc:e5:5b auth_alg=0 auth_transaction=2
resp=0 (IE len=0)
unknown vendor specific information element ignored (vendor OUI 00:10:18
len=9)
<repeats above>
--- }
Any clues?
--
Cengiz Gunay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090131/6a15a925/attachment.htm
More information about the Hostap
mailing list