Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54

Thread: How to install AWUS036ACH Drivers and getting it running?

  1. #1
    Junior Member
    Join Date
    Jun 2017
    Posts
    2

    How to install AWUS036ACH Drivers and getting it running?

    Hi everyone,

    I have the ALFA AWUS036ACH wireless USB adapter and the latest version of Kali (2017.1 + updates), I did "apt install realtek-rtl88xxau-dkms" as pointed here but the system still doesn't seem to be able to detect the device at all.

    I've tried on Windows and it's detected just fine, but when I try on a Linux system Kali or otherwise I'm unable to get it running.

    any advice from someone who has the same device?


    Thank you so much

  2. #2
    Yeah, I just installed the kernel drivers (kali is completely updated) and I am having the same issue. Dmesg sees it, but I can't modify it with ifconfig, nor does the wireless menu list any other devices to use.

    usb 1-2: new high-speed USB device number 5 using xhci_hcd
    usb 1-2: New USB device found, idVendor=0bda, idProduct=8812
    usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-2: Product: 802.11n NIC
    usb 1-2: Manufacturer: Realtek
    usb 1-2: SerialNumber: 123456
    usb 1-2: USB disconnect, device number 5
    Last edited by maiki; 2017-06-27 at 08:34 AM. Reason: Merge posts

  3. #3
    Senior Member
    Join Date
    Sep 2013
    Posts
    262
    If the drivers isn't launched automatically do
    Code:
    (sudo) modprobe 8812au
    if network-manager does not see it afterward do
    Code:
    (sudo) systemctl restart network-manager

  4. #4
    Junior Member
    Join Date
    Jul 2017
    Posts
    3
    Quote Originally Posted by kcdtv View Post
    If the drivers isn't launched automatically do
    Code:
    (sudo) modprobe 8812au
    if network-manager does not see it afterward do
    Code:
    (sudo) systemctl restart network-manager

    mine is also doing the same thing as everyone else's here (ie shows up in dmesg but not iwconfig). This didn't fix it :/

    I got a

    modprobe: ERROR: could not insert '8812au': Exec format error
    root@kali:~# sudo modprobe 8812au


    I tried --force but that still didn't work. Oh well that's why I'm using a VM.

  5. #5
    Senior Member
    Join Date
    Sep 2013
    Posts
    262
    I don't understand what you mean by " Oh well that's why I'm using a VM. ". If you use a VM you need to enable USB 3.0 support otherwise the device won't work.
    Install the source code from the drivers instead of the dkms package if that doesn't work for you: astsam/rtl8812au
    Don't forget to remove the dkms package first (with apttitude itself) to avoid conflicts

  6. #6
    Junior Member
    Join Date
    Jul 2017
    Posts
    3
    It also does the exact same thing on a regular Kali system

  7. #7
    Junior Member
    Join Date
    Jul 2017
    Posts
    1
    I also followed the hint in the blogpost on kali.org https://www.kali.org/news/kali-linux-20171-release/

    For me it also fails unfortunately:
    root@kali:~# apt-get update
    Hit:1 http://archive-3.kali.org/kali kali-rolling InRelease
    Reading package lists... Done
    root@kali:~# apt install realtek-rtl88xxau-dkms
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    gdebi-core gnome-mime-data gnome-shell-extension-refreshwifi iproute libbonobo2-0 libbonobo2-common libcrypto++6 libgles1-mesa libgnome-2-0 libgnome2-common libgnomevfs2-0 libgnomevfs2-common
    libgnomevfs2-extra libjavascriptcoregtk-1.0-0 libladr4 liblircclient0 libminizip1 libnm-gtk-common liborbit-2-0 libqt4-opengl libqtwebkit4 libre2-3 libvpx3 libwebkitgtk-1.0-0 prover9 python-clamd
    python-cluster python-d2to1 python-darts-lib-utils-lru python-defusedxml python-esmre python-git python-gitdb python-guess-language python-halberd python-ipaddr python-ndg-httpsclient python-nltk
    python-pdfminer python-phply python-ply python-psutil python-pybloomfiltermmap python-pycryptopp python-pygithub python-pypdf python-ruamel.ordereddict python-smmap python-soappy python-stopit python-svn
    python-tblib python-vulndb python-webkit python-wstools python-xdot rsync w3af w3af-console
    Use 'apt autoremove' to remove them.
    The following NEW packages will be installed:
    realtek-rtl88xxau-dkms
    0 upgraded, 1 newly installed, 0 to remove and 375 not upgraded.
    Need to get 1,522 kB of archives.
    After this operation, 14.8 MB of additional disk space will be used.
    Get:1 http://archive-3.kali.org/kali kali-rolling/contrib amd64 realtek-rtl88xxau-dkms all 4.3.21~20170330-0kali1 [1,522 kB]
    Fetched 1,522 kB in 4s (341 kB/s)
    Selecting previously unselected package realtek-rtl88xxau-dkms.
    (Reading database ... 342049 files and directories currently installed.)
    Preparing to unpack .../realtek-rtl88xxau-dkms_4.3.21~20170330-0kali1_all.deb ...
    Unpacking realtek-rtl88xxau-dkms (4.3.21~20170330-0kali1) ...
    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
    Module build for kernel 4.6.0-kali1-amd64 was skipped since the
    kernel headers for this kernel does not seem to be installed.
    root@kali:~# uname -a
    Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
    root@kali:~# cat /etc/issue
    Kali GNU/Linux Rolling \n \l
    root@kali:~# lsusb
    Bus 001 Device 004: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
    Bus 001 Device 003: ID 8087:07dc Intel Corp.
    Bus 001 Device 002: ID 8087:8000 Intel Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 005: ID 413c:81a3 Dell Computer Corp.
    Bus 002 Device 004: ID 0c45:64d2 Microdia
    Bus 002 Device 003: ID 1532:0001 Razer USA, Ltd RZ01-020300 Optical Mouse [Diamondback]
    Bus 002 Device 006: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    I tried to manualla load the driver as well.
    root@kali:~# modprobe 8812au
    modprobe: FATAL: Module 8812au not found in directory /lib/modules/4.6.0-kali1-amd64
    But it is not there since it failed to built as you can see in the install-log.
    So I am confused do I have to built the drivers myself despite the blogpost states it should work out of the box?

  8. #8
    Senior Member
    Join Date
    Sep 2013
    Posts
    262
    Module build for kernel 4.6.0-kali1-amd64 was skipped since the
    kernel headers for this kernel does not seem to be installed.
    Install the headers
    Code:
    sudo apt install linux-headers-amd64

  9. #9
    Junior Member
    Join Date
    Jun 2017
    Posts
    2
    Quote Originally Posted by kcdtv View Post
    If the drivers isn't launched automatically do
    Code:
    (sudo) modprobe 8812au
    if network-manager does not see it afterward do
    Code:
    (sudo) systemctl restart network-manager
    Thank you so much! modprobe worked!
    device now working as it should.

    Quote Originally Posted by user55661 View Post
    mine is also doing the same thing as everyone else's here (ie shows up in dmesg but not iwconfig). This didn't fix it :/

    I got a

    modprobe: ERROR: could not insert '8812au': Exec format error
    root@kali:~# sudo modprobe 8812au


    I tried --force but that still didn't work. Oh well that's why I'm using a VM.
    As for this issue, I've had the same thing happen to me on another VM, what I did to fix it was uninstall the drivers then reinstall them, don't know why but it worked.

    Code:
    apt-get remove realtek-rtl88xxau-dkms
    apt-get purge realtek-rtl88xxau-dkms
    then reinstall
    Code:
    apt-get install realtek-rtl88xxau-dkms
    Last edited by d8932; 2017-07-06 at 03:10 AM.

  10. #10
    Junior Member
    Join Date
    Nov 2015
    Posts
    18
    I'm using the version here 5.1.5:
    root@kali:~# uname -r
    4.9.0-kali4-amd64
    root@kali:~# modinfo 8812au
    filename: /lib/modules/4.9.0-kali4-amd64/kernel/drivers/net/wireless/8812au.ko
    version: v5.1.5_19247.20160830
    author: Realtek Semiconductor Corp.
    description: Realtek Wireless Lan Driver

    root@kali:~# iwconfig wlan2
    wlan2 IEEE 802.11 Mode:Monitor Frequency:2.467 GHz Tx-Power=12 dBm
    Retry short limit:7 RTS thrff Fragment thrff
    Power Managementff

    root@kali:~# airmon-ng

    PHY Interface Driver Chipset

    phy0 wlan0 ath9k Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
    phy1 wlan1 8812au Realtek Semiconductor Corp.
    phy2 wlan2 8812au Realtek Semiconductor Corp.


    root@kali:~# aireplay-ng -9 wlan2
    22:50:41 Trying broadcast probe requests...
    22:50:43 No Answer...
    22:50:43 Found 1 AP

    22:50:43 Trying directed probe requests...
    22:50:43 00:B0:C0:02:35:7E - channel: 6 - 'Wireless3G'
    22:50:43 Ping (min/avg/max): 2.305ms/3.134ms/5.721ms Power: -34.33
    22:50:43 30/30: 100%

    22:50:43 Injection is working!

    dmesg:
    [ 1671.481224] usb 1-5: new high-speed USB device number 3 using ehci-pci
    [ 1671.630277] usb 1-5: New USB device found, idVendor=0bda, idProduct=a811
    [ 1671.630281] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 1671.630284] usb 1-5: Product: 802.11ac WLAN Adapter
    [ 1671.630286] usb 1-5: Manufacturer: Realtek
    [ 1671.630288] usb 1-5: SerialNumber: 00e04c000001
    [ 1673.704810] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [ 1673.868128] usbcore: registered new interface driver 8812au
    [ 1673.880117] IPv6: ADDRCONF(NETDEV_UP): wlan2: link is not ready
    Last edited by dmatrix; 2017-07-08 at 12:15 PM.

Posting Permissions

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