Linux AWUS036ACH [RTL8812AU] - Monitor Mode and Frame Injection

Discussion in 'Wireless Drivers & Utilities' started by ƓმოεØνεર, 16 Feb 2017.

  1. ƓმოεØνεર

    ƓმოεØνεર Active Member

    Joined:
    4 Oct 2012
    Messages:
    10
    Likes Received:
    2
    Quote from other sites (with Google Translate)

    Our Alfa AWUS036ACH is now able to inject thanks to the drivers developed by astsam
    You can download the drivers from the Git Hub branch of the project
    Code:
    Select All
    git clone https://github.com/astsam/rtl8812au.git
    For installation:
    Code:
    Select All
    cd rtl* make sudo make install
    Once it is done reboot your machine
    After the reboot it is time to try the monitor mode
    First a small
    Code:
    Select All
    sudo airmon-ng check kill
    To avoid conflict with network eating
    Then we lower our interface
    Code:
    Select All
    sudo ip link set wlan0 down
    Activate the monitor mode with iw (with airmon-ng you can not)
    Code:
    Select All
    sudo iwconfig wlan0 mode monitor
    It is
    Code:
    Select All
    sudo ip link set wlan0 down
    We swing the sauce
    Code:
    Select All
    sudo aireplay-ng -9 wlan0
    [​IMG]

    And here is the work ... 90-100% injection to the four winds ...
    Installation without worries in ubuntu and Kali linux ...
    We basically oriented towards something of the caliber of ASWUS036H for monitor mode and l 'injection.
    To the top on all the tables ...
    I would make a specific theme on these drivers and more tests
    for new adventures!
     
    • Like Like x 1
    • Wow Wow x 1
  2. Vincent Soon

    Vincent Soon Active Member

    Joined:
    5 Dec 2012
    Messages:
    24
    Likes Received:
    14
    HI,

    Just an update,

    There is a newer version : https://github.com/aircrack-ng/rtl8812au.git which seems to be updated more often.

    Unfortunately, I was unable to install the driver using the installation codes provided, I think those codes are for Linux and XiaoPan uses different codes.

    If you do know how to get it working on Xiaopan, do post an update.

    Thank you.
     
  3. Champ37

    Champ37 Member

    Joined:
    30 Oct 2018
    Messages:
    34
    Likes Received:
    3
    :eek: ima try it :)
     
  4. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    • Like Like x 1
  5. Champ37

    Champ37 Member

    Joined:
    30 Oct 2018
    Messages:
    34
    Likes Received:
    3
    i messed with it a lil last night. im doing summat wrong on tc. i think im using make instead of make all.
    --- Double Post Merged, 1 Nov 2018, Original Post Date: 1 Nov 2018 ---
    im still extremely noob, but its comming to me ;) give me a few and ill try again on the think pad.
     
  6. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    I already compiled it -
     
  7. Champ37

    Champ37 Member

    Joined:
    30 Oct 2018
    Messages:
    34
    Likes Received:
    3
    yeah i prbly just did something wrong 10 min :)
     
  8. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    @Champ37

    The rtl8812au.tcz is the compiled kernel driver under 4.14.10- and no - you need to change the compile paths in the makefile plus you need to install the tc-kernel-modules thingy, I would suggest trying the driver I compiled - and if interested go to the directory containing the rtl8812au.tcz and run the following from your terminal:

    unsquashfs rtl8812au.tcz

    then you will have a newly created "squashfs-root" directory, within this directory you will see the file system structure and install path that a compiled driver should roughly be set it.

    @sourceforge:

    https://sourceforge.net/projects/tinypaw-linux/files/Paw Packages/rtl8812au.tcz/download

    @bitbucket:

    https://bitbucket.org/TinyPaw/tinypaw-linux/downloads/rtl8812au.tcz
     
    • Friendly Friendly x 1
  9. Champ37

    Champ37 Member

    Joined:
    30 Oct 2018
    Messages:
    34
    Likes Received:
    3
    that sounds exactly like the solution, i didnt unsquash it last night :)
    thats the right kernel too :) i was messing with it on debian and they had to make changes to the driver on 4.15 kernel. im pretty sure it will work ill let you know shortly
     
  10. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    @Champ37

    No need to keep using the label "noob" I can tell you now, a "noob" would not be attempting to compile kernel drivers from source, nor would they try wrestling with modifying makefile's or seeking answers on how to do just that. Maybe you are still starting your journey into the madness of it all, but I assure you you are way ahead of that label already :)
     
    • Laugh My Ass Off Laugh My Ass Off x 1
  11. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    @Champ37

    This extension is the kernel driver for TinyPaw - I compiled it from the aircrack-ng github for the rtl8812au chipset - compiled in TinyPaw on the core 9.0 - 4.14.10 kernel

    This if it functions by all regards is the TP/TCL rtl8812au driver for the 4.14.10 kernel

    The *.tcz file I listed is the already compiled kernel driver for this chipset for the current TP kernel - no need to worry about compiling -

    Installation:

    1.) download and copy rtl8812au.tcz to your (*/tce/optional/) directory.

    2.) Find onboot.lst located in your (*/tce/) directory and make following change:

    -add line item: rtl8812au.tcz

    *include one extra empty line at the bottom of list*

    3.) Save changes by "file+save" or "cntl+s"

    4.) Reboot and kernel driver for rtl8812au should be applied
     
    #11 r1sen, 1 Nov 2018
    Last edited: 1 Nov 2018
  12. Champ37

    Champ37 Member

    Joined:
    30 Oct 2018
    Messages:
    34
    Likes Received:
    3
    after i unsquash it just reboot??
    --- Double Post Merged, 1 Nov 2018, Original Post Date: 1 Nov 2018 ---
    yes ive given myself many headaches :)
     
  13. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    @Champ37

    And if you would like to pull your hair out like I did getting this thing to compile lol - the original driver source code I was directed to was here:

    https://github.com/aircrack-ng/rtl8812au

    As far as detailed walk thru on compiling kernel drivers - especially this one it has been about 5 months since I did this kernel driver build so might be a little rusty on being able to give traditionally accurate instructions :p
     
  14. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    @Champ37

    No, don't unsquash!

    I only mentioned that so you can see how a kernel driver should be wrapped in an extension after it's compiled.

    Just follow the installation instructions^

    copy to your optional folder, make change to onboot, reboot
     
  15. Champ37

    Champ37 Member

    Joined:
    30 Oct 2018
    Messages:
    34
    Likes Received:
    3
    i found another source for the new kernal i was messing with it earlier :D
    --- Double Post Merged, 1 Nov 2018, Original Post Date: 1 Nov 2018 ---
    ah i got ya, i scrolled up after i replied, rebooting now
     
  16. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    Kernel driver that you compile ought to align with the kernel of your system - don't compile 4.15.x kernel wifi drivers and dump them into TP's 4.14.10 system - in theory they say you can compile it like that but I have read many mixed thoughts about that being a sure fire way to cause system instability.
     
  17. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    @Champ37

    Also, like I said - I don't have a wireless device with rtl8812au chipset so my ability to confirm this driver and what hardware options it supports is non-existent - so if you could give feedback that would be great. I have been sitting on this for 5 months and not posting it because I have no idea how good or bad or at all it works :p
     
  18. Champ37

    Champ37 Member

    Joined:
    30 Oct 2018
    Messages:
    34
    Likes Received:
    3
    ok im back, it isnt recognized, only the atheros is, could they be conflicting??
     
  19. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    hmm no - and you copied the extension to your optional folder? and added it to your onboot.lst?
     
  20. r1sen

    r1sen Mod
    Staff Member Moderator Dev Team VIP

    Joined:
    22 Nov 2017
    Messages:
    356
    Likes Received:
    63
    @Champ37

    I can attempt to compile one again - as I said I have no device with this chipset so I was never able to verify if it worked or not.
     
    • Like Like x 1

Share This Page

Loading...