User Tools

Site Tools


madwifi-ng

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
Next revisionBoth sides next revision
madwifi-ng [2008/06/28 14:50] – Fix a typo. netrolller3dmadwifi-ng [2009/01/18 23:13] – patches.aircrack-ng.org mister_x
Line 8: Line 8:
    ifconfig ath0 down    ifconfig ath0 down
    ifconfig wifi0 down    ifconfig wifi0 down
-   svn checkout http://svn.madwifi.org/madwifi/trunk/ madwifi-ng +   svn -r 3925 checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng
-   wget http://patches.aircrack-ng.org/madwifi-ng-r3745.patch+
    cd madwifi-ng    cd madwifi-ng
-   patch -Np1 -i ../madwifi-ng-r3745.patch+   wget http://patches.aircrack-ng.org/madwifi-ng-r3925.patch 
 +   patch -N -p 0 -i madwifi-ng-r3925.patch
    ./scripts/madwifi-unload    ./scripts/madwifi-unload
    make    make
Line 18: Line 18:
    modprobe ath_pci    modprobe ath_pci
 \\ \\
 +Important: The above example uses revision 3925 of the madwifi-ng drivers.  You can use the latest SVN version if you wish.  Just be aware that in some versions injection rates are low or zero.  R3925 is known to work well.
 +
 **Notes**: **Notes**:
-  * The patch above must be applied to madwifi-ng r3745 or above.+  * Revision 3925 or above MUST be used (latest is always recommended). Older revision are known not to work correctly (some cannot inject or some captured packets are not correct, ...) 
 +  * The patch above must be applied to madwifi-ng 3925 or above.
   * The patch is designed to eliminate invalid retries.   * The patch is designed to eliminate invalid retries.
   * At "make install", you may be asked if you want to remove old modules, type 'r' to do it.   * At "make install", you may be asked if you want to remove old modules, type 'r' to do it.
Line 34: Line 37:
 The new cards are now (experimentally) supported in trunk. The above code will cause them to work! The new cards are now (experimentally) supported in trunk. The above code will cause them to work!
  
-==== Support for Atheros AR2425 (AR5007EG) chipset (including EEE PC) ====+**NOTE:** 11n rates are not supported yet.
  
-These are relevant links on the madwifi-ng.org site: 
  
-  * [[http://madwifi.org/wiki/Compatibility/Atheros#AtherosAR5007EG|Compatibility]] + 
-  * [[http://madwifi.org/ticket/1192|Hardware Support: AR5007EG]] +==== Support for Atheros AR2425 (AR5007EG) chipset (including EEE PC) - PCI ID 168c001c ==== 
-  * [[http://madwifi.org/ticket/1679|Support for AR2425 (AR5007EG) chipset]]+ 
 +To determine the PCI ID under linux, enter "lspci -nn" The output should look similar to this: 
 + 
 +  03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01) 
 + 
 +Notice the "168c:001c" at the end.  This is the PCI ID. 
 + 
 +These are relevant links on the madwifi-project.org site: 
 + 
 +  * [[http://madwifi-project.org/wiki/Compatibility/Atheros#AtherosAR5007EG|Compatibility]] 
 +  * [[http://madwifi-project.org/ticket/1192|Hardware Support: AR5007EG]] 
 +  * [[http://madwifi-project.org/ticket/1679|Support for AR2425 (AR5007EG) chipset]]
  
 The following links are tarballs already containing everything needed: The following links are tarballs already containing everything needed:
-  * [[http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz|This is a combined r3366 plus AR5007EG patch]]  As well, see the next entry.+  * [[http://snapshots.madwifi-project.org/special/madwifi-nr-r3366+ar5007.tar.gz|This is a combined r3366 plus AR5007EG patch]]  As well, see the next entry.
   * [[http://www.offensive-security.com/madwifi-r3406-hdm-032608.tar.gz|Combined r3406, karma and AR5007EG patch]]   * [[http://www.offensive-security.com/madwifi-r3406-hdm-032608.tar.gz|Combined r3406, karma and AR5007EG patch]]
  
-===== Troubleshooting Tips =====+The following link is a tarball oriented towards BackTrack but may be of value to people with an eeepc.
  
 +  * http://metasploit.com/users/hdm/tools/madwifi-r3726-061708-03-hdm.tar.gz
  
 +The new official HAL (0.10.5.6) supports AR5007EG (and AR5006EG) on 32 and 64 bit systems. Use the instructions above but checkout **http://svn.madwifi-project.org/madwifi/branches/madwifi-hal-0.10.5.6/** instead of **http://svn.madwifi-project.org/madwifi/trunk/**.
  
 +===== Troubleshooting Tips =====
 ==== Blacklisting mac80211 driver version ==== ==== Blacklisting mac80211 driver version ====
  
-If you have the file ath5k.ko in the /lib/modules directory tree then you have two options to blacklist it.  Failure to do this will mean that the ieee80211 madwifi-ng module described on this page will fail to work properly.  Here are the options:+If you have the file ath5k.ko or ath9k.ko in the /lib/modules directory tree then you have two options to blacklist it.  Failure to do this will mean that the ieee80211 madwifi-ng module described on this page will fail to work properly.  Here are the options:
  
   * Move the file to another area on your system as follows then do "depmod -ae" Move    * Move the file to another area on your system as follows then do "depmod -ae" Move 
Line 58: Line 74:
   * Edit /etc/modprobe.d/blacklist and add "blacklist ath5k" as a new line.   * Edit /etc/modprobe.d/blacklist and add "blacklist ath5k" as a new line.
  
-In both cases, reboot your system afterwards.+In both cases, reboot your system afterwards. If present, do the same for ath9k. 
  
 ==== Airodump-ng stalls ==== ==== Airodump-ng stalls ====
Line 71: Line 88:
 ==== Mini-PCI Problems ==== ==== Mini-PCI Problems ====
  
-If you system contains a mini-PCI wireless card, there are some known issues and solutions.  See the [[http://madwifi.org/wiki/UserDocs/MiniPCI|Madwifi-ng Mini-PCI page]] for a description of the known problems and solutions.+If you system contains a mini-PCI wireless card, there are some known issues and solutions.  See the [[http://madwifi-project.org/wiki/UserDocs/MiniPCI|Madwifi-ng Mini-PCI page]] for a description of the known problems and solutions.
  
  
madwifi-ng.txt · Last modified: 2017/01/09 21:29 by mister_x