Author Topic: Enable wireless adapter using kali linux  (Read 2072 times)

0 Members and 2 Guests are viewing this topic.

Offline appleasandoranges

  • NULL
  • Posts: 2
  • Cookies: -8
    • View Profile
Enable wireless adapter using kali linux
« on: January 06, 2016, 07:18:00 am »
Please use the following template:

[Problem]

I just bought a 'TP-LINK' brand 'TL_WN722N' wireless adapter to use for kali linux. When I run 'airmon-ng' I get the following terminal output:

root@kali:~# airmon-ng


Interface   Chipset     Driver

wlan0       Unknown     mac80211_hwsim - [phy0]
wlan1       Unknown     mac80211_hwsim - [phy1]


[Background]

My goal is to follow the airmon-ng tutorial on the kali website. I beleive the first step here would be to enable usb support on my virtual box. Can someone help this user successfully find the chipset?

[Things I have tried]

Using the terminal to add a vitualbox usergroup

[Where I am stuck]

I'd like an official step by step process to successfully locate this wireless adapter and user it via 'airmon-ng'

Offline Coto

  • Serf
  • *
  • Posts: 21
  • Cookies: -37
    • View Profile
Re: Enable wireless adapter using kali linux
« Reply #1 on: January 06, 2016, 10:27:11 am »
1) In terminal, have your Adapter connected and type "ifconfig" or "iwconfig". Either should work.

It should list "wlan[0-9]"

2) Unplug Wireless Adapter and type (in terminal) "ifconfig" or "iwconfig" (same command as above).

If something changes (wlan[0-9] not showing) that means your Adapter is working and Kali has recognized it. I never installed any driver on Kali for the Adapter to work, and I also used a Virtual Machine (Parallels Desktop) and it worked just fine.

If the above works, proceed:
3) In terminal, plug it back in and type "airmon-ng check kill".

4) Follow this tutorial: http://www.wirelesshack.org/step-by-step-kali-linux-and-wireless-hacking-basics-wep-hacking-part-3.html

^ This tutorial is for WEP Cracking. Getting to successfully crack a WEP protected Wi-Fi Passcode will give you a good knowledge of how to use your adapter in general, and also cracking WPA/WPA2 and other protected Wi-Fi's.

P.S.: I have the exact same adapter, so I'm confirming that this SHOULD work on WEP. At least on WEP, unless you've destroyed your Adapter, which I doubt as you said you just bought it, so good luck!
« Last Edit: January 06, 2016, 10:31:54 am by Coto »

Offline 0E 800

  • Not a VIP
  • VIP
  • Baron
  • *
  • Posts: 895
  • Cookies: 131
  • • тнε ιηтεяηεт ιs мү яεcүcℓε-вιη •
    • View Profile
Re: Enable wireless adapter using kali linux
« Reply #2 on: January 06, 2016, 04:12:20 pm »
Not gonna like it but try booting Kali from liveusb and see if you get same results.

WiFi auditing from virtual machine can cause issues.

This should help:
Quote
The TPLink device is connected to your host machine, not your guest. The guest VMs see a virtual Ethernet device, which explains what you can see in the output of ip link etc.

To allow the guest access to the physical USB device you need to set up USB Passthrough.

If the VM is off, open the VM's settings and select USB. On the right hand side of the window you should see an icon of a USB connector overlaid with a plus sign. Click on this and choose the TPLink device from the list. It should now be available in the guest VM when you power up.

Alternatively, if the VM is already running, you can attach it from the VirtualBox VM's menu: Device -> USB Device -> TPLink...

Either way, lsusb should show the device.
Source:http://unix.stackexchange.com/questions/193047/how-can-i-get-my-wifi-card-tp-link-tl-wn722n-to-work-in-kali-linux-oracle-vm-vir
« Last Edit: January 06, 2016, 04:15:29 pm by 0E 800 »
The invariable mark of wisdom is to see the miraculous in the common.

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Enable wireless adapter using kali linux
« Reply #3 on: January 06, 2016, 05:25:00 pm »
Why do people pentest WiFi in a VM... Liveusb and no problems. VMs mess with teh WiFi cards
« Last Edit: January 06, 2016, 05:25:17 pm by iTpHo3NiX »
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline evolut1o

  • Serf
  • *
  • Posts: 43
  • Cookies: -20
  • the gif guy
    • View Profile
Re: Enable wireless adapter using kali linux
« Reply #4 on: January 06, 2016, 06:42:48 pm »
Why do people pentest WiFi in a VM... Liveusb and no problems. VMs mess with teh WiFi cards

airmon-ng check kill
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

Good wireless cards like the AWUS036NH already come pre-configured, only update the kali and plug into the the PC, then turn on in the VM, no problems at all. If you mean problems in the pentesting, never had any, talking from my own experience, if you know what you are doing, a problem is not something to worry about
« Last Edit: January 06, 2016, 06:48:32 pm by evolut1o »

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Enable wireless adapter using kali linux
« Reply #5 on: January 07, 2016, 01:42:32 am »
airmon-ng check kill
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

Good wireless cards like the AWUS036NH already come pre-configured, only update the kali and plug into the the PC, then turn on in the VM, no problems at all. If you mean problems in the pentesting, never had any, talking from my own experience, if you know what you are doing, a problem is not something to worry about

I sure hope you did not just tell me the AWUS036NH is a good card. That thing, along with all Alfa's are pieces of shit with a decent card capable of injection. If you want stability, performance, and injection support you best bet you're going to own an Atheros chipset card.

Wireless pentesting via VM is just about as stupid as running the VM in the first place. Secondary access to Hardware is never a good solution. Now if you're doing malware analysis and what not, VMs come in handy. But this is about wireless auditing, not malware analysis so back to the discussion. I specifically stated "pentest WiFi in a VM" so if you're going to quote me, quote me correctly and not nitpick pieces of what I said because you are incapable of comprehending what I said. Dunno why you're throwing random if commands my way when it's as simple as ensuring you card is plugged in and running airmon-ng <interface>

If you want to set up a VM, load Kali on it, ensure your settings are correct in passing through the host to the guest machine instead of popping in a USB go ahead. I've been wireless auditing since WEP was the leading wireless encryption standard. And from my experiance Atheros is the best chipset when it comes to wireless auditing. I have owned various rtl, broadcom, Atheros, etc cards from various manufacturers and my years of experience land on Atheros all the time. But hey if inconsistent connections and dropped packets are your thing, go ahead and enjoy your shitty Alfa card.

Let me know when you want to play with the big boys
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline hashMANmerky

  • /dev/null
  • *
  • Posts: 5
  • Cookies: -7
  • Got my Own Cookies
    • View Profile
Re: Enable wireless adapter using kali linux
« Reply #6 on: February 26, 2016, 11:39:26 am »
I agree with the above comment Atheros AR9271 chipset would be my first recommendation, then  Ralink RT3070 is a good supported chipset and you can pick them up for probably the same price as the Alfa schniders if not cheaper due to popularity among various different manufacturers, hell I even got a free wifi stick with a broadband package once and that was rt3070 I pretty much got a stiffy when I realised what chipset it had! Signal King do a 48dbi RT3070 for next to nothing and they kick assss  ;)
If everything happens for a reason that means you made the right choice even when it’s the wrong choice..