Results 1 to 48 of 48

Thread: New Alfa awus036ach help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I tried installing the drivers for the awus036ach as well and am having issues, it works great on my windows10 though. My problem seems basic but I can not get it to install drivers properly. The system can see it as Bus 001 Device 004: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter. This is usb kali with persistence.
    I get the following errors I have tried the instruction to install drivers for this on the kali website blog page talking about this adaptor. (apt-get update and then apt install realtek-rtl88xxau-dkms)
    Just wondering if someone can point me in the right direction!

    0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
    Need to get 10.6 MB of archives.
    After this operation, 66.5 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://kali.mirror.globo.tech/kali kali-rolling/main amd64 dkms all 2.3-2 [74.8 kB]
    Get:2 http://kali.mirror.globo.tech/kali kali-rolling/main amd64 linux-compiler-gcc-6-x86 amd64 4.9.25-1kali1 [456 kB]
    Get:3 http://kali.mirror.globo.tech/kali kali-rolling/main amd64 linux-headers-4.9.0-kali4-common all 4.9.25-1kali1 [7,464 kB]
    Get:4 http://kali.mirror.globo.tech/kali kali-rolling/main amd64 linux-kbuild-4.9 amd64 4.9.25-1kali1 [662 kB]
    Get:5 http://kali.mirror.globo.tech/kali kali-rolling/main amd64 linux-headers-4.9.0-kali4-amd64 amd64 4.9.25-1kali1 [448 kB]
    Get:6 http://kali.mirror.globo.tech/kali kali-rolling/main amd64 linux-headers-amd64 amd64 4.9+80+kali1 [6,352 B]
    Get:7 http://kali.mirror.globo.tech/kali kali-rolling/contrib amd64 realtek-rtl88xxau-dkms all 4.3.21~20170330-0kali1 [1,522 kB]
    Fetched 10.6 MB in 3s (3,240 kB/s)
    Selecting previously unselected package dkms.
    (Reading database ... 321931 files and directories currently installed.)
    Preparing to unpack .../0-dkms_2.3-2_all.deb ...
    Unpacking dkms (2.3-2) ...
    Selecting previously unselected package linux-compiler-gcc-6-x86.
    Preparing to unpack .../1-linux-compiler-gcc-6-x86_4.9.25-1kali1_amd64.deb ...
    Unpacking linux-compiler-gcc-6-x86 (4.9.25-1kali1) ...
    Selecting previously unselected package linux-headers-4.9.0-kali4-common.
    Preparing to unpack .../2-linux-headers-4.9.0-kali4-common_4.9.25-1kali1_all.deb ...
    Unpacking linux-headers-4.9.0-kali4-common (4.9.25-1kali1) ...
    Selecting previously unselected package linux-kbuild-4.9.
    Preparing to unpack .../3-linux-kbuild-4.9_4.9.25-1kali1_amd64.deb ...
    Unpacking linux-kbuild-4.9 (4.9.25-1kali1) ...
    Selecting previously unselected package linux-headers-4.9.0-kali4-amd64.
    Preparing to unpack .../4-linux-headers-4.9.0-kali4-amd64_4.9.25-1kali1_amd64.deb ...
    Unpacking linux-headers-4.9.0-kali4-amd64 (4.9.25-1kali1) ...
    Selecting previously unselected package linux-headers-amd64.
    Preparing to unpack .../5-linux-headers-amd64_4.9+80+kali1_amd64.deb ...
    Unpacking linux-headers-amd64 (4.9+80+kali1) ...
    Selecting previously unselected package realtek-rtl88xxau-dkms.
    Preparing to unpack .../6-realtek-rtl88xxau-dkms_4.3.21~20170330-0kali1_all.deb ...
    Unpacking realtek-rtl88xxau-dkms (4.3.21~20170330-0kali1) ...
    Setting up linux-compiler-gcc-6-x86 (4.9.25-1kali1) ...
    Setting up dkms (2.3-2) ...
    Setting up linux-kbuild-4.9 (4.9.25-1kali1) ...
    Setting up linux-headers-4.9.0-kali4-common (4.9.25-1kali1) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Setting up realtek-rtl88xxau-dkms (4.3.21~20170330-0kali1) ...
    Loading new realtek-rtl88xxau-4.3.21~20170330 DKMS files...
    Building for 4.6.0-kali1-amd64 4.9.0-kali4-amd64
    Module build for kernel 4.6.0-kali1-amd64 was skipped since the
    kernel headers for this kernel does not seem to be installed.
    Building initial module for 4.9.0-kali4-amd64
    Error! Bad return status for module build on kernel: 4.9.0-kali4-amd64 (x86_64)
    Consult /var/lib/dkms/realtek-rtl88xxau/4.3.21~20170330/build/make.log for more information.
    Setting up linux-headers-4.9.0-kali4-amd64 (4.9.25-1kali1) ...
    /etc/kernel/header_postinst.d/dkms:
    Error! Bad return status for module build on kernel: 4.9.0-kali4-amd64 (x86_64)
    Consult /var/lib/dkms/realtek-rtl88xxau/4.3.21~20170330/build/make.log for more information.
    Setting up linux-headers-amd64 (4.9+80+kali1) ...

  2. #2
    Join Date
    2017-Apr
    Posts
    3
    Hey undersc0re

    It looks like "kernel headers for this kernel does not seem to be installed." You should install kernel headers.

    apt-get install -y linux-headers-$(uname -r)

  3. #3
    Quote Originally Posted by airhogger View Post
    Hey undersc0re

    It looks like "kernel headers for this kernel does not seem to be installed." You should install kernel headers.

    apt-get install -y linux-headers-$(uname -r)
    Yes I tried that with this result. I might have messed up something along the way in my desperation to get something to work lol. I am not sure why it looks for those old packages, does not seem right to me. Why it trys the 4.6 I have NO idea heh, i fully updated and sources list is good....I hate to have to redo my persistence stick all over again with a new weekly image or at least the latest image because of something that seems simple...I can not tell where it tells it to look for 4.6 when it should be 4.9 I assume. Even manually installed latest linux-header and linux-image...just trys looking for 4.6 and uname shows 4.6 heh, my persistence stick must be the issue, I think its time forma redo

    apt-get install -y linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.6.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.6.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.6.0-kali1-amd64'

    Edit=
    Grabbed the latest weekly image and did up a new persistence stick and it works great now!
    Last edited by undersc0re; 2017-05-09 at 03:35.

  4. #4
    Guys!
    I have been trying with the drivers from the new branch from astsam .
    And everything is going more smoothly both in managed and monitor mode.
    The drivers are not the one in the dkms package, you have to install them from Git Hub repository.

    If you don't know how to use git hub, steps would be:
    1) install git
    Code:
    sudo apt install git
    2) download branch 5.1.5 from astsam repository
    Code:
    git clone -b v5.1.5 https://github.com/astsam/rtl8812au.git
    3) locate your shell in the branch
    Code:
    cd rtl8812au
    4) Complie
    Code:
    make
    5) install
    Code:
    sudo make install
    Before doing that make sure:
    1) if you installed previously a driver from git hub, you have to erase any previous module 8112au.ko
    It is located in an actualized system in
    Code:
    /lib/modules/4.9.0-kali4-amd64/kernel/drivers/net/wireless/
    If you have a module for rtl812au there, erase it
    Code:
    sudo rm -r /lib/modules/4.9.0-kali4-amd64/kernel/drivers/net/wireless/8812au.ko
    and unload the module in case it is active
    Code:
    sudo modprobe -r 8812au.ko
    .
    2) If you installed the driver with the dkms package provided by Offensive security simply use aptitude to remove it and maybe restart your computer to avoid any troubles installing version 5.1.5
    Code:
    sudo apt autoremove  realtek-rtl88xxau-dkms && sudo systemctl reboot
    You will see that with this new drivers airdoump-ng windows populate much more quickly; really at full speed.
    Try them, They really worth it!
    Do feedback: if they work better for you too i will reopen the bugtrack ticket to ask for upgrading the dkms package from 4.3.21 to 5.1.5
    Last edited by kcdtv; 2017-05-19 at 14:15.

  5. #5
    [QUOTE=kcdtv;

    method worked for me i am using the netgear a6100 but of course they possess the 8812au chipset, i cant set monitor mode with airmon-ng i have to set it manually in terminal, but it is working again tx mode is only 12 setting freq to 5G works as well. injection doesnt seem too good and kind of takes longer to connect back to wifi than 4.3.21 after setting mode back to managed and service network-manager start but overall it does work.

Similar Threads

  1. Alfa AWUS1900 vs Alfa AWUS036ACH in 2021 ?
    By Wileyfox500 in forum General Archive
    Replies: 0
    Last Post: 2021-01-09, 10:10
  2. Alfa AWUS1900 or Alfa AWUS036ACH
    By phat_cow in forum General Archive
    Replies: 0
    Last Post: 2019-12-13, 21:55

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
  •