PDA

View Full Version : Aircrack-ng installation problem


exus69
13 Jun 2009, 9:38am
Hello everybody,

Am facing a problem installing the latest version of Aircrack-ng (1.0-rc3) on Ubuntu 9.04 which has the updated repositories :


root@ubuntu:~# cd /root/Desktop/aircrack-ng-1.0-rc3/src
root@ubuntu:~/Desktop/aircrack-ng-1.0-rc3/src# make
make -C osdep
make[1]: Entering directory `/root/Desktop/aircrack-ng-1.0-rc3/src/osdep'
Building for Linux
make[2]: Entering directory `/root/Desktop/aircrack-ng-1.0-rc3/src/osdep'
make[2]: `.os.Linux' is up to date.
make[2]: Leaving directory `/root/Desktop/aircrack-ng-1.0-rc3/src/osdep'
make[1]: Leaving directory `/root/Desktop/aircrack-ng-1.0-rc3/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
In file included from aircrack-ng.c:65:
crypto.h:12:26: error: openssl/hmac.h: No such file or directory
crypto.h:13:25: error: openssl/sha.h: No such file or directory
crypto.h:15:25: error: openssl/rc4.h: No such file or directory
crypto.h:16:25: error: openssl/aes.h: No such file or directory
cc1: warnings being treated as errors
In file included from aircrack-ng.c:69:
sha1-sse2.h: In function ‘calc_4pmk’:
sha1-sse2.h:143: error: implicit declaration of function ‘HMAC’
sha1-sse2.h:143: error: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3876: error: implicit declaration of function ‘EVP_md5’
make: *** [aircrack-ng.o] Error 1
I found a possible solution after googling which dint help unfortunately. Heres the link http://forum.aircrack-ng.org/index.php?topic=5456.0

Am using the default drivers of my Edimax EW-7318USg USB adapter

Please help

Sunny

mertesn
13 Jun 2009, 2:23pm
Well, since the primary use for this software is breaking encryption security on wireless networks, you're not likely to get much help on this one. In general though, if you are using Ubuntu there is probably a pre-compiled package you can have installed using whatever their package manager is called.

exus69
14 Jun 2009, 10:33am
Hello mertesn,
I just wanted to test my SOHO wifi network as I've read that wifi is vulnerable but at the same time our staff of 20 employees also need convenience. Since I am the only IT guy in the small office its my responsibility to make sure its secured. Anyways, I think I'll switchover to Backtrack and test my network rather than spending most of my time searching for dependencies in Ubuntu.

Sunny

mertesn
15 Jun 2009, 4:53am
I certainly don't recommend using wireless networking in a work environment, especially if you have something that needs protection on that network. However if you must use it, WPA2 is your best bet. Make sure your keys are sufficiently strong and that only the necessary people (you and a safe, secure location) has that key.

exus69
15 Jun 2009, 8:20am
Hi there,

My boss is the biggest miser u'll ever see. He has stretched the phrase "Every penny saved is penny earned" to its greatest possible extent. I had tried explaining this thing to him but he argued that other offices in the vicinity are not fools to use it. Sorry, cant argure with him more.

Thx for the advice:)

Sunny

drasnor
15 Jun 2009, 3:43pm
I know it seems redundant but you still appear to have a build dependencies problem. Have you gone through the install instructions on the aircrack-ng site? The openssl source package on Ubuntu seems to contain those dependencies.

-drasnor :fold: