hostapd git with rt73usb not working

Lee Garrett lee-in-berlin at web.de
Wed Sep 3 14:22:20 EDT 2008


Hello there,

I'm trying to run hostapd as AP on an mac80211 wlan stick. I'm using an rt2x00
git kernel, libnl and hostapd (all current git version as of 2nd Septembre).
The rt73 usb stick is working ("iwlist wlan0 scanning" shows me APs around
me). I tried a simple as possible hostapd.conf configuration (no encyption,
non fancy stuff, see attached).

When I start hostapd, following happens:

lenny:~# hostapd -dd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 0
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: 1  Frequency: 2412 MHz
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
Using interface wlan0 with hwaddr 00:1f:c6:xx:xx:xx and ssid 'testing123'
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
wlan0: Setup of interface done.
Wireless event: cmd=0x8b04 len=12
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:16:cf:xx:xx:xx sent probe request for broadcast SSID
STA 00:1d:4f:xx:xx:xx sent probe request for broadcast SSID
STA 00:1d:4f:xx:xx:xx sent probe request for broadcast SSID
STA 00:1d:4f:xx:xx:xx sent probe request for broadcast SSID
STA 00:13:02:xx:xx:xx sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:16:cf:xx:xx:xx sent probe request for broadcast SSID
unknown vendor specific information element ignored (vendor OUI 00:10:18 len=9)
STA 00:16:cf:xx:xx:xx sent probe request for broadcast SSID



Clearly hostapd notices stations sending probe requests (00:1d:4f:xx:xx:xx is
my client), but hostapd never answers. Also, on another client, with
aircrack-ng I sniffed on channel 1, but never saw traffic from my AP (like
beacon frames, or anything else).

I tried changing (rather randomly) deactivating/activating stuff in
hostapd.conf, and I even tried a 2.6.26.3 kernel, but it was of no avail.

ifconfig shows me:
mon.wlan0 Link encap:UNSPEC  HWaddr 00-1F-C6-XX-XX-XX...
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 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:0 (0.0 B)  TX bytes:0 (0.0 B)


wlan0     Link encap:Ethernet  HWaddr 00:1f:c6:xx:xx:xx
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:1260 (1.2 KiB)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-C6-XX-XX-XX...
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 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:0 (0.0 B)  TX bytes:0 (0.0 B)


Right now I'm baffled on how to debug this further. Could someone help me on
this? Are there any more debug options I could activate? If any more
information is needed, let me know.

Kind regards,
Lee

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hostapd.conf
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20080903/4b5bfea8/attachment.txt 


More information about the HostAP mailing list