install_aircrack
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
install_aircrack [2016/02/15 02:50] – [Compiling on FreeBSD] Updated formatting and instructions for FreeBSD mister_x | install_aircrack [2016/02/15 05:42] – Updated compilation instructions mister_x | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing Aircrack-ng from Source ====== | ====== Installing Aircrack-ng from Source ====== | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | ==== Linux ==== | ||
- | | + | * OpenSSL |
- | + | ||
- | sudo apt-get install build-essential | + | |
- | + | ||
- | | + | |
* pkg-config | * pkg-config | ||
- | \\ | + | * make - gmake on *BSD, Solaris and OSX. |
- | The following is required only if you want [[Airolib-ng]]: | + | * gcc or clang |
+ | * PCRE development package | ||
+ | * Sqlite3 development package (>=3.317 but 3.6X+ is recommended) | ||
- | * [[http:// | + | ==== Linux ==== |
- | ==== Windows ==== | + | * Airmon-ng requires ethtool and rfkill |
+ | * LibNetlink 1 (libnl-dev) or 3 (libnl-3-dev and libnl-genl-3-dev) development packages | ||
+ | * Kernel headers and gcc as well as make have to be installed on your system (build-essential on Debian based distributions) | ||
- | It requires additional libraries to be installed: | + | ==== Windows |
- | * [[http:// | + | |
- | \\ | + | |
- | The following is required only if you want [[Airolib-ng]]: | + | |
- | * SQLite3 (development) > 3.3.17 (but latest version | + | * w32api |
+ | * Airpcap: developer directory from the Airpcap CD. | ||
==== OS X ==== | ==== OS X ==== | ||
Line 38: | Line 35: | ||
* pcre | * pcre | ||
* sqlite3 | * sqlite3 | ||
+ | * gcc5 optional (50-70% speed gains compared to gcc 4) | ||
===== Compiling and installing ===== | ===== Compiling and installing ===== | ||
- | **Note:** For OS X, use ' | + | Notes: |
+ | | ||
+ | | ||
+ | * In order to compile with clang instead of gcc, add ' | ||
==== Current version ==== | ==== Current version ==== | ||
- | It requires some additional libraries: | + | wget http:// |
- | * OpenSSL (libssl-dev on Debian-based system) | + | tar -zxvf aircrack-ng-1.2-rc4.tar.gz |
- | * SQLite > 3.3.17 (latest version is recommended) if you want to use [[Airolib-ng]] | + | cd aircrack-ng-1.2-rc4 |
- | + | ||
- | wget http:// | + | |
- | tar -zxvf aircrack-ng-1.2-rc3.tar.gz | + | |
- | cd aircrack-ng-1.2-rc3 | + | |
make | make | ||
make install | make install | ||
Line 70: | Line 67: | ||
=== OS X === | === OS X === | ||
- | Change CFLAGS in src/ | ||
- | CFLAGS | + | It can be compiled either with XCode 7+ or with macports |
- | to | + | Macports: |
- | | + | |
+ | |||
+ | |||
+ | XCode: | ||
+ | |||
+ | gmake xcode=true sqlite=true experimental=true pcre=true | ||
Line 85: | Line 86: | ||
make airpcap=true | make airpcap=true | ||
- | make install | + | make airpcap=true install |
- | + | ||
- | ==== Compiling with Airolib-ng and AirPcap support (cygwin only) ==== | + | |
- | + | ||
- | Simply append both parameter to make and make install: | + | |
- | + | ||
- | make sqlite=true | + | |
- | make sqlite=true install | + | |
==== Compiling on FreeBSD ==== | ==== Compiling on FreeBSD ==== | ||
Line 99: | Line 93: | ||
==== Latest SVN (development) Sources ==== | ==== Latest SVN (development) Sources ==== | ||
+ | |||
+ | **Note:** Compilation parameters can also be used with the sources from our subversion repository. | ||
svn co http:// | svn co http:// | ||
Line 104: | Line 100: | ||
make | make | ||
make install | make install | ||
- | |||
- | ==== Latest SVN with Airolib-ng support and experimental (unstable) programs (requires SQLite installed) ==== | ||
- | (like [[tkiptun-ng|Tkiptun-ng]], | ||
- | |||
- | make sqlite=true experimental=true | ||
- | make sqlite=true experimental=true install | ||
- | |||
- | ==== Latest SVN with Airolib-ng and and experimental (unstable) programs plus external scripts ==== | ||
- | (like [[airoscript-ng|Airoscript-ng]], | ||
- | |||
- | make sqlite=true experimental=true ext_scripts=true | ||
- | make sqlite=true experimental=true ext_scripts=true install | ||
- | |||
- | **Note:** Experimental scripts: | ||
- | * Each scripts has its own dependencies, | ||
==== Nightly Build ==== | ==== Nightly Build ==== |
install_aircrack.txt · Last modified: 2023/03/03 16:47 by mister_x