PDA

View Full Version : Aircrack-ng - Can't access ieee80211



askobasko
2016-05-23, 18:59
Hello I am new to this I already posted a treat but can't find it.I hope I am in the write treat.I am using kali with virtual box oracle.I have TP LINK wn722n with chip set AR9271 every time when i try to use airmon-ng i recieve this
root@kali:/usr/src# airmon-ng
ls: cannot access /sys/class/ieee80211/: No such file or directory
already killed the proces with check command.Quiding true the troubleshooting and http://www.aircrack-ng.org/doku.php?id=patching I downloaded the patch and when I try to run the patch command always got this error

can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur rtl8187_linux_26.1010.0622.2006_orig/beta-8187/ieee80211_crypt.h rtl8187_linux_26.1010.0622.2006_rawtx/beta-8187/ieee80211_crypt.h
|--- rtl8187_linux_26.1010.0622.2006_orig/beta-8187/ieee80211_crypt.h 2006-06-05 22:58:02.000000000 -0400
|+++ rtl8187_linux_26.1010.0622.2006_rawtx/beta-8187/ieee80211_crypt.h 2008-08-12 13:11:32.000000000 -0400
--------------------------
File to patch:
I can't navigate to /usr/src/linux so downloaded it in /usr/src and can't do it.Please help

grid
2016-05-24, 11:55
I'd try removing & reinstalling the aircrack-ng suite, and see if that resolves your problem

askobasko
2016-05-24, 15:50
Well I deleted the suite and now have big problem reinstalling it I am trying to download the beta version and get this error when I use the make command
crypto.h:50:26 fatal error openssl/hmac.h:no such file or directory
What can i do please help me

grid
2016-05-25, 11:37
For best compatibility, install aircrack-ng from the Kali repos.

askobasko
2016-05-25, 13:29
Well I am still noob and find to complicated using the aircracking webpage.Can u pls send me the commanda and patch and how to wget.Or explain me what to do after download the patch from the browser.

grid
2016-05-26, 11:48
Commands are below. How's your comfort level with Linux in general? If you're new, there are lots of good tutorials online.

apt-get remove aircrack-ng (this will remove the aircrack-ng suite from your machine)

apt-get install aircrack-ng (this will install the aircrack-ng suite from the Kali repos)

askobasko
2016-05-26, 11:53
Well it says thay are no pacages when i use the apt-get command.Si I wget and the url.And after that I have problem when make command.It says that I neeed libnl1 either libnl3 dev files.Same way I download the pacage for libnl and also have problem when make command it says there is no makefile.I used config command befor and there is makefile in the folder.Is it bug oro something.Also I am thingink to buy othet wireless card.Should it work?