
Q: How do I install aircrack-ng on Debian?
Debian does not include aircrack-ng in its repositories. Compiling aircrack on Debian is not as bad as it sounds. I’ll show you how!
First install these needed packages:
$ sudo apt-get install build-essential libssl-dev subversion checkinstall
Next, run the following commands.
$ svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng $ cd aircrack-ng
$ make $ sudo checkinstall
Here are example values I used, if you are asked during the checkinstall. These values are not critical if this package is only for you.
...snip... This package will be built according to these values: 0 - Maintainer: [ root@brahms ] 1 - Summary: [ aircrack-ng ] 2 - Name: [ aircrack ] 3 - Version: [ 20120113 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ amd64 ] 8 - Source location: [ aircrack-ng ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Provides: [ aircrack ] 12 - Conflicts: [ ] 13 - Replaces: [ ] Enter a number to change any of them or press ENTER to continue: ...snip...
And then we are done! Checkinstall automatically installs the deb which you can cleanly remove at any time.
**********************************************************************
Done. The new package has been installed and saved to
/home/stmiller/Downloads/tmp/aircrack-ng/aircrack_20120113-1_amd64.deb
You can remove it from your system anytime using:
dpkg -r aircrack
**********************************************************************
One last command to update airodump-ng’s OUI file:
$ sudo airodump-ng-oui-update
$ sudo airodump-ng-oui-update [*] Downloading IEEE OUI file... [*] Parsing OUI file... [*] Airodump-ng OUI file successfully updated
Sweet!
$ aircrack-ng --help
Aircrack-ng 1.1 r2028 - (C) 2006-2010 Thomas d'Otreppe
Original work: Christophe Devine
http://www.aircrack-ng.org
usage: aircrack-ng [options] <.cap / .ivs file(s)>
Common options:
-a : force attack mode (1/WEP, 2/WPA-PSK)
-e : target selection: network identifier
-b : target selection: access point's MAC
-p : # of CPU to use (default: all CPUs)
-q : enable quiet mode (no status output)
-C : merge the given APs to a virtual one
-l : write key to file
Static WEP cracking options:
-c : search alpha-numeric characters only
-t : search binary coded decimal chr only
-h : search the numeric key for Fritz!BOX
-d : use masking of the key (A1:XX:CF:YY)
-m : MAC address to filter usable packets
-n : WEP key length : 64/128/152/256/512
-i : WEP key index (1 to 4), default: any
-f : bruteforce fudge factor, default: 2
-k : disable one attack method (1 to 17)
-x or -x0 : disable bruteforce for last keybytes
-x1 : last keybyte bruteforcing (default)
-x2 : enable last 2 keybytes bruteforcing
-X : disable bruteforce multithreading
-y : experimental single bruteforce mode
-K : use only old KoreK attacks (pre-PTW)
-s : show the key in ASCII while cracking
-M : specify maximum number of IVs to use
-D : WEP decloak, skips broken keystreams
-P : PTW debug: 1: disable Klein, 2: PTW
-1 : run only 1 try to crack key with PTW
WEP and WPA-PSK cracking options:
-w : path to wordlist(s) filename(s)
WPA-PSK options:
-E : create EWSA Project file v3
-J : create Hashcat Capture file
-S : WPA cracking speed test
Other options:
-u : Displays # of CPUs & MMX/SSE support
--help : Displays this usage screen
Related posts:





Hi.
When running checkinstall, i get this error, and building the package fails:
dpkg-deb: error: parsing file ‘/var/tmp/tmp.3PjV3rqJfk/package/DEBIAN/control’ near line 7 package ‘aircrack’:
error in Version string ‘ng-1′: version number does not start with digit
/var/tmp/tmp.3PjV3rqJfk/dpkgbuild.log (END)
Running LinuxMint Debian Edition amd64.
Thanks.
Twitter: scottlinux
When it gets to this part, change the version number (Option 3) to something like, the date in all digits.
It is erroring out as it is looking for a digit there.
Yep, that did it. Thank you.
Keep up the good work!
Hi to all!
When i give the command sudo checkinstall, it fail with following error
install -d /usr/local/man/man1
install: unable to change permission on “/usr/local/man/man1″: File or directory not exist
make[1]: *** [install] Error 1
Any advice?
Solved.
Just created manually the dir man1 under /usr/local/man :)
Hi,
Thanks so much for this. I’m running Antix, and couldn’t quite get my make install of a different 1.1 download to compile. Cheers!
Thanks very much. I don’t understand why Debian from standard repo show me aircrack-ng is newest version. “Aircrack-ng 1.1 – (C) 2006, 2007, 2008, 2009 Thomas d’Otreppe” is not newest version :/
hi,
I have successfully install the soft ware.Can you help me to know how i am going to start running the program .
Thank you so much for sharing this, it helped quite a bit!
Thanks bro!
It works also on Ubuntu 12.04 :)