maybe I am not explaining things well I apologize, I am not the best at showing others :P But let me give this another shot here for you. First make sure you are using at least 1.0rc1 for full injection.

The patches are not for aircrack, aircrack is complete its the drivers you need to patch, you have to enable the abilities in the drivers for aircrack to use them. All the patches should only have to be applied to the RTL8187 driver for your wifi card.... And that should be all you need to patch, though if you still have issues you may need the most current version of IW, just make sure you patch the driver with those 3 patches first then reboot the machine. Then test injection, I found reboots were always needed on the overo when I was messing with this.

There is another route you can go and thats the compatible wireless route which installs most things and I think is only one patch needed, it could be a simpler solution for you, never dealt with that though on any machine. I think maybe a quick read on the aircrack-ng site's wiki looking at how to install it for Linux would give you some proper explanations. Hope this helps get you back on track and sorry if I caused any confusions.








On Fri, Jun 24, 2011 at 3:16 PM, William Pretty Security Inc <bill.pretty@xplornet.com> wrote:

I copied the patch files into the same directory as aircrack (aircrack-ng-1.1) and ran “ patch np0 – dryrun –verbose  <name>.patch”. I got the same error message each time.

 

root@overo:~/aircrack-ng-1.1#  patch -Np1 --dry-run --verbose -i mac80211_2.6.28-rc4-wl_frag+ack_v3.patch

 

Hmm...  Looks like a unified diff to me...

can't find file to patch at input line 5

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c

|index 0855cac..221bed6 100644

|--- a/net/mac80211/tx.c

|+++ b/net/mac80211/tx.c

--------------------------

 

=================================================================================

Patch

=================================================================================

 

diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c

index 0855cac..221bed6 100644

--- a/net/mac80211/tx.c

+++ b/net/mac80211/tx.c

@@ -611,11 +611,19 @@ ieee80211_tx_h_sequence(struct ieee80211_tx_data *tx) ß-----Line 5 ??

 

      /*

       * Packet injection may want to control the sequence

-     * number, if we have no matching interface then we

-     * neither assign one ourselves nor ask the driver to.

+     * number, so if an injected packet is found, skip

+     * renumbering it. Also make the packet NO_ACK to avoid

+     * excessive retries (ACKing and retrying should be

+     * handled by the injecting application).

+     * FIXME This may break hostapd and some other injectors.

+     * This should be done using a radiotap flag.

       */

-     if (unlikely(!info->control.vif))

+     if (unlikely((info->flags & IEEE80211_TX_CTL_INJECTED) &&

+        !(tx->sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES))) {

+           if (!ieee80211_has_morefrags(hdr->frame_control))

+                 info->flags |= IEEE80211_TX_CTL_NO_ACK;

            return TX_CONTINUE;

+     }

 

      if (unlikely(ieee80211_is_ctl(hdr->frame_control)))

            return TX_CONTINUE;

 

 

Am I in the wrong directory. What directory should I be in ??

 

Bill

 

"People sleep peaceably in their beds at night only because rough men

stand ready to do violence on their behalf." - George Orwell

 

From: J. L. [mailto:vwyodapink@gmail.com]
Sent: Friday, June 24, 2011 4:03 PM


To: General mailing list for gumstix users.
Subject: Re: [Gumstix-users] Results of airmon-ng - Patches

 


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users