install_aircrack
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
install_aircrack [2018/03/13 22:45] – [Latest SVN (development) Sources] Updated to Git mister_x | install_aircrack [2018/04/16 01:26] – [Compiling with AirPcap support (cygwin only)] Cosmetic fix for -- mister_x | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | * OpenSSL development package or libgcrypt development package (libssl-dev or libgcrypt20-dev on Debian based distributions). | + | * Autoconf |
- | * pkg-config | + | * Automake |
- | * make - gmake on *BSD, Solaris and OSX. | + | * Libtool |
- | * gcc or clang | + | * shtool |
- | * PCRE development package | + | * OpenSSL |
- | * Sqlite3 development package | + | * pkg-config |
==== Linux ==== | ==== Linux ==== | ||
* Airmon-ng requires ethtool and rfkill | * Airmon-ng requires ethtool and rfkill | ||
- | * LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages | + | * LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages. It can be disabled by passing --disable-libnl to configure. |
* Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions) | * Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions) | ||
+ | * make and Standard C++ Library development package (Debian: libstdc++-dev) | ||
==== Windows (Cygwin) ==== | ==== Windows (Cygwin) ==== | ||
Line 19: | Line 20: | ||
* w32api is required | * w32api is required | ||
* Airpcap: developer directory from the Airpcap CD. | * Airpcap: developer directory from the Airpcap CD. | ||
+ | * if using clang, libiconv and libiconv-devel | ||
+ | * make and Standard C++ Library development package (Debian: libstdc++-dev) | ||
==== OS X ==== | ==== OS X ==== | ||
Line 27: | Line 30: | ||
* sqlite3 | * sqlite3 | ||
- | ==== FreeBSD ==== | + | ==== FreeBSD, OpenBSD, NetBSD, Solaris |
Install the following via pkg: | Install the following via pkg: | ||
Line 36: | Line 39: | ||
* sqlite3 | * sqlite3 | ||
* gcc5 optional (50-70% speed gains compared to gcc 4) | * gcc5 optional (50-70% speed gains compared to gcc 4) | ||
+ | |||
+ | ===== Optional stuff ===== | ||
+ | |||
+ | * If you want SSID filtering with regular expression in airodump-ng (-essid-regex) pcre development package is required. | ||
+ | * If you want to use airolib-ng and ' | ||
+ | * If you want to use Airpcap, the ' | ||
+ | * For best performance on FreeBSD (50-70% more), install gcc5 via: pkg install gcc5 Then compile with: gmake CC=gcc5 CXX=g++5 | ||
+ | * rfkill | ||
+ | |||
===== Compiling and installing ===== | ===== Compiling and installing ===== | ||
Notes: | Notes: | ||
- | * Most parameters can be combined. Refer to INSTALLING file for more details (and more parameters). | ||
* On OS X, *BSD and Solaris, use ' | * On OS X, *BSD and Solaris, use ' | ||
- | * In order to compile with clang instead of gcc, add ' | + | * In order to compile with clang instead of gcc, add ' |
==== Current version ==== | ==== Current version ==== | ||
- | wget http:// | + | wget http:// |
- | tar -zxvf aircrack-ng-1.2-rc4.tar.gz | + | tar -zxvf aircrack-ng-1.2.tar.gz |
- | cd aircrack-ng-1.2-rc4 | + | cd aircrack-ng-1.2 |
+ | | ||
+ | | ||
make | make | ||
make install | make install | ||
- | |||
- | ==== Compiling with Airolib-ng support ==== | ||
- | |||
- | Simply append ' | ||
- | |||
- | make sqlite=true | ||
- | make sqlite=true install | ||
- | |||
- | ==== Compiling with PCRE support ==== | ||
- | |||
- | Airodump-ng can match SSID with a regular expression when compiled with PCRE: | ||
- | |||
- | make pcre=true | ||
- | make pcre=true install | ||
- | |||
- | === OS X === | ||
- | |||
- | It can be compiled either with XCode 7+ or with macports | ||
- | |||
- | Macports: | ||
- | |||
- | gmake macport=true sqlite=true experimental=true pcre=true | ||
- | |||
- | |||
- | XCode: | ||
- | |||
- | gmake xcode=true sqlite=true experimental=true pcre=true | ||
- | |||
==== Compiling with AirPcap support (cygwin only) === | ==== Compiling with AirPcap support (cygwin only) === | ||
- Copy ' | - Copy ' | ||
- | - Append ' | + | - Append '- -with-airpcap=../ |
- | make airpcap=true | + | ==== Compiling on *BSD/ |
- | make airpcap=true install | + | |
- | + | ||
- | ==== Compiling on FreeBSD | + | |
Commands are exactly the same as Linux but instead of **make**, use **gmake** (or **CC=gcc5** or any other installed gcc version). | Commands are exactly the same as Linux but instead of **make**, use **gmake** (or **CC=gcc5** or any other installed gcc version). | ||
Line 102: | Line 84: | ||
make | make | ||
make install | make install | ||
- | |||
- | ==== Nightly Build ==== | ||
- | |||
- | http:// | ||
==== Legacy ==== | ==== Legacy ==== | ||
Line 114: | Line 92: | ||
make | make | ||
make install | make install | ||
+ | |||
+ | ==== ./configure flags ==== | ||
+ | |||
+ | When configuring, | ||
+ | |||
+ | * **with-airpcap=DIR**: | ||
+ | |||
+ | * **with-experimental**: | ||
+ | |||
+ | * **with-ext-scripts**: | ||
+ | |||
+ | * **with-gcrypt**: | ||
+ | |||
+ | * **with-duma**: | ||
+ | |||
+ | * **with-xcode**: | ||
+ | |||
+ | * **disable-libnl**: | ||
+ | |||
===== Troubleshooting Tips ===== | ===== Troubleshooting Tips ===== |
install_aircrack.txt · Last modified: 2023/03/03 16:47 by mister_x