Return-path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:33010 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754121Ab1J0WVt convert rfc822-to-8bit (ORCPT ); Thu, 27 Oct 2011 18:21:49 -0400 Received: by qabj40 with SMTP id j40so3077434qab.19 for ; Thu, 27 Oct 2011 15:21:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4EA9D8A5.9060104@lwfinger.net> References: <4EA89B8D.7060104@lwfinger.net> <4EA97323.50004@lwfinger.net> <4EA9D8A5.9060104@lwfinger.net> From: =?ISO-8859-1?Q?G=E1bor_Stefanik?= Date: Fri, 28 Oct 2011 00:21:29 +0200 Message-ID: (sfid-20111028_002153_369449_9A8BD10E) Subject: Re: RTL8188RU no injection? To: Larry Finger Cc: Roman Proud , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2011/10/28 Larry Finger : > On 10/27/2011 05:00 PM, G?bor Stefanik wrote: >> >> On Thu, Oct 27, 2011 at 5:05 PM, Larry Finger >> ?wrote: >>> >>> On 10/27/2011 08:17 AM, Roman Proud wrote: >>>> >>>> Hi peops >>>> >>>> thx for all youre responses! >>>> >>>> Well i didnt really thought about g and n -.- >>>> >>>> Im using the latest 8192cu driver from Realtek now, it works just >>>> fine. Also monitor mode works like a charm (yes if i use airmon-ng for >>>> it). My Kernel is (now the default) Arch kernel, on Linux Version >>>> 3.0.4 >>>> >>>> My last problem is the Package injection. Im surprised you are >>>> thinking it could work (ive found many resources that say something >>>> different, but hey its an OpenSource driver ;) >>> >>> Well, I tested with Packetspammer and it worked. As in many cases, the >>> resources that say otherwise are wrong. >>> >>>> Pls excuse my "stupidness" but im really not sure if i am using >>>> "mac80211", i think so, its leaded in the System. >>> >>> The drivers for most devices without a hardware MAC use mac80211 and >>> friends. In fact, it is a prerequisite for getting a driver included in >>> the >>> mainline drivers/net/wireless/ tree. If the driver implements its own MAC >>> layer, then it resides in drivers/staging/. Yes, it is loaded on your >>> system, and it handles a lot of things for the drivers that use it. >>> >>>> And yes its Aircrack im trying to work with, and its Aircrack which >>>> tells me i cant use Packet Injection. >>>> I will try Packetspammer as soon as i am at home. If this works i have >>>> to contact Aircrack, am i right? >>> >>> If Aircrack adds the socket method used by Packetspammer, it will work >>> with >>> nearly every driver in the kernel that supports monitor mode. Whether >>> they >>> want to do that will be their decision, of course. >> >> As a former Aircrack developer, I can definitely state that Aircrack >> uses the same injection method as packetspammer. >> >> However, Realtek's r8192cu driver will never support injection, and it >> is not a mac80211 driver. Look for a driver whose module name begins >> with "rtl" (not just "r"). AFAIK one is included in recent kernels. > > I accepted his word that Aircrack does not work. He is using the mac80211 > driver rtl8192cu, which was introduced in 2.6.39. The driver in > drivers/staging/rtl8192u/ is for a different device. > > Larry Didn't he say that he is using r8192cu downloaded from realtek.com.tw? --G?bor