From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 19 21:41:26 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 A53AE67E for ; Fri, 19 Jul 2013 21:41:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x230.google.com (mail-qe0-x230.google.com [IPv6:2607:f8b0:400d:c02::230]) by mx1.freebsd.org (Postfix) with ESMTP id 6CD6E2A1 for ; Fri, 19 Jul 2013 21:41:26 +0000 (UTC) Received: by mail-qe0-f48.google.com with SMTP id 2so2663963qea.7 for ; Fri, 19 Jul 2013 14:41:26 -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; bh=yQZfdwqXagHceTDn6uMNQ8FvGbl1lWmx2kVyi/jTS3E=; b=E++5fLQrsmPY10vUGWZpNLyLE/5azECuMdPHsNhRPHrte0vyHj/9UkIR91y7LbSCt9 u9VxVl51/TcIRv6+gSOTpXSvuNGrFah0+UwF6da+k3YeFawdLq1oO/gncvueHHhWNvsA HfuLGjnxZGKHmpb7cp4ChkLIh3GlrzQZsyqZ4Rcfva3I1b0PfW3QBuMEzEu7iMPVaP97 ENPEgLAgNineo4Ax49N0zitEu8l/uFd15ykqunNgeRigVzXbNGRiJnuu5wvhFZXLxCv9 goUq7Fz1SM5CxM/5Ggt7AVxCP6wxwSU3L16JYMfTJNwdohBhchxLYqtRgfyMkcVtDi0i ToFQ== MIME-Version: 1.0 X-Received: by 10.49.107.201 with SMTP id he9mr19537505qeb.74.1374270085981; Fri, 19 Jul 2013 14:41:25 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.195.72 with HTTP; Fri, 19 Jul 2013 14:41:25 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jul 2013 14:41:25 -0700 X-Google-Sender-Auth: 8k6fgVQeihfgcbj8c9JawE7HcH0 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 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 21:41:26 -0000 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: 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"