User Tools

Site Tools


acx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
acx [2007/06/26 15:01] – added information for Ubuntu users, hopefully it is understandable axxacx [2009/06/01 18:18] – updated forum link mister_x
Line 1: Line 1:
 ====== ACX100/ACX111  ====== ====== ACX100/ACX111  ======
 +
 +//Note: This page is about the older acx100/acx111 drivers. For the new mac80211-based driver, see [[acx1xx]].//
 +
 +===== WARNING!!! =====
 +**There is legal controversy surrounding the development of this driver, see the wireless [[http://kerneltrap.org/comment/reply/6692|mailing list]] for more information. See [[http://acx100.sourceforge.net/wiki/History#Kernel_inclusion|kernel inclusion section]] for some background information on the previous attempt to include it in the mainline kernel. 
 +**
 +
 +===== Driver Status  =====
 +
 +This is a short report about acx driver. See [[http://forum.aircrack-ng.org/index.php?topic=2216.msg12412#msg12412|this thread]] for details.
 +
 +There are 3 version of the driver:
 +- plain
 +- SoftMac
 +- mac80211
 +
 +The current stable release of the "plain" driver is v0.3.36 (acx-20070101) and it works t works on kernels equal or greater than 2.6.10.
 +
 +For kernel 2.6.21-22, a patch is needed: http://acx100.sourceforge.net/wiki/Patch_2.6.22
 +The driver does not support WPA.
 +
 +The driver can be patched for injection with the instructions below on this page.
 +
 +The SoftMac version uses deprecated stack layer, it's not updated anymore.
 +
 +The [[acx1xx|mac80211 version]] is still in beta. It requires a kernel equal or greater than 2.6.18 (with mac80211 support). Starting with 2.6.27, it will be integrated in the kernel.
 +
 +From kernel 2.6.23 forward, an injection patch is already integrated in the mac80211 stack in the kernel mainline. For fragmentation attack support, an additional patch is required. See the [[mac80211]] page for more details.
 +
 +All versions require a non-GPL firmware in /lib/firmware/, you can find it online.
 +
 +Read more at: http://acx100.sourceforge.net/wiki/Main_Page
 +
 +
 +===== Driver Installation  =====
  
 You need to use a kernel version>= 2.6.10: You need to use a kernel version>= 2.6.10:
Line 14: Line 49:
   modprobe acx   modprobe acx
  
-note: Ubuntu users will want to change the following lines:+note: if the code doesn't work, Ubuntu users will want to change the following lines:
   make -C /lib/modules/`uname -r`/build/ M=`pwd` modules   make -C /lib/modules/`uname -r`/build/ M=`pwd` modules
   make -C /lib/modules/`uname -r`/build/ M=`pwd` modules_install   make -C /lib/modules/`uname -r`/build/ M=`pwd` modules_install
Line 24: Line 59:
   make -C /lib/modules/2.6.20-16-generic/build/ M=`pwd` modules   make -C /lib/modules/2.6.20-16-generic/build/ M=`pwd` modules
   make -C /lib/modules/2.6.20-16-generic/build/ M=`pwd` modules_install   make -C /lib/modules/2.6.20-16-generic/build/ M=`pwd` modules_install
 +
 +
 +====== Troubleshooting Tips  ======
 +
 +===== FAILED to free any of the many full tx buffers =====
 +
 +You get kernel messagess similar to:
 +Jul  3 00:44:12 ubuntop kernel: [  736.008000] wlan0: FAILED to free any of the many full tx buffers. Switching to emergency freeing. Please report!
 +Jul  3 00:44:12 ubuntop kernel: [  736.008000] wlan0: tx timeout!
 +
 +From the author of the driver patch:
 +
 +That's a problem with the driver. I saw it several times while writing the acx111 patch. It works like this:
 +
 +Every packet you transmit allocates a tx buffer, so it will start filling up the whole buffer space until its freed again and that's the point. It just doesn't get freed in time.
 +Once you reached the limit and have eaten up all available buffers, it won't work again until you reload the driver. Its waiting for a TX_COMPLETE message...
 +
 +Possible workarounds (don't know for sure right now, just try it):
 +
 +    * This happens when you use the unpatched driver, double and trible check that you're infact using a patched driver: look at the buildtime, remove all acx modules, make sure your custom module is in the correct /lib/modules/`uname -r`/ path...
 +    * Use aireplay-ng 0.8 or higher, as they incorporate indirect support for acx injection (sending more ack frames)
 +    * Change your hardware mac to the fakemac used for "-h"
 +
acx.txt · Last modified: 2017/01/09 21:26 by mister_x