install_aircrack [Aircrack-ng

]

[[install_aircrack]]
Show pagesource Old revisions Recent changes
Trace: » simple_wep_crack » newbie_guide » install_aircrack

AIRCRACK-NG
Search

Installing Aircrack-ng from Source
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:
sudo apt-get install build-essential

Translations of this page: en de es fr it ja ko pl pt-br
Table of Contents Installing Aircrack-ng from Source Requirements Linux Windows OS X Compiling and installing Current version Compiling with airolib-ng support Compiling with Airpcap support (cygwin only) Compiling with airolib-ng and Airpcap support (cygwin only) Compiling with CUDA support Latest SVN (development) Sources Nightly Build Legacy Installing airoscript Troubleshooting Tips "command not found" error message "build" - No such file or directory "openssl/hmac.h" - No such file or directory "zlib.h" No such file or directory "__le64" error on 64 bit machines when compiling Installing pre-compiled binaries Linux Windows Installing on Mac OSX Installing on OpenBSD Installing VMware Image Requirements Starting Manually attaching USB device Loading Wireless Device Drivers

OpenSSL (development). It is called openssl-dev or libssl-dev depending on your distribution. The following is required only if you want airolib-ng: SQLite (development) recommended) > 3.3.17 (but latest version is

Windows
It requires additional libraries to be installed: OpenSSL (development): openssl-devel The following is required only if you want airolib-ng:

SQLite (development) > 3.3.17 (but latest version is recommended): libsqlite3-devel

OS X
Install the following via macports: gmake 3.81 sqlite3

Compiling and installing
Note: For OS X, use 'gmake' instead of 'make'.

Current version
It requires some additional libraries: OpenSSL (libssl-dev on Debian-based system) SQLite > 3.3.17 (latest version is recommended) if you want to use airolib-ng
wget http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz

http://www.aircrack-ng.org/doku.php?id=install_aircrack&DokuWiki=f0bfa2370907f3484ab1f5684077e7e0[15/06/2012 0:46:01]

Append 'airpcap=true' parameter to make: make airpcap=true make 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 with CUDA support This is still under heavy development so it is not yet been added to the backtrack repositories however it deserves mentioning.tar.org/svn/branch/aircrack-ng-cuda aircrack-ng-cuda Next we will build it like normal but it needs a few extra arguments: cd aircrack-ng-cuda CUDA=true make make CUDA=true sqlite=true unstable=true install Also see: BackTrack 4 CUDA Guide Latest SVN (development) Sources svn co http://trac.aircrack-ng.aircrack-ng. Copy 'developer' directory from the Airpcap CD at the same level as 'aircrack-ng' directory 2. In order to do this we need to grab aircrack from svn.aircrack-ng.php?id=install_aircrack&DokuWiki=f0bfa2370907f3484ab1f5684077e7e0[15/06/2012 0:46:01] . Change the following line: CFLAGS += -Iinclude to CFLAGS += -Iinclude -arch i386 -I/opt/local/include -L/opt/local/lib Compiling with Airpcap support (cygwin only) 1.org/doku. svn co http://trac.org/svn/trunk aircrack-ng cd aircrack-ng and as usual http://www.install_aircrack [Aircrack-ng] tar -zxvf aircrack-ng-1.1.1 make make install Compiling with airolib-ng support Simply append 'sqlite=true' parameter to make and make install: make sqlite=true make sqlite=true install OS X Change CFLAGS in src/Makefile to point to the macpports install of sqlite3 before compiling. You must have the CUDA toolkit and the sdk already installed to be able to build this. Aircrack can be built with a switch to add GPU acceleration.gz cd aircrack-ng-1.

3.9.aircrack-ng. Troubleshooting Tips "command not found" error message After you do “make install” then try to use any of the aircrack-ng suite commands. If using “locate” be sure to first run “updatedb”. see this thread.aircrack-ng. Depending on the distribution you are running and the package manager. For the latest development version from SVN: svn co http://trac.install_aircrack [Aircrack-ng] make make install or if you want sqlite and the experimental (unstable) programs make sqlite=true unstable=true make sqlite=true unstable=true install Nightly Build http://nightly.php?id=install_aircrack&DokuWiki=f0bfa2370907f3484ab1f5684077e7e0[15/06/2012 0:46:01] .gz tar -zxvf aircrack-ng-0.org/aircrack-ng-0.9.org/ contains a nightly tarball from each day. For the latest production version.9.3.tar.aircrack-ng. the command is typically “yum -y install gettext” Or “sudo apt-get install gettext” on Ubuntu. you get the error message “command not found” or similar. Then you must su to root and then: cd airoscript-ng make At this point you are ready to use airoscript by simply typing “airoscript-ng”. Legacy wget http://download. Optionally you can enable the extra features with “sqlite=true” and “unstable=true” per above. Just download and build per building the current version instructions. Your system will look for the aircrack-ng commands in the directories defined by the PATH command.aircrack-ng.org/doku. 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.org/svn/branch/airoscript-ng/ airoscript-ng The command above places the files into a directory called airoscript-ng.tar. ensure you have the gettext package installed.3 make make install Installing airoscript First. Normally.gz cd aircrack-ng-0. This is handy if you don't have access to SVN (subversion). locate aircrack-ng locate airmon-ng http://www.

6. "openssl/hmac.about. Specify the location prefix when installing.15-28-amd64-generic/build is missing. needless to say. To see which directories are included in PATH on your particular system enter: echo $PATH It should show something like: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin At this point compare the actual locations with the directories in your PATH. Specify the full path for each command. In the above examples.com/howto/basic/path.htm http://linux. then do “make prefix=/usr install”.6.h: No such file or directory http://www.com/linux/prepostpath. Don't forget to add ”.h:13:25: error: openssl/sha. Do a “sudo apt-get install linux-headers-`uname -r`” or just “sudo apt-get install linux-headers”.htm Change to the particular directory with “cd” and then run the commands from within the directory. Stop. This will install the programs to /usr/bin and /usr/sbin. change “2. the remove the headers and install them again.org/doku.6.h: No such file or directory crypto. So if aircrack-ng is located in the ”/usr/local/bin” directory then run the command as ”/usr/local/bin/aircrack-ng”. If the directories are missing from your PATH then you have a few options: Add the directories to your PATH.6.No such file or directory On Debian-based distros.15-28-amd64generic”.h" .install_aircrack [Aircrack-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. please set KERNELPATH.h:12:26: error: openssl/hmac.No such file or directory If you get something similar to: crypto. so either you lack the correct headers or your KERNELPATH is wrong. Solution: The build directory gets installed together with the kernel headers./” in front of each command.biz/faq/howto-print-path-variable/ http://www.h: No such file or directory crypto.shtml http://www.h:15:25: error: openssl/rc4. "build" . if you get something similar to: /bin/sh: line 0: cd: /lib/modules/2. maybe it got mixed up for whatever reason. Lets say you have /usr/bin and /usr/sbin directories in your PATH. Please check that `uname -r` returns “2.aircrack-ng.15-28-amd64-generic” to whatever you are running.troubleshooters.inc:66: *** /lib/modules/2. See the one or more of the following web sites for details of how to do this: http://www.15-28-amd64-generic/build: No such file or directory Makefile. If uname returns exactly that string and the current headers are installed. Also check /usr/src for installed header files.cyberciti.php?id=install_aircrack&DokuWiki=f0bfa2370907f3484ab1f5684077e7e0[15/06/2012 0:46:01] .linuxheadquarters.com/od/linux101/l/blnewbie3_1_4.

h:16:25: error: openssl/aes.net.NET Framework 2. To now use the aircrack-ng suite.c:54:18: error: zlib. especially if you have a card for which support was added recently. Important notes: Remember that Windows only supports a limited subset of the commands.exe . This will create a directory called “aircrack-ng-0. Depending on the distribution.“bin”.h:29: error: conflicting types for ‘__le64’ /usr/include/linux/types. This directory name will vary based on the exact version that you downloaded. download http://www.openssl. download and install openssl-devel or libssl-devel (libssl-dev /Ubuntu/).0/1.org/doku.9. Or worst case.1 are inside “bin” subdirectory.php?id=install_aircrack&DokuWiki=f0bfa2370907f3484ab1f5684077e7e0[15/06/2012 0:46:01] .install_aircrack [Aircrack-ng] crypto.h: No such file or directory Solution: You are missing the zlib development package. The GUI requires not able to run this executable. and install zlib-devel. make sure to install the drivers for your particular wireless card. This main directory contains three subdirectories . Prior to using the software. Installing pre-compiled binaries Linux Open your package manager and install 'aircrack-ng' package. http://www. source: "zlib. open a command prompt (Start menu → Execute → cmd. Be sure to check that the version offered is up-to-date – you may see problems with older versions. start Windows Explorer and double click on Aircrack-ng GUI. The link for the zip Wiki home page. “src” and “test”. install it from http://www. Or worst case. See this link for the instructions. Alternatively.9-win\bin” directory and execute the individual commands. file can be found on the Unzip the contents of the aircrack-ng zip file into “C:\”. Ubuntu and Debian are particularly problematic in this matter.aircrack-ng.zlib. ACX. Depending on the distribution. install it from source: "__le64" error on 64 bit machines when compiling You get something similar to: radiotap-parser.h: No such file or directory Solution: You are missing the OpenSSL development package. Here are the steps to follow for Windows XP: Download the latest version of the aircrack-ng suite for Windows to your PC. Windows The Windows version of the aircrack-ng suite does not have an install program.org.h:158: error: previous declaration of ‘__le64’ was here See this thread for a solution.0 to run (.NET Frameworks 1. 2. Broadcom or Intel.0 or better MUST be installed).h" No such file or directory If you get something similar to: wesside-ng.g.3-win”. You must manually install (unzipping archive) the software.exe) and change to the “C:\aircrack-ng-0. e.

Use 7-zip or Winrar (at least latest stable version) on Windows. which can be found on the installer CD/DVD which came with your Mac. Open the virtual machine. 3. Install VMWare Workstation or Player here or via BitTorrent and unpack it somewhere.02 (freeware) or VMWare Fusion beta for intel based Mac's Wireless USB with one of the following chipsets: rtl8187 rt2570 rt73 Approximately 2Gb of hard disk space Important note: VMWare Workstation 6.5 too) is known not to work correctly with rtl8187 driver. use the following instructions: Make sure you have Xcode installed on your Mac. Card that are PCI/MiniPCI/PCMCIA/CardBus/Express Card/PCI Express/PCI-X/MiniPCI Express won't work at all. It uses the whole CPU and it seems to be hanging (it is really slow) for an unknown reason.org/doku.aircrack-ng. so for reinjecting and sniffing you will have to use other means.5 (and maybe Player 2. For Linux (and other OSes). do not support large files). 2. Installing on Mac OSX The simplest and easiest way to install on Mac OS X is via aircrack-ng”. NTFS. Download this VMware image Start VMware and select “open”. VMWare Player 2. airodump-ng and aireplay-ng are linux only and will not work under OSX native. When you use the stable.php?id=install_aircrack&DokuWiki=f0bfa2370907f3484ab1f5684077e7e0[15/06/2012 0:46:01] . ext3. Alternatively. 5. http://www. Starting 1. Mind you. Requirements VMWare Workstation 6. … (all FAT filesystems. If the USB adapter is recognized automatically you'll find a small USB icon in the lower right corner of your VMWare window. You simply do “sudo port install Installing on OpenBSD See this thread for instructions on installing and using the aircrack-ng suite on OpenBSD. Installing VMware Image Important Note: Virtualization solutions (VMware/VirtualBox/Virtual PC/…) only work with USB cards.02. Notes: Uncompress the file on a filesystem that supports large files. After getting the source you can do a simple “make && sudo make install” from the untarred directory.osx to Makefile and when you use the dev version it will autodetect you are using Darwin and compile fine. Attach your USB adapter.install_aircrack [Aircrack-ng] Some troubleshooting tips specific to XP and Vista can be found on this page. including FAT32. If you have an intel Mac check out the VMware Fusion option which is mentioned lower on this page. If not you have to attach it manually. 4. you need to rename the Makefile. Optional is openssl-dev and sqlite3 which can be installed through fink Macports.

On some versions the password is “toor”.Secondary: answers to ping).install_aircrack [Aircrack-ng] use p7zip (it should be in the repositories of your distribution). use 208. The login credentials for the image are user id “root” with password “root”. content on this wiki is licensed under the following license: Noncommercial-Share Alike 3. the device should be shown in the title bar.aircrack-ng.67. Loading Wireless Device Drivers The drivers can be loaded via the menu inside the VM: install_aircrack.0 Unported CC Attribution- http://www. Manually attaching USB device On VMware Player. If it doesn't. Check your DNS. On VMware Workstation. the server OpenDNS (Primary: 208.220).222 .222.220.org” (by the way. The FAQ has some limited information about running the aircrack-ng suite under VMWare.php?id=install_aircrack&DokuWiki=f0bfa2370907f3484ab1f5684077e7e0[15/06/2012 0:46:01] . click on it to activate it.txt · Last modified: 2011/12/29 20:52 by darkaudax Show pagesource Old revisions Login Sitemap Back to top Except where otherwise noted.aircrack-ng. Here are a few reasons why the download doesn't work: That sounds logical but make sure the URL is correct.67. use menu “VM→Removable devices→USB” and then select the device: It will automatically unplug the device from windows and attach it to the virtual machine. make sure it can resolve “download. You don't need any driver for wireless adapters (and other USB adapters) on the OS running VMware.org/doku.

Sign up to vote on this title
UsefulNot useful