[ERROR] Aircrack-ng

First off i would like to send my hello’s to the community, hi :). I have just installed OpenSUSE 1.11 on my laptop for general, everyday use, (college, internet, word processing ect.). And everything in that field i wanted installed without a problem, most of it was in the repository. But another one of my so-called hobbies is networking and security. I have installed Kismet, and wireshark no problem at all, but when i try to install Aircrack-ng (the latest release), i get an error when i run make. I have gcc installed and the g++ package, but still of no avail. Here is what i get >

linux-m57p:/home/zen/Desktop/aircrack-ng-1.0-rc1 # make
make -C src all
make[1]: Entering directory `/home/zen/Desktop/aircrack-ng-1.0-rc1/src'
make -C osdep
make[2]: Entering directory `/home/zen/Desktop/aircrack-ng-1.0-rc1/src/osdep'
Building for Linux
make[3]: Entering directory `/home/zen/Desktop/aircrack-ng-1.0-rc1/src/osdep'
make[3]: `.os.Linux' is up to date.
make[3]: Leaving directory `/home/zen/Desktop/aircrack-ng-1.0-rc1/src/osdep'
make[2]: Leaving directory `/home/zen/Desktop/aircrack-ng-1.0-rc1/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:63:
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
aircrack-ng.c: In function ‘do_wpa_crack’:
aircrack-ng.c:4026: error: implicit declaration of function ‘HMAC’
aircrack-ng.c:4026: error: implicit declaration of function ‘EVP_sha1’
aircrack-ng.c:4032: error: implicit declaration of function ‘EVP_md5’
make[1]: *** [aircrack-ng.o] Error 1
make[1]: Leaving directory `/home/zen/Desktop/aircrack-ng-1.0-rc1/src'
make: *** [all] Error 2
linux-m57p:/home/zen/Desktop/aircrack-ng-1.0-rc1 #

I have looked into this, (google is a wonderful thing :P), and have found that with Ubuntu there is a package required available through their repository called ‘build-essential’, and apparently for some Ub users this solved the problem.

link : [ubuntu] Help needed installing Aircrack-ng - Ubuntu Forums](http://ubuntuforums.org/showthread.php?t=924839)

I have tried looking into it and searched around here but have not found anything of any real relevence on the subject.

Any help what so ever is appreciated.

Warm regards,

zak0

Hi
aircrack-ng 1.0 rc1 is in the packman repository?

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 7:05, 1 user, load average: 0.11, 0.11, 0.17
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Hi
It’s just a nosrc rpm, so it’s the spec file and you add the tar file.

If you download it from;
ftp://ftp.pbone.net/mirror/packman.iu-bremen.de/suse/11.0/SRPMS/aircrack-ng-1.0-0.pm.rc1.nosrc.rpm

Then right-click and extract. Then copy the spec file and aircrack tar
file to /usr/src/packages/SOURCES, then open a terminal in SOURCES and
use the following command (It will tell you the dependencies to build
it…


rpmbuild -ba aircrack-ng.spec


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 7:09, 2 users, load average: 0.09, 0.09, 0.15
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

I get error even all deps are met

sha1-sse2.S: Assembler messages:
sha1-sse2.S:417: Error: suffix or operands invalid for push' sha1-sse2.S:418: Error: suffix or operands invalid for push’
sha1-sse2.S:419: Error: suffix or operands invalid for push' sha1-sse2.S:441: Error: suffix or operands invalid for pop’
sha1-sse2.S:442: Error: suffix or operands invalid for pop' sha1-sse2.S:443: Error: suffix or operands invalid for pop’
make[1]: *** [aircrack-ng] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/aircrack-ng-1.0-rc2/src’
make: *** [all] Error 2
грешка: Лош статус излаза из /var/tmp/rpm-tmp.37316 (%build)

?!?? :’(

Why this package can be put in some repo outside germany if that is problem with legal issues…
For crying out loud… mp3 dvdcss mpeg and other codecs have legal issues in USA and Japan but vlc, ffmpeg, liblame etc. are still downloadable from that countries… why we can have aircrack-ng package for opensuse???

Think its this…

#572 (Compilation fails in 64bit environment) – Aircrack-ng](http://trac.aircrack-ng.org/ticket/572)

googled
sha1-sse2.S:417: Error: suffix or operands invalid for `push’ - Google Search

Hrmph, didn’t look far. RPM can be found here downloads [Aircrack-ng]

Andy

well… thats an old 0.9 version…
and BTW, does not work …>:(

airmon-ng start wlan0


Interface       Chipset         Driver

wlan0                   ath5k_pci - [phy0]/usr/sbin/airmon-ng: line 338: /sys/class/ieee80211/phy0/add_iface: No such file or directory
mon0: unknown interface: No such device

Hi fellow suse users. I am a newbie to open suse and ive beeeeeen trying to install aircrack-ng but to no avail :’( i have read amlmost all the forums and tried everything in there and still nothing. SOMEONE please help me. When i was using ubuntu 8 i got its installed and it work and now i just cant get it right with suse

nutcracker69 wrote:

>
> Hi fellow suse users. I am a newbie to open suse and ive beeeeeen
> trying to install aircrack-ng but to no avail :’( i have read amlmost
> all the forums and tried everything in there and still nothing.
> SOMEONE please help me. When i was using ubuntu 8 i got its installed
> and it work and now i just cant get it right with suse
>
>
you don’t state what specifically your problem is

fyi there is an rpm in this repo:
http://download.opensuse.org/repositories/home:/primdorf/openSUSE_11.1


Suse 11.1 x64, Kde 4.2.1, Opera 10.x weekly

my actual problem is installing it and finding a suitable version of aircrack for open suse.

I know its wishfull thinking but if there is perhaps a step by spet guide for installing it please point me in the direction