From owner-freebsd-wireless@FreeBSD.ORG Sat Jul 20 02:53:38 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 E5162292; Sat, 20 Jul 2013 02:53:37 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id A5B18D06; Sat, 20 Jul 2013 02:53:37 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id k14so6880556oag.40 for ; Fri, 19 Jul 2013 19:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HR44hKnYmE7NoeY1t08ezAWmJC01DLHuAGzrktFxXms=; b=qXKyyKLhf0E0W3FAJUvvHdH/FkgfuIGc6Sfn7U3gjZMFgLGQIZ/caIknuDOtnGR7Q7 nBZBQuIDAfp/ZUHSDwl0np3BRcX0PxGY0G8BBk2zfuw1q9wf/2FfwChgHKh0XbG60Y4B 7z+RtSQkUJwnPTJFc+gTq9yVVtv+0ya8fb0JXFDp7B5WfwFnPyYRGWpvcwOzqg3w53CI 6BfZokcBIfCqNPqo0Ld/tzl5vKY0dDmO+wE75C9cw+N1qDIB+Bf/JctJ+hiAq4N5FsDM 1VFt0wHagsvMiOcMPqyafKdz693G0nHQ5WjDzhu68FDqNDqxDVRxXoM5dBpOHVWCLeGX Difw== MIME-Version: 1.0 X-Received: by 10.60.145.173 with SMTP id sv13mr20076581oeb.63.1374288817225; Fri, 19 Jul 2013 19:53:37 -0700 (PDT) Received: by 10.76.90.197 with HTTP; Fri, 19 Jul 2013 19:53:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jul 2013 22:53:37 -0400 Message-ID: Subject: Re: Alfa AWUS036H WiFi - driver not supporting AHDEMO mode for injection From: Outback Dingo To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Sat, 20 Jul 2013 02:53:38 -0000 On Fri, Jul 19, 2013 at 6:20 PM, Adrian Chadd wrote: > 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 > > > So wait, are you stating FreeBSD supports packet injection in monitor mode on ath5k/ath9k chips now?? > > -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 > is 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 > as a recommendation etc. > > http://www.aircrack-ng.org/doku.php?id=compatibility_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.freebsd.org/showthread.php?p=227470 > >> > - - - > >> > > >> > 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 widely 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 > module at boot time. > >> > > >> > The output of `dmesg | grep urtw` is as follows: > >> > > >> > urtw0: 2> 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 > successfully create a wlan0 interface and connect to my WPA2 secured > network. > >> > However, if I want to create a wlan0 interface (after destroying the > previous 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 > opposed 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.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.org > " >