./configure flags

When configuring, the following flags can be used and combined to adjust the suite to your choosing:

with-airpcap=DIR: needed for supporting airpcap devices on windows (cygwin or msys2 only) Replace DIR above with the absolute location to the root of the extracted source code from the Airpcap CD or downloaded SDK available online.

disable-libnl: Set-up the project to be compiled without libnl (1 or 3). Linux option only.

Troubleshooting Tips

"command not found" error message

After you do “make install” then try to use any of the Aircrack-ng suite commands, you get the error message “command not found” or similar. Your system will look for the Aircrack-ng commands in the directories defined by the PATH command.

Normally, the Aircrack-ng suite programs and man pages are placed in:

/usr/local/bin
/usr/local/sbin
/usr/local/man

On your system, to determine which directories have the Aircrack-ng programs enter the following. If using “locate” be sure to first run “updatedb”.

locate aircrack-ng
locate airmon-ng

or

find / -name aircrack-ng
find / -name airmon-ng

Once you know the directories (exclude the source directories) then determine which directories are in your PATH. To see which directories are included in PATH on your particular system enter:

echo $PATH

It should show something like:

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

At this point compare the actual locations with the directories in your PATH. If the directories are missing from your PATH then you have a few options:

Add the directories to your PATH. See the one or more of the following web sites for details of how to do this:

Change to the particular directory with “cd” and then run the commands from within the directory. Don't forget to add “./” in front of each command.

Specify the full path for each command. So if Aircrack-ng is located in the “/usr/local/bin” directory then run the command as “/usr/local/bin/aircrack-ng”.

Installing pre-compiled binaries

Linux/BSD/OSX

Open your package manager and install 'Aircrack-ng' package. Be sure to check that the version offered is up-to-date – it often isn't.

On OSX, install it is via Macports. Simply do “sudo port install aircrack-ng”.

Windows

The Windows version of the Aircrack-ng suite does not have an install program. You must manually install (unzipping archive) the software.

Here are the steps to follow for Windows:

Download the latest version of the Aircrack-ng suite for Windows to your PC. The link for the zip file can be found on the Wiki home page.

Unzip the contents of the Aircrack-ng zip file into “C:\”. This will create a directory called “aircrack-ng-1.2-win”. This directory name will vary based on the exact version that you downloaded. This main directory contains three subdirectories - “bin”, “src” and “test”.

Prior to using the software, make sure to install the drivers for your particular wireless card. See this link for the instructions.

To now use the Aircrack-ng suite, start Windows Explorer and double click on Aircrack-ng GUI.exe inside “bin” subdirectory. The GUI requires .NET version 4.6.1 to run.

Alternatively, open a command prompt (Start menu → Execute → cmd.exe) and change to the “C:\aircrack-ng-1.2-win\bin” directory and execute the individual commands.