LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error in installing Aircrack (https://www.linuxquestions.org/questions/linux-software-2/error-in-installing-aircrack-857481/)

marene 01-20-2011 05:37 AM

Error in installing Aircrack
 
Please i need help






make -C src all
make[1]: Entering directory `/down/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/down/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/down/aircrack-ng-1.1/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:140: warning: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: warning: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: warning: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/down/aircrack-ng-1.1/src'
make: *** [all] Error 2
[root@localhost aircrack-ng-1.1]#

TB0ne 01-20-2011 08:36 AM

Quote:

Originally Posted by marene (Post 4231367)
Please i need help

make -C src all
make[1]: Entering directory `/down/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/down/aircrack-ng-1.1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/down/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/down/aircrack-ng-1.1/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:140: warning: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: warning: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: warning: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/down/aircrack-ng-1.1/src'
make: *** [all] Error 2
[root@localhost aircrack-ng-1.1]#

Would help if you provided details, like version/distro of Linux, etc.

If you tried to look up the error, you'd see it was because you don't have the openssl development libraries installed. Install them...again, without knowing what you're running, can't tell you how, but they should be in your online repos. And what are you running aircrack to do?

marene 01-20-2011 08:50 AM

i AM USING CENTOS , VERSION IS 2.6.18 192 EL 5.

lazlow 01-20-2011 09:01 AM

Your kernel is 2.6.18 192. You get your version with ' cat /etc/redhat-release '. You will probably find out that you are running C5.5.


A rpm of aircrack is available from the rpmforge. Take a look at the Centos wiki to see about repos.

marene 01-20-2011 11:59 AM

it was just a tying error

TB0ne 01-20-2011 12:19 PM

Quote:

Originally Posted by marene (Post 4231885)
it was just a tying error

Ok...again, you still need to install the openssl development libraries, which are available through your repos. "yum install openssl-devel" may work, package name may be different.

As lazlow pointed out, there's an RPM of it available too that you can install...and you still don't say what you're trying to accomplish with aircrack.

marene 01-20-2011 07:35 PM

@ TB0ne

Thanks for your kind reply. i just want to carry out research on how much is the strength of wireless home user around my area in Germany. I don't have any harmful plans to do with it. I want to challenge the companies supplying Internet services in my Area in Karlsruhe-Germany.

I am CCNA, CCNP, RHCE , AND MCITP-SERVER ADMIN

TB0ne 01-21-2011 07:50 AM

Quote:

Originally Posted by marene (Post 4232340)
@ TB0ne

Thanks for your kind reply. i just want to carry out research on how much is the strength of wireless home user around my area in Germany. I don't have any harmful plans to do with it. I want to challenge the companies supplying Internet services in my Area in Karlsruhe-Germany.

If you want to start your own ISP, you certainly don't need to know how strong peoples wireless security is. And we only have your WORD that you won't do anything harmful with it.
Quote:

I am CCNA, CCNP, RHCE , AND MCITP-SERVER ADMIN
With all those certifications, including an RHCE, you should easily be able to identify/install the missing library, or the package from source.

marene 01-22-2011 04:40 AM

@ TB0ne

tHANKS MAN

Hangdog42 01-22-2011 07:14 AM

Quote:

Originally Posted by marene (Post 4232340)
@ TB0ne

Thanks for your kind reply. i just want to carry out research on how much is the strength of wireless home user around my area in Germany. I don't have any harmful plans to do with it. I want to challenge the companies supplying Internet services in my Area in Karlsruhe-Germany.

You don't need aircrack to do that. You just need to use any standard wireless scanner (heck iwlist will do the job) too see what kind of encryption is being used. If it is open or WEP, it is not secure. If it is WPA, it is probably OK, but could be improved by moving to WPA2.

There is absolutely no reason to use aircrack.


All times are GMT -5. The time now is 03:49 AM.