User Tools

Site Tools


install_aircrack

Differences

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

Link to this comparison view

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_xinstall_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 ==== 
  
-  * Kernel headers and gcc as well as make have to be installed on your system. On Debian-based distros (Debian, Ubuntu, Xubuntu, ...), issue the following command in a console to install them: +  * OpenSSL development package or libgcrypt development package (libssl-dev or libgcrypt20-dev on Debian based distributions).
- +
-  sudo apt-get install build-essential +
- +
-  * OpenSSL (development). It is called openssl-dev or libssl-dev depending on your distribution.+
   * 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 if SSID filtering with regular expressions is needed 
 +  * Sqlite3 development package (>=3.317 but 3.6X+ is recommended)
  
-  * [[http://www.sqlite.org|SQLite]] (development) > 3.3.17 (but latest version is recommended)+==== 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 (Cygwin====
-  * [[http://www.openssl.org|OpenSSL]] (development): openssl-devel +
-\\ +
-The following is required only if you want [[Airolib-ng]]:+
  
-  * SQLite3 (development) > 3.3.17 (but latest version is recommended)libsqlite3-devel+  * w32api is required 
 +  * Airpcapdeveloper 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 'gmake' instead of 'make'.+Notes: 
 +  Most parameters can be combined. Refer to INSTALLING file for more details (and more parameters). 
 +  On OS X, *BSD and Solaris, use 'gmake' instead of 'make'
 +  * In order to compile with clang instead of gcc, add 'CC=clang' to the make command.
  
 ==== Current version ==== ==== Current version ====
  
-It requires some additional libraries: +   wget http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz 
-  * 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://download.aircrack-ng.org/aircrack-ng-1.2-rc3.tar.gz +
-   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/Makefile to point to the macpports install of SQLite3 before compiling. Change the following line: 
  
-  CFLAGS += -Iinclude+It can be compiled either with XCode 7or with macports
  
-to+Macports:
  
-  CFLAGS +-Iinclude -arch i386 -I/opt/local/include -L/opt/local/lib+  gmake macport=true sqlite=true experimental=true pcre=true 
 + 
 + 
 +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 airpcap=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.aircrack-ng.org/trunk/ aircrack-ng   svn co http://svn.aircrack-ng.org/trunk/ aircrack-ng
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]], [[easside-ng|Easside-ng (and buddy-ng)]], [[wesside-ng|Wesside-ng]] and [[besside-ng|Besside-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]], [[tools#versuck-ng|Versuck-ng]], [[airgraph-ng|Airgraph-ng]] and [[airdrop-ng|Airdrop-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, for details refer to the "README" file contained in their folder 
  
 ==== Nightly Build ==== ==== Nightly Build ====
install_aircrack.txt · Last modified: 2023/03/03 16:47 by mister_x