From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 19 22:17:40 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8A56AA42 for ; Fri, 19 Jul 2013 22:17:40 +0000 (UTC) (envelope-from mark_moes@hotmail.com) Received: from dub0-omc1-s8.dub0.hotmail.com (dub0-omc1-s8.dub0.hotmail.com [157.55.0.207]) by mx1.freebsd.org (Postfix) with ESMTP id 310B33D2 for ; Fri, 19 Jul 2013 22:17:39 +0000 (UTC) Received: from DUB119-W14 ([157.55.0.237]) by dub0-omc1-s8.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 19 Jul 2013 15:16:32 -0700 X-TMN: [NL+TJtM152K3BcO3VQLNp+suisM2/cRn] X-Originating-Email: [mark_moes@hotmail.com] Message-ID: From: Mark Moes To: "freebsd-wireless@freebsd.org" Subject: RE: Alfa AWUS036H WiFi - driver not supporting AHDEMO mode for injection Date: Sat, 20 Jul 2013 00:16:32 +0200 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2013 22:16:32.0860 (UTC) FILETIME=[A00B99C0:01CE84CD] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 22:17:40 -0000 Hi=2C I understand you want to fix it in 9.1. The reason that I was using 8.1 is = that I want to see how injection works there=2C to then somehow clone this = to a distribution based on 8.1 which does not support injection. But I can = install 9.1 alongside to test an updated driver in the future for sure. The hardware is capable of injection=2C listed at the aircrack-ng website a= s a recommendation etc. http://www.aircrack-ng.org/doku.php?id=3Dcompatibility_drivers=20 http://softwaregeneration.org/alfa-network-awus036h-wifi/=20 Is it complicated to add ahdemo support? Mark > Date: Fri=2C 19 Jul 2013 14:41:25 -0700 > Subject: Re: Alfa AWUS036H WiFi - driver not supporting AHDEMO mode for i= njection > From: adrian@freebsd.org > To: mark_moes@hotmail.com > CC: freebsd-wireless@freebsd.org >=20 > Hi=2C >=20 > * Please update to -HEAD first=3B I'd like to fix packet injection mode > (which means making ahdemo mode) but I'd like to do this in -HEAD. > * I don't know if the hardware supports raw frame injection. Maybe it > does but the driver hasn't been updated yet. >=20 >=20 >=20 > -adrian >=20 > On 19 July 2013 13:48=2C Mark Moes wrote: > > 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.f= reebsd.org/showthread.php?p=3D227470 > > - - - > > > > I have the "Alfa AWUS036h 802.11 b/g Long-Range USB Adapter" connected = to my laptop which is running a FreeBSD 8.1 installation. The adapter is wi= dely 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 mod= ule at boot time. > > > > The output of `dmesg | grep urtw` is as follows: > > > > urtw0: 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 succ= essfully create a wlan0 interface and connect to my WPA2 secured network. > > However=2C if I want to create a wlan0 interface (after destroying the = previous 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 op= posed to normal gray > > ifconfig: SIOCIFCREATE2: Operation not supported > > > > > > Is this mode simply not (yet) supported? > > > > > > Cheers=2C > > > > Mark / asfdg > > > > _______________________________________________ > > freebsd-wireless@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe=2C send any mail to "freebsd-wireless-unsubscribe@freebs= d.org" =