Results 1 to 4 of 4

Thread: RPI 3b - TP-Link T4U (Realtek RTL8812AU) - Kali 2017.1

  1. #1
    Join Date
    2017-Aug
    Posts
    2

    RPI 3b - TP-Link T4U (Realtek RTL8812AU) - Kali 2017.1

    Dear Community,

    Since Kali 2017.1 there is Support for RTL8812AU Wireless Card Injection.
    I am the lucky owner of a TP-Link T4u (v1.0) with this chipset.

    The installation directions where quite easy:
    Code:
    apt-get update
    apt install realtek-rtl88xxau-dkms
    However this didnt work out as expected:
    Code:
    ...
    Building for 4.4.50-v7
    Building initial module for 4.4.50-v7
    Error! Bad return status for module build on kernel: 4.4.50-v7 (armv7l)
    Consult /var/lib/dkms/realtek-rtl88xxau/4.3.21~20170330/build/make.log for more information.
    When consulting the make.log i see the following:

    Code:
    DKMS make.log for realtek-rtl88xxau-4.3.21~20170330 for kernel 4.4.50-v7 (armv7l) 
    arb leq 9 9:54:41 saaku UTC 2017
    make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.4.50-v7/build M=/var/lib/dkms/realtek-rtl88xxau/4.3.21~20170330/build modules
    make[1]: Entering directory 'usr/src/kernel'
    Makefile:617: arch/armv7l/Makefile: No such file or directory
    make[1]: *** No rule to make target 'arch/armv7l/Makefile' .  Stop.
    make[1]: Leaving directory '/usr/src/kernel'
    Makefile:1717: recipe for target 'modules' failed
    make: *** [modules] Error 2
    Hope someone can help me out,

  2. #2
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Hi cobrawnl,

    You can try this workaround:

    Code:
    cd /var/lib/dkms/realtek-rtl88xxau/4.3.21~20170330/build
    make ARCH=arm && make install
    That should do the trick.
    You'll need the kernel headers for that to work though. You probably want to install the re4son-kernel to get those:
    https://whitedome.com.au/re4son/re4son-kernel/

    Please let us know if that works,
    Re4son

  3. #3
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Easier way:

    - Install re4son-kernel
    - Install re4son-kernel headers
    - run:
    Code:
    ln -s /lib/modules/`uname -r`/build/arch/arm /lib/modules/`uname -r`/build/arch/`uname -m`
    And dkms will hopefully live happily ever after.
    Last edited by re4son; 2017-11-25 at 22:24. Reason: Extending shelf life of advice

  4. #4
    Join Date
    2017-Aug
    Posts
    2
    Cool thanks! That worked and installed the driver succesfully.

    However i'm not able to get the device in monitor mode:

    Code:
    root@kali:~$ lsmod 
    Module                  Size  Used by
    ...
    brcmfmac             223198  0
    8812au                1382090  0
    ...
    
    root@kali:~# airmon-ng check kill
    root@kali:~# airmon-ng start wlan1
    PHY     Interface       Driver          Chipset
    phy0    wlan0           brcmfmac     Broadcom 43430
    phy1    wlan1           8812au
    cat: /sys/class/ieee80211/phy1/device/net/wlan1mon/type: No such file or directory
    
    Newly created monitor mode interface wlan1mon is *NOT* in monitor mode.
    Removing non-monitor wlan0mon interface...
    
    WARNING: unable to start monitor mode, please run "airmon-ng check kill"
    I Also tried to start monitor mode on the internal chip, but that gave me another error:
    Code:
    root@kali:~# airmon-ng start wlan0
    
    PHY     Interface       Driver          Chipset
    phy0    wlan0           brcmfmac     Broadcom 43430
    
    ERROR adding monitor mode interface: command failed: Operation not supported ( -95)
    Any ideas?

Similar Threads

  1. Issue installing Realtek RTL8812AU
    By zanetampa911 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-10-20, 05:04
  2. Replies: 3
    Last Post: 2021-04-08, 22:25
  3. Replies: 2
    Last Post: 2021-01-02, 19:06
  4. Realtek RTL8812AU USB WiFi Issues
    By Kinsman in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2019-11-16, 19:54
  5. Replies: 0
    Last Post: 2017-08-23, 14:39

Posting Permissions

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