User Tools

Aircrack-ng+Ubuntu+EeePC

I recently migrated my original 160GB drive to Ubuntu 10.10 Netbook Remix. I found it to work flawlessly on my 10“ Asus netbook. I plan on using this as my pen-testing machine on the sandbox network I'm building at work. I figured I would get Aircrack-ng installed and running on the stock Wi-Fi card as an initial tool to try out. Plus, I have never actually got it working 100% and wanted to actually crack a wireless key. I didn't drive around the neighborhood looking for a WAP to crack. I just used my Droid with Barnacle to setup a network to break into.

Some preliminary installations:

sudo apt-get install gcc g++ build-essential libssl-dev libnl-dev

I also had to install the “negative one” patch. When I would try to run some of the aircrack tools, the channel would show up as -1.

wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 -O compat-wireless-2.6.tar.bz2
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch -O channel-negative-one-maxim.patch
tar -xzvf compat-wireless-2.6.tar.bz2
cd compat-wireless-2.6.35-1/
sudo patch ./net/wireless/chan.c ~/Downloads/channel-negative-one-maxim.patch
sudo ./scripts/driver-select ath5k
sudo make
sudo make install

Reboot

Now download and install the Aircrack-ng suite.

Run airmon-ng once to look for any conflicting services or processes.

sudo airmon-ng

Stop services and kill processes it lists. I had to do the following:

sudo service network-manager stop
sudo service avahi-daemon stop

You may also have to kill the wpa_supplicant process. Now you can go to the Simple WEP Crack Tutorial on the Aircrack-ng site.

When you're done capturing and want to utilize your Wi-Fi card normally, restart the two services stopped earlier.

sudo service avahi-daemon start
sudo service network-manager start

References

http://www.aircrack-ng.org/

– Main.FredPettis - 2011-01-19

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information