Results 1 to 4 of 4

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

  1. #1
    Junior Member
    Join Date
    Aug 2017
    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
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    118
    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
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  3. #3
    Senior Member
    Join Date
    Nov 2015
    Location
    Australia
    Posts
    118
    Easier way:

    - Install re4son-kernel
    - Install re4son-kernel headers
    - run:
    Code:
    ln -s /lib/modules/4.4.50-Re4son-v7+/build/arch/arm /lib/modules/4.4.50-Re4son-v7+/build/arch/`uname -m`
    And dkms will hopefully live happily ever after.
    ----------------------------------------
    Check out "Sticky Fingers Kali-Pi":
    https://whitedome.com.au/kali-pi

    Now with mana-toolkit and more goodies!

  4. #4
    Junior Member
    Join Date
    Aug 2017
    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?

Posting Permissions

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