Aircrack-ng is a tool used to penetration test your network by cracking WEP and WPA-PSK keys. We can install Aircrack-ng on the Beaglebone black through the detailed tutorial below.
It also captures raw 802.11 frames.
More infomation about AirCrack-ng can be found at
I used a usb wifi adapter that has a RT5370 chip in it.
To find out what chip your usb device has use the command lsusb to list all the usb devices connected to the BeagleBone Black.
001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
More information on compatible hardware can be found here
These insruction are for a BeagleBone Black with installed Ubnutu on it. See post
Installing Required packages
So before we can build aircrack-ng on the BeagleBone Black we need to install the following packages.
- sudo apt-get update
- sudo apt-get install build-essential
- sudo apt-get install libssl-dev
- sudo apt-get install libsqlite3-dev
- sudo apt-get install libnl-dev
- sudo apt-get install iw
- sudo apt-get install pkg-config
Installing and Building AirCrack-ng on the Beaglebone Black
Now that all of the required software has been install.
Run the following commands to down and build aircrack-ng
- mkdir src
- cd src
- wget http://download.aircrack-ng.org/aircrack-ng-1.2-beta3.tar.gz
- tar -zxvf aircrack-ng-1.2-beta3.tar.gz
- cd aircrack-ng-1.2-beta3
- sudo make install
- sudo airodump-ng-oui-update
Testing the installation
Run the iwconfig command to find the wifi device in my case the device is wlan1 see the iwconfig output.
Now we need to put the wlan1 device in the monitor node. Use the following command to do this.
- sudo airmon-ng start wlan1
Now when we rerun iwconfig there is now a new device mon0
Use the next command to start monitoring wifi data.
- sudo airodump-ng mon0
If everything is working correctly information about access points will start.
Follow the link for more information on