Tropenhitze

Kannst du das spüren?

Installing aircrack-ng on openSuSE 11.2 for Wi-Fi hacking

with 11 comments

Disclaimer:-

I neither do nor encourage breaking into other’s wireless network. You can install this tool to understand or to learn about the vulnerabilities of the different encryption schemes the Wi-Fi specification supports today, and how easy it is for a hacker to break into them. How to is out of  scope  of this tutorial. You can get complete information from aircrack-ng website. Having said that, let’s go ahead with the installation procedure.

Download aircrack-ng from here

http://download.aircrack-ng.org/aircrack-ng-1.0.tar.gz

Open Terminal, go to the download folder and type,

tar -zxvf aircrack-ng-1.0.tar.gz

After this command is run, the files will be extracted to the subfolder aircrack-ng-1.0 (created automatically). Now execute the following commands in the same order

cd aircrack-ng-1.0
sudo make
sudo make install
sudo su -
airodump-ng-oui-update

The last command will take a few minutes. You have to be as root for the Terminal to recognize this command. That’s why you type sudo su – before this command.

Now you can execute the following command to verify if the installation is successful

airmon-ng

which will display the list of wirless interfaces detected on your system.

Note that Terminal would recognize this command only if run as root user. For this to happen you need to execute the command

sudo su -

before executing airmon-ng or any other aircrack-ng commands. Merely saying sudo airmon-ng wouldn’t suffice and you’ll get some error like

sudo: airmon-ng: command not found

Please leave a comment if this tutorial was helpful to you or if you have suggestions on improving it.

Advertisements

11 Responses

Subscribe to comments with RSS.

  1. thanks for your tuturial, iam new on suse and i installed aircrack-ng suite at last!
    Thanks a lot!

    Fernando

    May 16, 2010 at 11:56 PM

  2. Hi, I am new to linux and installed openSUSE 11.3. I am trying to install aircrack-ng according to your instructions, but when I reach sudo make, I get an error as below:

    gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
    cc1: warnings being treated as errors
    aircrack-ng.c: In function ‘do_wpa_crack’:
    aircrack-ng.c:4189:8: error: array subscript is below array bounds
    make[1]: *** [aircrack-ng.o] Error 1

    I have no idea what that means. Can you please help me install aircrack-ng. Is there anything I need to do extra for it to install? Thanks in advance for your help!

    Samad

    July 23, 2010 at 9:11 AM

    • idently problem

      antonio

      July 26, 2010 at 11:51 AM

    • What it means is that GCC was passed a parameter (-Werror) to treat warnings as errors. You can resolve this by editing the common.mak file and remove that parameter.

      Pick your favorite editor and locate a CFLAGS line (about line 70). Just remove that one parameter and then make / make install.

      The only ding I had after this issue was that the files are all installed to /usr/local/sbin, which is not in my root path. It’s all good to me since I’d rather explicitly call these commands, but others might have an issue with it.

      Regards,
      Frank

      Anonymous

      August 1, 2010 at 1:27 AM

  3. install -d /usr/local/man/man1
    install -m 644 aircrack-ng.1 airdecap-ng.1 airdriver-ng.1 aireplay-ng.1 airmon-ng.1 airodump-ng.1 airserv-ng.1 airtun-ng.1 ivstools.1 kstats.1 makeivs-ng.1 airbase-ng.1 packetforge-ng.1 airdecloak-ng.1 airodump-ng-oui-update.1 wpaclean.1 besside-ng.1 besside-ng-crawler.1 /usr/local/man/man1

    I always get this error… any help?

    Moyosores-MacBook-Pro:~ root# airodump-ng-oui-update
    -sh: airodump-ng-oui-update: command not found

    mistimo1st

    March 8, 2012 at 2:25 AM

  4. airmon-ng: command not found
    i always get this fail if i type:
    sudo -i
    Password for Ghoast:
    airmon-ng start wlan0

    i hate this. i use ubuntu 12. Please help me
    Ghoast

    Ghoast

    June 24, 2012 at 4:35 PM

    • It shines bright in packman repository… Why compile….

      Anonymous

      November 3, 2012 at 2:17 AM

      • I wish it shined bright when I wrote this article. Please check when this article was published.

        Ragavan N

        November 3, 2012 at 2:19 AM

  5. Thank you! 😉

    Gloabe

    April 27, 2014 at 1:13 PM

  6. hi, could you please help me I have an err missing file openssl/hmac.h

    qftheorist

    June 5, 2014 at 2:01 AM


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: