Hi to all! As the title says, I'm looking for an USB wireless adapter which supports promiscuous mode to work with Wireshark in BackTrack. I have an ALFA AWUS036H, but it (seems it) can be put only in monitor mode. I'm looking for an USB adapter, since I'm running BackTrack in a Virtual machine. Thanks in advance for your help! asked 04 Dec '12, 12:55 Mr Wolf edited 04 Dec '12, 13:26 Guy Harris ♦♦ |
2 Answers:
The TP-Link TL-WN822N works well for me. BackTrack 5R3 in Vmware. USB device mapped to the virtual machine. Regards answered 04 Dec '12, 16:30 Kurt Knochner ♦ showing 5 of 8 show 3 more comments |
Mmmm... I think what the problem can be: link text I think it has to do with speed rate. In my case, my router can work at 108Mbps, but it can be put it at 54Mbps, but also the network adapter must work at the same speed. I tried to set it with: iwconfig wlan1 rate 54G but, for now, no success, I can't decrypt my network traffic. :( I'll have to make other attempts. answered 03 Jan '13, 06:58 Mr Wolf |
Thanks a lot for your answer! I discovered there are two versions of this adapter: link text
and
link text
Can you tell me which chip is in yours? Thanks in advance!
V2. AR7010 + AR9287. Driver: ath9k_htc
Strange: lsusb reports a TL-WN821N V3, although at the back of the device it's clearly written: TL-WN822N V2.
Hi! Thanks again! I've just bought this adapter. It's version 2. I'm trying to make it work on BackTrack 5 under VirtualBox, but it can't be recognized :/ Following some guide, I tried to install compat-wireless: http://linuxwireless.org/en/users/Download/stable/ but it doesn't work either. Did you install drivers of any kind or it was automatically recognized?
No. Out-of-the box BackTrack 5R3. However, I'm using VMware Workstation 9 instead of Virtualbox. Maybe the USB mapping to your virtual machine does not work properly with Virtualbox.
What do you see with
dmesg
andlsusb
after you mapped the USB port to your virtual machine?Ok... Here's a screenshot: http://i1209.photobucket.com/albums/cc399/MrWolf80/Error_zps2821af63.jpg after giving the commands dmesg and lsusb. I think you're just right: it's a VirtualBox USB problem, I tried with a BackTrack live cd and the wireless adapter works (I haven't tried it in promiscuous mode, yet). Now, I also remember I've already found a topic somewhere about wireless USB adapter (maybe just this one) not working with VirtualBox. I'll try to find it and see if the problem was solved. I think the "faster" solution is to migrate to VMWare. Many thanks for your help for now! :)
well, then is really sounds like a problem with Virtualbox and USB. I have no problem at all with VMware. The adapter works just fine.
Maybe. You can use VMware Player for free (personal use only!)
You're welcome!
HINT: If a supplied answer resolves your question can you please "accept" it by clicking the checkmark icon next to it. This highlights good answers for the benefit of subsequent users with the same or similar questions.
Ok, just to let you know :) I installed VMware and then installed BackTrack 5 R3 and it works much faster than on VirtualBox! TL-WN821N was immediately recognized and worked, except for the fact VMware claims it supports USB 3.0, but it doesn't! :( tsk Then, I tried promiscuous mode: first of all, with my network without password, and I verified the adapter actually works in promiscuous mode; then, I tried with password set on: be aware the version of Wireshark installed in BackTrack 5 R3, 1.8.2, has a bug which gives you error when you enter wpa-psk, so I installed 1.8.4 from Ubuntu repositories, which solved the bug. At this point, I wasn't able to decrypt traffic through my network, since I couldn't get the 4 handshake packets, but only packets 1 and 3. I don't know what's the problem now, if another bug, or just my problem. :(
I have no idea why you cannot see the last packet. I will try myself with Wireshark 1.8.4 from the Ubuntu repositories and report my findings.
BTW: Did you try to capture with tcpdump? If no: please do so.