Install and Test Aircrack on Raspberry Pi running Raspbian

RaspberryPiAfter running kali for a couple hours I had some issues with my Alfa’s and decided to switch to Raspbian and build up my image from there.
We need to see what’s around us so let’s install aircrack and do some ‘monitoring’.
Start with a updated system:

sudo apt-get update && sudo apt-get dist-upgrade -y

Next some requisition:

sudo  apt-get install libnl-dev libssl-dev iw -y

Now grab yourself a beer and the latest sources from the aircack-ng site:

wget http://download.aircrack-ng.org/aircrack-ng-1.2-beta3.tar.gz

Time to compile it:(and drink that beer.)

tar -zxf aircrack-ng-1.2-beta3.tar.gz
cd aircrack-ng-1.2-beta3
make
sudo make install

Last step before we can test is to install Airodump-ng OUI file:

sudo airodump-ng-oui-update

Now put your wifi in monitor mode and check if you can read packages:

sudo airmon-ng start wlan0
sudo airodump-ng mon0

Cleanup:

cd ..
rm -rf aircrack-ng*

Have Fun 😉

Install ALFA AWUS036NHR – chipset RTL8188RU – compat-wireless driver on Backtrack 5

ALFA AWUS036NHR – chip RTL8188RU – compat-wireless driver.


— Tested on Backtrack 5 R1 Gnome 32 & 64bit fresh install:
— Upgrade:
Code:

apt-get update
apt-get dist-upgrade
apt-get autoremove

— Prepare kernel sources:
Code:

prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/
ln -s /usr/src/linux /lib/modules/2.6.39.4/build
apt-get install linux-headers
Continue reading “Install ALFA AWUS036NHR – chipset RTL8188RU – compat-wireless driver on Backtrack 5”