Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airmon-ng compatibility problem #64

Closed
h4cx3r opened this issue Aug 11, 2017 · 27 comments
Closed

airmon-ng compatibility problem #64

h4cx3r opened this issue Aug 11, 2017 · 27 comments

Comments

@h4cx3r
Copy link

h4cx3r commented Aug 11, 2017

Do you want to request a feature or report a bug?

-> Bug


What is the current behavior?

-> *Hey buddy I am very sad about my problem that I am trying to Hack Wifi with Fluxion 3 on wifislax with my TL-422G USB adapter. But when I tries to start the attack an error occurred with the message that "Your wireless card is not supported Do you want to continue? Y/N" and then I am unable to perform the attack. Even I have Hacked many wifi before with the same wifi adapter on the old version of fluxion but it gives the error only on the latest version of Fluxion only. I wished that i could perform attack with the latest version of fluxion. If my Wifi adapter is not supported only on latest version of Fluxion then Please tell me what to do? how I can perform my attack on latest fluxion please tell me the solution. Waiting for your response continuously..... Your biggest fan! :) *


Specs

Wireless adapter:

I have TP link adapter: TL-WN422G, driver: nl80211 .

Fluxion version:

*Latest version of fluxion 2 and 3 is giving me an error `

Linux version:

*I am using Wifislax 14.00 something. And I have also tried on Kali linux 2016`

@MPX4132
Copy link
Member

MPX4132 commented Aug 11, 2017

Fluxion is on version 3 now, you can download it from here. If running it regularly doesn't work, you can try to run "export FLUXIONDropNet=1" before running fluxion v3, to kill any processes that might interfere with operations:

Go to Fluxion's directory and run:
export FLUXIONDropNet=1; ./fluxion

edit: Also, if you did download V3 before, there's been a couple of bug fixes recently that corrected lots of issues, some which are related to compatibility. Make sure you've got the absolute latest version.

Make sure you're using this tool legally.

@h4cx3r
Copy link
Author

h4cx3r commented Aug 11, 2017

Thanks Bro! but this also didn't worked for me. I just tested it on Fluxion 3 with many hopes but all in vain :/ . The same error occurred that the wireless card is not supported. I don't why it doesn't supporting my wireless card. Whats the problem :(( Some body help please.

@MPX4132
Copy link
Member

MPX4132 commented Aug 11, 2017

Make sure your wireless card supports injection, as super user, run:

aireplay-ng --test wlanX

Look for "Injection is working!" If it doesn't come up, then something changed with your driver.
To undo the wlanX monitor interface, as super user, run:

ifconfig wlanX down
iwconfig wlanX mode managed
ifconfig wlanX up

@strasharo
Copy link
Contributor

What's the chipset? Are you able to bring it in monitor mode manually and inject with it?

@deltaxflux deltaxflux added the bug label Aug 12, 2017
@MPX4132
Copy link
Member

MPX4132 commented Aug 13, 2017

He might be using dash or something other than bash. Some of the parsing commands I used are bash-only, and require bash 4.0 or greater.

@h4cx3r
Copy link
Author

h4cx3r commented Aug 13, 2017

Here is the log file of the error
" curl: (6) Couldn't resolve host 'raw.githubusercontent.com'
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

rmmod: ERROR: could not remove 'AR9271': No such file or directory
rmmod: ERROR: could not remove module AR9271: No such file or directory
modprobe: FATAL: Module AR9271 not found in directory /lib/modules/4.4.16-smp-wifislax "

Note: Fluxion 0.23 rev 30 by DELTAX works fine on my Wireless adapter.
please try to solve my problem

@deltaxflux
Copy link
Member

Can you also provide the output from airmon-ng ?

@h4cx3r
Copy link
Author

h4cx3r commented Aug 14, 2017

Sure. Here is the output of airmon-ng
" Interface ------ Chipset ------ Driver

wlan0 ------ Atheros AR9271 ------ ath9k - [phy0] "

@MPX4132
Copy link
Member

MPX4132 commented Aug 14, 2017

Did you modify the output at all, or did airmon-ng print it out like that?

@MPX4132
Copy link
Member

MPX4132 commented Aug 14, 2017

What's your version of airmon-ng? You can check with:

$ man airmon-ng

Scroll to the very bottom of the manual. It seems like you're using an outdated version.
edit: Fluxion supports version 1.2-rc4

