having trouble installing aircrack-ng from tarball
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
having trouble installing aircrack-ng from tarball
i downloaded a souce tarball for aircrack-ng from linux, when i extract it and move the terminal to its directory and run make and make install it gives me errors like the following
Code:
>make
make -C src all
make[1]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o osdep.o osdep.c
make[3]: gcc: Command not found
make[3]: *** [osdep.o] Error 127
make[3]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[1]: *** [osd] Error 2
make[1]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make: *** [all] Error 2
and when i run make install
Code:
make install
make -C src install
make[1]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o osdep.o osdep.c
make[3]: gcc: Command not found
make[3]: *** [osdep.o] Error 127
make[3]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src/osdep'
make[1]: *** [osd] Error 2
make[1]: Leaving directory `/home/baronobeefdip/aircrack-ng-1.1/src'
make: *** [install] Error 2
what is missing here what is the problem does it have to be in /tools/wifi or does it not matter
as you can see by the little icon next to my penguin i am using fedora (goddard) but i want to know how to install this in several other distros other than fedora because tarballs are universal with linux distros and i wanna know how to install it without using the internet (just want to know how to install it from tarball)
where can i find a tarball archive that will install gcc (the computers i plan on installing aircrack-ng on aren't connected to the internet and if i could connect them to the internet then whats the point of using aircrack-ng)
the computers i plan on installing aircrack-ng on aren't connected to the internet and if i could connect them to the internet then whats the point of using aircrack-ng
You are walking on very thin ice here. Please take the time to re-read the LQ Rules :
Code:
Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
We are not going to help you steal your neighbour's bandwidth.
this isn't for thievery or anything like that (i swear to god) this is for my networking class i have no experience installing this kinds of things and neither does the instructor
plus my neighbors use wpa security and i don't wanna bother with wpa at all since its too difficult to figure out
i apprecate the help though thanks guys
plus besides installing all of this aircrack stuff we were previously trying to learn how to install samba from source as well and we are still trying to install and run apache http server (haven't got it down yet i have a thread around here asking that)
Last edited by baronobeefdip; 06-18-2010 at 04:31 PM.
If it is for your networking class, then I expect you'll find the network connection details are available from your educational institution. Ask for them, and if you are entitled to them, they will be provided.
If your class "instructor" doesn't know how to set this up, then (s)he does not qualify for the post of "instructor".
hes done stuff like this but only in windows (apparently all of the lesson plans and activities are dealing with windows not linux so everyone has either no or very minimal experience with linux)
we already know the weps and stuff for the schools wifi and they already know what goes on in this class so its okay we aren't stealing anything
i just installed openssl and i tried installing from atarball again and it still didn't work, instead this came up
Code:
make
make -C src all
make[1]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o osdep.o osdep.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o network.o network.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux.o linux.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o linux_tap.o linux_tap.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -fPIC -I.. -c -o common.o common.c
ar cru libosdep.a osdep.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o
ranlib libosdep.a
touch .os.Linux
make[3]: Leaving directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/home/baronobeefdip/Downloads/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: error: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: error: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: error: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make: *** [all] Error 2
baronobeefdip@baronobeefdip-desktop:~/Downloads/aircrack-ng-1.1$ sudo make
make -C src all
make[1]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make -C osdep
make[2]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src/osdep'
make[2]: Leaving directory `/home/baronobeefdip/Downloads/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: error: implicit declaration of function ‘HMAC’
sha1-sse2.h:140: error: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c: In function ‘crack_wpa_thread’:
aircrack-ng.c:3934: error: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/baronobeefdip/Downloads/aircrack-ng-1.1/src'
make: *** [all] Error 2
after looking closer at the error message that is showing up in the last code entry i found that the libssl-dev isn't installed (i also found that this is a debian/ubuntu problem and i want to install it in operating systems that aren't debian based for this to work) also i have been testing the tarball to see this but i'm not going to try the tarball in ubuntu anymore apt-get install is easier
i found out that fedora doesn't have the make command installed onto it what should i do about this, i had this working in pclinuxos 2009.1 before but i didn't know how to make it work at the time and i can't find another download of that os (the 2010 version of pclinuxos doesn't work well)
Last edited by baronobeefdip; 06-18-2010 at 06:52 PM.
just found out that there is a live cd with aircrack-ng already installed onto it (along with other cool networking tools) its called backtrack but when i tried it, it won't reconize my wlan card (Zydas chipset it works fine when i use the aircrack-ng program i downloaded in ubuntu) whats the deal (i downloaded version 3 because it was small enough to fid on a cd-r but i don't think that it works with fairly new wireless cards) how do i fix this
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.