Results 1 to 2 of 2

Thread: TP-WN722N_V1 works for WIFI but not monitor mode

  1. #1

    TP-WN722N_V1 works for WIFI but not monitor mode

    Hi,


    Ihave been reading through a lot of posts on this topic to try andfind a solution to my problem but I can't seem to find a matching setof circumstances to mine so I thought I would ask. I am running Kali2018.3 on Virtual Box and I have a TP-Link WN722N_V1 wireless networkadapter. I previously had the TP-Link WN722N_V2 but after furtherinvestigation, it seemed like the consensus was that V1 was theoption that would work because it supports packet injection.


    Thefollowing are my system specs:


    uname-a:
    Code:
    Linuxkali 4.18.0-kali1-amd64 #1 SMP Debian 4.18.6-1kali1 (2018-09-10)x86_64 GNU/Linux

    Ihave installed the recommended drivers with the followingcommands:


    Code:
    
    apt-getupgrade
    apt-getdist-upgrade
    
    aptgetinstall linux-headers-`uname-r`
    
    gitclone https://github.com/lwfinger/rtl8188eu.git
    cdrtl8188eu
    make
    makeinstall
    modprobe8188eu

    WhenI boot up my Kali VM with the TP-WN722N_V1 wirelessadapter plugged in, the green activity LED flashes in a randomfashion as opposed to when it was not working and it flashed at afixed interval. So the drivers seem to have installed successfully.This is an improvement on the situation previously usingthe TP-WN722N_V2 asit was not possible to connect to the internet.

    Thenchecking my interfaces:


    ifconfig (loentry omitted):
    Code:
    eth0:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           inet10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
           inet6fe80::a00:27ff:fef0:7c21  prefixlen 64  scopeid0x20<link>
           ether08:00:27:f0:7c:21  txqueuelen 1000  (Ethernet)
           RXpackets 23  bytes 2658 (2.5 KiB)
           RXerrors 0  dropped 0  overruns 0  frame 0
           TXpackets 43  bytes 3437 (3.3 KiB)
           TXerrors 0  dropped 0 overruns 0  carrier 0  collisions0
    
    
    wlan0:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           inet192.168.5.127  netmask 255.255.255.0  broadcast192.168.5.255
           inet6fe80::3df8:c894:f2d6:8281  prefixlen 64  scopeid0x20<link>
           ether50:3e:aa:48:14:ef  txqueuelen 1000  (Ethernet)
           RXpackets 1895  bytes 575090 (561.6 KiB)
           RXerrors 0  dropped 3  overruns 0  frame 0
           TXpackets 17  bytes 2110 (2.0 KiB)
           TXerrors 0  dropped 0 overruns 0  carrier 0  collisions0

    Thenafter entering ifconfigeth0 down (loentry omitted):
    Code:
    wlan0:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
           inet192.168.5.127  netmask 255.255.255.0  broadcast192.168.5.255
           inet6fe80::3df8:c894:f2d6:8281  prefixlen 64  scopeid0x20<link>
           ether50:3e:aa:48:14:ef  txqueuelen 1000  (Ethernet)
           RXpackets 2166  bytes 641731 (626.6 KiB)
           RXerrors 0  dropped 4  overruns 0  frame 0
           TXpackets 17  bytes 2110 (2.0 KiB)
           TXerrors 0  dropped 0 overruns 0  carrier 0  collisions0
    Itis receiving and transmitting packets and loading web pages issuccessful. So when I enter the followingcommands:

    Code:
    ifconfigwlan0down
    iwconfigwlan0mode monitor
    Iget the following error:
    Code:
    Errorfor wireless request "Set Mode" (8B06) :
       SETfailed on device wlan0 ; Operation not permitted.

    Itseems like I either get the above error or the following when I tryto reset with servicenetwork-manager restart.
    Code:
    Errorfor wireless request "Set Mode" (8B06) :
       SETfailed on device wlan0 ; Invalid argument.
    Ifanyone has any advice on how to proceed I would be very appreciative.

  2. #2
    Join Date
    2016-Dec
    Posts
    307
    V1 works out of the box and there are no driver to install.
    V2 is another story and I would recommend returning it and buying something else.

    About monitor mode, the iwconfig command is deprecated, you have to use iw instead. You can always use airmon-ng to handle it instead. Make sure to kill any network manager prior to putting the card in monitor mode or you'll end up with tons of issues.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •