I've followed this tutorial on installing aircrack on Ubuntu 14.04: https://www.youtube.com/watch?v=xdvGZlUzfRs&src_vid=OF0UjeoTXoI&feature=iv&annotation_id=annotation_1882595149
I had to tweak a few things to get it to download successfully, but here is what I'm having issues with (and what I can't find a solution for):
This command:
sudo airodump-ng mon0
of which I get the error:
Interface mon0:
ioctl(SIOCGIFINDEX) failed: No such device
The command iwconfig shows:
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11abg ESSID:"nameofmynetwork"
Mode:Managed Frequency:5.765 GHz Access Point: 05:B1:51:42:A1:5D
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Regarding mon0, what is it? I tried some solutions, such as killing processes and updating to the latest aircrack, but I still receive an error.
Any help is appreciated!
you don't need to use airmon-ng at all. you can simply:
than go on with
and finally
thats basically what airmon-ng does.
You need to read more about how to use
aircrack-ng
.The command you executed,
sudo airodump-ng mon0
, tells your computer to start capturing packets on the interface calledmon0
, but you don't have that interface yet, that's why it tells youNo such device
.The general steps in using
aircrack-ng
is:sudo airmon-ng start wlan0
mon0
, which you can see when you doiwconfig
. This is the command that you probably didn't execute. If you did run it but you can't seemon0
afterwards, let us know what was the command's output.sudo airodump-ng <options> mon0
sudo aireplay-ng <options> mon0
sudo aircrack-ng <options> <file>
The problem is with the name of the interface. Use the following commands:
Start your wireless interface in monitoring mode
Kill all the interfering processes
Instead of
airodump-ng mon0
, type thisairodump-ng wlan0mon
Please let me know if this works for you.
From what i've seen, in the latest ubuntu version (15.10) there is a problem when enabling monitor mode on mon0.
To do it clean and clear, use this command to kill any process that can cause problems
sudo airmon-ng check kill
, then use this command to enable monitor mode on mon0sudo airmon-ng start wlan0
.Now you can use mon0 with other *-ng commands.
Okay, first of all let's start with killing all processes with
sudo airmon-ng check kill
, then enabling monitor mode withsudo airmon-ng start wlan0
, now the answer to your question is in the output of this command. Notice that it says in the bottom (experimental wl monitor mode vif enabled for [phy0]wlan0 on [phy0]prism0) for me it says prism0 this is the interface that was created for me when I used theairmon-ng start wlan0
command which is in general called mon0 but it's not always the same so you need to check the name of the one that was created for you and use it in the next command. For example in my case, to start capturing packets I will typeairodump-ng prism0
not mon0. I hope this answers your question.if airodump-ng mon0 doesnt works for you; give the previous one command as; "airmon-ng start wlp3s0" rather than "airmon-ng start wlan0" because wlan0 works for network on lan and wlp3s0 works for wireless network and then insert command "airodump-ng mon0" this will surely work for you too