In new version of Kali 2.0 with updated "aircrack-ng" tool, there is a problem between Internet connection and using cracking tools.
I have my wireless card as wlan0. And the Internet connection is fine too. Then, what I do is:
airmon-ng start wlan0
airodump-ng wlan0mon
Now the airodump-ng doesn't work, saying "Device or resource busy".
In order to run this I have to kill some processes, using:
airmon-ng stop wlan0
airmon-ng check kill
airmon-ng start wlan0
airodump-ng wlan0mon
Now the cracking process is up.
I can start cracking, but now I cannot connect to the Internet after the kill process.
On typing iwconfig in terminal, I get this:
root@kali:~#iwconfig
wlan0mon IEEE 802.11bgn ESSID:"myessid"
Mode:Managed Frequency:2.412 GHz Access Point: 00:00:00:00:00:00
Bit Rate=108 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=42/70 Signal level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:2 Invalid misc:9 Missed beacon:0
eth0 no wireless extensions.
lo no wireless extensions.
And, on running ifconfig on terminal, I get this:
root@kali:~#ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:5604 errors:0 dropped:0 overruns:0 frame:0
TX packets:5604 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:452904 (442.2 KiB) TX bytes:452904 (442.2 KiB)
There is no wlan0 or wlan0mon. I also restarted the network manager by:
service network-manager restart
But nothing changed. Though it displays wlan0 when checked using ifconfig this time.
airmon-ng check kill