@MPX4132 MPX4132 changed the title Getting error :( airmon-ng compatibility problem Aug 14, 2017
@h4cx3r
Copy link
Author

h4cx3r commented Aug 14, 2017

@MPX4132 Yes I did modified the output. I thought that it would be better to understand. Sorry.
Here is the original output of airmon-ng :

"Interface Chipset Driver

wlan0 Atheros AR9271 ath9k - [phy0]"

And I am unable to check the version of airmon-ng. When I enter the command "man airmon-ng" the out put comes that " No manual entry for airmon-ng ".
What to do now? Please keep respounding and helping maybe problem get fix. Never giveup.
Note: I also tried fluxion 3 latest on Kali linux 2017 latest but I am also getting the same error on Kali linux.

@deltaxflux
Copy link
Member

Well if no airmon-ng entry exists to use the aircrack man page.
man aircrack-ng | grep Version

Well I found an article that your network adapter is not compartible. To confirm this, we check if the adapter supports injection.
aireplay-ng --test wlanX

So in your case
aireplay-ng --test wlan0

You should see an output like:

ioctl(SIOCSIWMODE) failed: Device or resource busy
16:16:47  Trying broadcast probe requests...
16:16:47  Injection is working!
16:16:49  Found 2 APs

@h4cx3r
Copy link
Author

h4cx3r commented Aug 14, 2017

Absolutely, I am getting the output of " aireplay-ng --test wlan0" same like you:

ioctl(SIOCSIWMODE) failed: Device or resource busy
19:50:59  Trying broadcast probe requests...
19:50:59  Injection is working!
19:51:01  Found 4 APs

Now in this case what is the solution?

@deltaxflux
Copy link
Member

And which airmon / aircrack version do you have?

@h4cx3r
Copy link
Author

h4cx3r commented Aug 14, 2017

I don't know which version I have. And I also don't know how to check it. And I don't know how to update it. So please don't mind and lead me :)

@navanchauhan
Copy link
Contributor

apt-cache policy airmon-ng
Paste the output

@deltaxflux
Copy link
Member

deltaxflux commented Aug 14, 2017

I wrote:

Well if no airmon-ng entry exists to use the aircrack man page.
man aircrack-ng | grep Version

But this should work on any debian system

apt-cache policy airmon-ng
Paste the output

@h4cx3r
Copy link
Author

h4cx3r commented Aug 14, 2017

out put of "apt-cache policy airmon-ng" :
bash: apt-cache: command not found
out put of "man aircrack-ng | grep Version" :
No manual entry for aircrack-ng

@deltaxflux
Copy link
Member

This is was meant for your kali machine

@MPX4132
Copy link
Member

MPX4132 commented Aug 14, 2017

Yeah, the problem is an outdated version of airmon-ng. His output differs from what the program is looking to parse.

@h4cx3r
Copy link
Author

h4cx3r commented Aug 14, 2017

How can I fix that? Is there any way available? or I should bought a new wifi adapter?
Is the problem in my Wifi USB adapter? or in Operating system?

@MPX4132
Copy link
Member

MPX4132 commented Aug 14, 2017

You just need to update your airmon-ng version. If you want to fix it yourself, open fluxion with a text editor and look for these lines (around line 490):

		WIAvailable[i]=$(echo "$data" | awk -F':_:' '{print $2}')
		WIAvailableInfo[i]=$(echo "$data" | awk -F':_:' '{print $4}')

And change the numbers 2 and 4 to 1 and 2:

		WIAvailable[i]=$(echo "$data" | awk -F':_:' '{print $1}')
		WIAvailableInfo[i]=$(echo "$data" | awk -F':_:' '{print $2}')

The reason I'm telling you to fix it yourself is because I don't know if we support older versions of airmon-ng. If we do support older versions, we can fix it up, otherwise we won't be able to fix it for you.

@h4cx3r
Copy link
Author

h4cx3r commented Aug 14, 2017

@MPX4132 I did it bro. but it did'nt worked for me.
If you don't mind can you tell me how can i update my airmon-ng to newer version?

@deltaxflux
Copy link
Member

On wifislax:

slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system

@deltaxflux
Copy link
Member

Not a bug related to fluxion. Closing...

@evilced
Copy link

evilced commented Aug 17, 2017

HI @deltaxflux I'm seemingly experiencing the same problem than @h4cx3r

i had

root@Silver-Queen:/home/Cédric# man aircrack-ng | grep Version
GNU General Public License, Version 2 or any later version published by
Version 1.2-rc4 February 2016 AIRCRACK-NG(1)
root@Silver-Queen:/home/Cédric# aireplay-ng --test wlan0
ioctl(SIOCSIWMODE) failed: Device or resource busy
19:41:36 Trying broadcast probe requests...
19:41:36 Injection is working!
19:41:38 Found 1 AP

19:41:38 Trying directed probe requests...
19:41:38 94:FE:22:9A:5B:A3 - channel: 8 - 'White Queen'
19:41:38 Ping (min/avg/max): 0.777ms/6.583ms/18.405ms Power: -19.87
19:41:38 30/30: 100%

root@Silver-Queen:/home/Cédric# lspci | grep -i wireless
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

@deltaxflux
Copy link
Member

Open a new issue, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants