Installing Aircrack-ng

Requirements: kernel headers and gcc 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

Stable

 wget http://download.aircrack-ng.org/aircrack-ng-0.7.tar.gz
 tar -zxvf aircrack-ng-0.7.tar.gz
 cd aircrack-ng-0.7
 make
 make install

Latest development sources

svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng
cd aircrack-ng
#and as usual
make
make install

Troubleshooting Tips

On Debian-based distros, if you get something similar to:

/bin/sh: line 0: cd: /lib/modules/2.6.15-28-amd64-generic/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.15-28-amd64-generic/build is missing, please set KERNELPATH.
Stop.

Solution:
The build directory gets installed together with the kernel headers, so either you lack the correct headers or your KERNELPATH is wrong. Please check that `uname -r` returns “2.6.15-28-amd64-generic”.

Do a “sudo apt-get install linux-headers-`uname -r`” or just “sudo apt-get install linux-headers”.

If uname returns exactly that string and the current headers are installed, the remove the headers and install them again. Also check /usr/src for installed header files, maybe it got mixed up for whatever reason.

In the above examples, needless to say, change “2.6.15-28-amd64-generic” to whatever you are running.

install_aircrack.txt · Last modified: 2007/02/26 21:58 by darkaudax
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki