Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 22:48:47 +0200
From:      Mark Moes <mark_moes@hotmail.com>
To:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Alfa AWUS036H WiFi - driver not supporting AHDEMO mode for injection
Message-ID:  <DUB119-W51AA3A7A7FE090A8120B0491630@phx.gbl>

next in thread | raw e-mail | index | archive | help
Hi all!

Having just posted opened a thread about this on the FreeBSD forum=2C I'll =
more or less copy/paste that post in this mail. Thread: http://forums.freeb=
sd.org/showthread.php?p=3D227470
- - -

I have the "Alfa AWUS036h 802.11 b/g Long-Range USB Adapter" connected to m=
y laptop which is running a FreeBSD 8.1 installation. The adapter is widely=
 used for injecting wireless frames=2C which is my objective as well.

I have set it up to use the urtw(4) driver (manpage) by loading the module =
at boot time.

The output of `dmesg | grep urtw` is as follows:

urtw0: <vendor 0x0bda product 0x8187=2C class 0/0=2C rev 2.00/1.00=2C addr =
2> on usbus7
urtw0: unknown RTL8187L type: 0x8000000
urtw0: rtl8187l rf rtl8225u hwrev none


That looks kinda strange=2C but the adapter works and I am able to successf=
ully create a wlan0 interface and connect to my WPA2 secured network.
However=2C if I want to create a wlan0 interface (after destroying the prev=
ious one) that is usable for packet injection=2C this is what I get.

`ifconfig wlan create wlandev urtw0 wlanmode ahdemo`

urtw0: AHDEMO mode not supported # <-- this line is colored white as oppose=
d to normal gray
ifconfig: SIOCIFCREATE2: Operation not supported


Is this mode simply not (yet) supported?


Cheers=2C

Mark / asfdg
 		 	   		  =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DUB119-W51AA3A7A7FE090A8120B0491630>