From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 19 22:20:30 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72A4CA7C for ; Fri, 19 Jul 2013 22:20:30 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 36B873E2 for ; Fri, 19 Jul 2013 22:20:30 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id n1so2594489qcw.16 for ; Fri, 19 Jul 2013 15:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hasSrB7FwUZ5hOEZzT6e+BDWgOdMC0D9PDRKTtoh4Hg=; b=POlUq+se4NCA2VSxTn5Knobo96zKRCnqmqLlawdZ4dSSnv/LtfdxLIyPO2s6NZdLT2 gf7obU2XlOnu2Pxib6rSDzxfiu5VSkNsuiXp96A4pUXQ6H/dVmbogmpEio1qrCyNP92E K0tlUwcVz3O1YLysHQn2JiOCcZl44W0nbicGN3mEeRsom2sir9ePMiJsU0D74xjziDZr Jjp8sk8iWy/BoSFD/mRnAQbEhU4l8Ol93qnoxTfYRwojo0fOdlGl9uVfztS9+6RL19ft BJenstcsR+CIFQSukaCxP+lzGUpbgFWDeYX1spH8zGKWny0HJPg192Y/YB6Vm6GY8LdN ynig== MIME-Version: 1.0 X-Received: by 10.229.163.4 with SMTP id y4mr4615433qcx.4.1374272419974; Fri, 19 Jul 2013 15:20:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Fri, 19 Jul 2013 15:20:19 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jul 2013 15:20:19 -0700 X-Google-Sender-Auth: 5UII04hXTK8chYQgFUJ4vggyDS0 Message-ID: Subject: Re: Alfa AWUS036H WiFi - driver not supporting AHDEMO mode for injection From: Adrian Chadd To: Mark Moes Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-wireless@freebsd.org" 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:20:30 -0000 Right, but someone has to go and teach the driver the bits needed to do raw frame injection. I don't unfortunately have the time to fix the driver(s) to support this. I'll fix it for ath(4) and make it work for 11n, then fix whatever odd crap comes up in the net80211 stack. But someone else has to pick up the driver. :P -adrian On 19 July 2013 15:16, Mark Moes wrote: > Hi, > > > I understand you want to fix it in 9.1. The reason that I was using 8.1 i= s that I want to see how injection works there, 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, listed at the aircrack-ng website a= s a recommendation etc. > http://www.aircrack-ng.org/doku.php?id=3Dcompatibility_drivers > http://softwaregeneration.org/alfa-network-awus036h-wifi/ > > Is it complicated to add ahdemo support? > > > Mark > >> Date: Fri, 19 Jul 2013 14:41:25 -0700 >> Subject: Re: Alfa AWUS036H WiFi - driver not supporting AHDEMO mode for = injection >> From: adrian@freebsd.org >> To: mark_moes@hotmail.com >> CC: freebsd-wireless@freebsd.org >> >> Hi, >> >> * Please update to -HEAD first; 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. >> >> >> >> -adrian >> >> On 19 July 2013 13:48, Mark Moes wrote: >> > Hi all! >> > >> > Having just posted opened a thread about this on the FreeBSD forum, I'= ll more or less copy/paste that post in this mail. Thread: http://forums.fr= eebsd.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 w= idely used for injecting wireless frames, which is my objective as well. >> > >> > I have set it up to use the urtw(4) driver (manpage) by loading the mo= dule 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, but the adapter works and I am able to succe= ssfully create a wlan0 interface and connect to my WPA2 secured network. >> > However, if I want to create a wlan0 interface (after destroying the p= revious one) that is usable for packet injection, this is what I get. >> > >> > `ifconfig wlan create wlandev urtw0 wlanmode ahdemo` >> > >> > urtw0: AHDEMO mode not supported # <-- this line is colored white as o= pposed to normal gray >> > ifconfig: SIOCIFCREATE2: Operation not supported >> > >> > >> > Is this mode simply not (yet) supported? >> > >> > >> > Cheers, >> > >> > Mark / asfdg >> > >> > _______________________________________________ >> > freebsd-wireless@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd= .org" > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g"