install aircrack on ubuntu 10.04

INSTALLING AIRCRACK-NG + AIROSCRIPT-NG + AIRDROP-NG + AIRGRAPH-NG ON UBUNTU

If present, remove and delete the old directory, before continuing
- If you have installed Aircrack-ng from Repository use Synaptic
Code:
sudo apt-get remove --purge aircrack-ng

- If you have installed Aircrack-ng from source code (SVN version):
Code:
cd ~/aircrack-ng
sudo make uninstall
cd
rm -rf aircrack-ng

Update your OS and install these ESSENTIAL and recommended package BEFORE proceeding
Code:
sudo dpkg --configure -a && sudo apt-get install -f && sudo apt-get update
Code:
sudo apt-get install linux-headers-$(uname -r) build-essential make patch gettext autoconf subversion tcl8.5 openssl libssl-dev libnl1 libnl-dev libpcap0.8 libpcap0.8-dev cracklib-runtime python-scapy macchanger-gtk tshark

Upgrading/installing tool "IW" (necessary for use Stacks-mac80211 interface management)
Code:
sudo mkdir /usr/src/drivers
cd /usr/src/drivers
sudo wget http://wireless.kernel.org/download/iw/iw-0.9.21.tar.bz2
sudo tar jxvf iw-0.9.21.tar.bz2
cd iw-0.9.21
sudo make
sudo make install


Installing Aircrack-ng with Airolib-ng support on UBUNTU
(required SQlite3 installed)

Installing SQlite3
Code:
sudo mkdir /usr/src/drivers
cd /usr/src/drivers
sudo wget http://www.sqlite.org/sqlite-autoconf-3070400.tar.gz
sudo tar -zxf sqlite-autoconf-3070400.tar.gz
cd sqlite-autoconf-3070400
./configure --disable-tcl
sudo make
sudo make install

Compiling Aircrack-ng + Airolib-ng without unstable programs
Code:
cd ~/
svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng
cd ~/aircrack-ng
make sqlite=true
sudo make sqlite=true install

Or installing the entire Suite with experimental (unstable) programs: Tkiptun-ng, Wesside-ng, Besside-ng, Easside-ng/Buddy-ng
Code:
make sqlite=true unstable=true
sudo make sqlite=true unstable=true install

Update IEEE's OUI public database
(this for log correctly manufacturer into kismet netxml files)
Code:
sudo airodump-ng-oui-update

WPA cracking speed test
Code:
aircrack-ng -S

- For check your SVN version
Code:
aircrack-ng --help | head -n 5

- For check SSE2 support
Code:
aircrack-ng --cpu-detect


Installing Airoscript-ng on UBUNTU

Compiling Airoscript-ng
Code:
cd ~/aircrack-ng/scripts/airoscript-ng
sudo make

Note: for use Airoscript-ng you need root permission:
Code:
sudo airoscript-ng


Installing Airgraph-ng on UBUNTU


This tool creates an file image of network received with Airodump-ng
Code:
cd ~/aircrack-ng/scripts/airgraph-ng
sudo make install

Note: If you receive this error: "Psyco optimizer not installed !!", you need to install this package.
Code:
sudo apt-get install python-psyco
Installing Airdrop-ng on Ubuntu

NOTE: requires installation of python-dev of your Python version installed

Compiling Airdrop-ng
Code:
cd ~/aircrack-ng/scripts/airdrop-ng
sudo python install.py

Update IEEE's OUI public database
Code:
cd ~/aircrack-ng/scripts/airdrop-ng
sudo airdrop-ng -u
Code:
#################################################
#             Welcome to AirDrop-ng             #
#################################################

Going to support/ to install new oui.txt...
Writing OUI file
Completed Successfully

Update Aircrack-ng SVN with Airolib-ng support on BackTrak 3

For update Aircrack-ng SVN
- Follow the same procedure used on UBUNTU by changing installation "path".
(correct directory --> "/pentest/wireless/")
Code:
cd /pentest/wireless