Alfa AWUS036ACH not working on Kali-Raspberry Pi 3

Overview Forums Sticky Finger’s Kali-Pi Alfa AWUS036ACH not working on Kali-Raspberry Pi 3

Viewing 20 reply threads
  • Author
    Posts
    • #12257
      MacGyver
      Participant

      Hi Re4son,

      Really need your help please! I’ve been trying for weeks to get my Alfa AWUS036ACH working on a Kali-Raspberry Pi 3.

      I got the AWUS036ACH working perfectly on an old laptop running Kali, so I know the Alfa definitely works. I hoped to make it work on a Kali-Raspberry Pi 3.

      I’ve tried absolutely everything I could find online many many times (sometimes repeating the same thing) and nothing worked. I really wanted to solve this by myself instead of asking for help at the first sign of difficulty but I just can’t make it work so needed advice please.

      My Linux skills have definitely improved from spending so many late nights trying to get this wi-fi adapter to work, but I’m still a bit of a noob!

      What I can do is start with a completely fresh install of Kali-RPi3, follow your instructions and report back with the results (if that is ok?). I’m happy to start from the beginning again.

      I think this would be easier than listing every error message I’ve had so far because I must have re-flashed the SD card about 30 times trying every guide and set of drivers out there and I can’t remember every combination I’ve tried and what went wrong for each attempt.

      Really most grateful to everyone for their help.

    • #12260
      Re4son
      Keymaster

      Hi MacGyver,

      This procedure works for me:

      https://whitedome.com.au/re4son/topic/working-wifi-adapters/#post-12138

      Give this a shot and let me know how you go, please

      Many thanks,
      Re4son

    • #12262
      MacGyver
      Participant

      Hi Re4son,

      Many thanks for your assistance. I am convinced I must be doing something wrong as I have followed this guide before a few times. Here are my exact steps:

      a. Formatted 64gb MicroSD card
      b. Flashed kali-2017.3-rpi3-nexmon.img to MicroSD card
      c. Booted up. In terminal did:
      cd /etc/NetworkManager
      nano NetworkManager.conf
      I changed manage=false to manage=true
      d. Rebooted
      e. Ethernet network connection now working on RPi3
      f. apt-get update
      “got 70.3MB of archives, 200 kB of additional disk space used”
      g. apt-get upgrade
      at the “libc6:armhf console notification” I selected ‘yes’ at
      the “Restart Services During Package Upgrades Without Asking?”
      h. apt-get dist-upgrade
      83 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
      “Need to get 70.3 MB of archives. After this operation 200 kB of
      additional disk space will be used”

      Followed instructions from https://whitedome.com.au/re4son/topic/working-wifi-adapters/#post-12138 and copy/pasted into terminal:

      i. apt install dkms
      “fetched 74.9 kB. 289 kB additional disk space used”
      j. DRV_NAME=rtl8812AU
      k. DRV_VERSION=4.3.14
      l. mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
      (I double checked directory was created with ‘cd /usr/src/’ then did ‘ls’)
      m. git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}
      -${DRV_VERSION}

      “fatal: Not a git repository (or any of the parent directories): .git”
      “tar: This does not look like a tar archive”
      “tar: Exiting with failure status due to previous errors”

      This is the step where I get stuck with the error messages and can’t continue with the installation.

      Many thanks,
      MacGyver

    • #12263
      MacGyver
      Participant

      Hi Re4son,

      Many thanks for your assistance. I am convinced I must be doing something wrong as I have followed this guide before a few times. Here are my exact steps:

      a. Formatted 64gb MicroSD card
      b. Flashed kali-2017.3-rpi3-nexmon.img to MicroSD card
      c. Booted up. In terminal did:
      cd /etc/NetworkManager
      nano NetworkManager.conf
      I changed manage=false to manage=true
      d. Rebooted
      e. Ethernet network connection now working on RPi3
      f. apt-get update
      “got 70.3MB of archives, 200 kB of additional disk space used”
      g. apt-get upgrade
      at the “libc6:armhf console notification” I selected ‘yes’ at
      the “Restart Services During Package Upgrades Without Asking?”
      h. apt-get dist-upgrade
      83 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
      “Need to get 70.3 MB of archives. After this operation 200 kB of
      additional disk space will be used”

      Followed instructions from https://whitedome.com.au/re4son/topic/working-wifi-adapters/#post-12138 and copy/pasted into terminal:

      i. apt install dkms
      “fetched 74.9 kB. 289 kB additional disk space used”
      j. DRV_NAME=rtl8812AU
      k. DRV_VERSION=4.3.14
      l. mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
      (I double checked directory was created with ‘cd /usr/src/’ then did ‘ls’)
      m. git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}
      -${DRV_VERSION}

      “fatal: Not a git repository (or any of the parent directories): .git”
      “tar: This does not look like a tar archive”
      “tar: Exiting with failure status due to previous errors”

      This is the step where I get stuck with the error messages and can’t continue with the installation.

      Many thanks,
      MacGyver

    • #12264
      MacGyver
      Participant

      Hi Re4son,

      Many thanks for your assistance. I’m convinced I must be doing something wrong as I’ve followed this guide before a few times. Here are my exact steps:

      a. Formatted 64gb MicroSD card
      b. Flashed kali-2017.3-rpi3-nexmon.img to MicroSD card
      c. Booted up. In terminal did:
      cd /etc/NetworkManager
      nano NetworkManager.conf
      I changed manage=false to manage=true
      d. Rebooted
      e. Ethernet network connection now working on RPi3
      f. apt-get update
      “got 70.3MB of archives, 200 kB of additional disk space used”
      g. apt-get upgrade
      at the “libc6:armhf console notification” I selected ‘yes’ at
      the “Restart Services During Package Upgrades Without Asking?”
      h. apt-get dist-upgrade
      83 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
      “Need to get 70.3 MB of archives. After this operation 200 kB of
      additional disk space will be used”

      Followed instructions from https://whitedome.com.au/re4son/topic/working-wifi-adapters/#post-12138 and copy/pasted into terminal:

      i. apt install dkms
      “fetched 74.9 kB. 289 kB additional disk space used”
      j. DRV_NAME=rtl8812AU
      k. DRV_VERSION=4.3.14
      l. mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
      (I double checked directory was created with ‘cd /usr/src/’ then did ‘ls’)
      m. git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}
      -${DRV_VERSION}

      “fatal: Not a git repository (or any of the parent directories): .git”
      “tar: This does not look like a tar archive”
      “tar: Exiting with failure status due to previous errors”

      This is the step where I get stuck with the error messages and can’t continue with the installation.

      Many thanks,
      MacGyver

    • #12265
      Re4son
      Keymaster

      Interesting, let me retrace those steps tonight.

    • #12299
      MacGyver
      Participant

      Hi Re4son,

      Many thanks for looking into this.

      I just wanted to ask if there is anything else I can try out at my end in the meantime?

      I’d be really happy to follow any suggestions or instructions you have and get back to you with the results.

      Really keen to get the adapter up and running for some serious WiFi pen-testing!

      Regards,

      MacGyver.

    • #12302
      Re4son
      Keymaster

      Got it. Sorry for the long wait. This one just worked for me:

      git clone https://github.com/diederikdehaas/rtl8812AU
      cd rtl8812AU/
      ARCH=arm make
      make install
      apt install firmware-realtek

      To put it into monitor mode:

      ip link set wlan1 down
      iwconfig wlan1 mode monitor
      ip link set wlan1 up

      Please let me know how you go

    • #12322
      MacGyver
      Participant

      Hi Re4son,

      I am extremely grateful to you. I can not thank you enough. I had time over the weekend to test and it works.

      What I did was format the SD card, flashed kali-2017.3-rpi3-nexmon.img, update, upgrade and followed your instructions and it worked. So far I have tested monitor mode and injection mode and they both look like they are working fine.

      Now the adapter is working the same as when it was connected to the old Intel based laptop running Kali Linux AMD64 (due to your advice!).

      Once again I want to say a massive thank you for your help.

      Regards,

      MacGyver.

    • #12332
      Re4son
      Keymaster

      Glad to hear.
      Thanks a lot for letting me know.

      Happy hacking 🙂

    • #13476
      AlexKaos
      Participant

      Hi R4son, I was able to clone the repository, however, ARCH=arm make and installing the firmware produced some errors. I don’t have the terminal open anymore unfortunately, but I took some screenshots of the errors as well as the log for one of the errors if there’s any way I could have you look at them, that would be amazing. (If need be, I’ll type it out, I’m just trying to make it simple) I’m running the 2018.3 image for pi 3 on my 3 b+.

    • #13477
      Re4son
      Keymaster

      Hi AlexKaos,

      There shouldn’t be any need to compile the drivers, the latest kernel includes them already. Have you tried these steps?

      https://whitedome.com.au/re4son/topic/working-wifi-adapters/#post-12138

      Many thanks,
      Re4son

    • #13478
      AlexKaos
      Participant

      Ah I see, I apologize. I didn’t realize there was a different version when I was looking at this. (to be honest, just laziness on my part for not checking.) Is there a good way to load this image onto the sd card with win32 disk imager? After unzipping the .xz file, it’s not just one file like 2018.3

      And no, I had not tried those steps, as I was still working the piece with the drivers. I’m a bit new to the pi, so I apologize if any of this seems a bit elementary.

    • #13479
      Re4son
      Keymaster

      The image you are using should already include everything your need.
      All 2018.3 images on the kali website and the images on my download site:

      Re4son-Pi-Kernel

      contain the re4son-kernel with the latest drivers for the AWUS036ACH.

      Which archive did you unpack to find those files?

    • #13480
      AlexKaos
      Participant

      I downloaded the current stable version; 4.14.62

    • #13481
      Re4son
      Keymaster

      You can download it straight onto your pi and install it like this:

      cd /usr/local/src

      wget  -O re4son-kernel_current.tar.xz https://re4son-kernel.com/download/re4son-kernel-current/
      tar -xJf re4son-kernel_current.tar.xz
      cd re4son-kernel_4*
      ./install.sh

      That’ll set it up properly

    • #13482
      AlexKaos
      Participant

      Awesome!! No issues I’ve noticed so far. If I run into any, I’ll post in the appropriate forum/github and reference our conversation here. Thank you very much!!

    • #13491
      TechnoMasterDude
      Participant

      Hello Re4son,
      What size of micro SD card do you recommend for Kali-Pi? Is there drawbacks if ones uses a higher than 32GB micro SD card? Say a microSDXC instead of a microSDHC? I understand one just has to reformat them from exFAT to FAT32, and then partition the card again once the image has been installed.

      I already melted a SanDisk Extreme Pro 32GB A1 card, so I can verify what you mentioned elsewhere, which is that SanDisk Extreme Pro micro SD cards do not work well at all with Kali.
      You also mentioned that you personally use a SanDisk Extreme 32GB and a SanDisk Extreme Plus 32GB, and that your Kali-Pi’s are lightning fast. Considering that you have used both, can you actually notice the difference of speed between them? The Extreme Plus versions are almost three times the price of the regular Extreme ones.

      Any feedback would be appreciated, I am asking because I already screwed up once, and would rather avoid melting more cards.

    • #13494
      DunnPenny
      Participant

      Hi…in my case i don’t have the terminal open anymore unfortunately, but I took some screenshots of the errors as well as the log for one of the errors if there’s any way I could have you look at them, that would be amazing.

    • #13548
      james303
      Participant

      HI Re4Sun,

      First, thank you for making this kernel.
      I’m running kali-linux-2018.4-rpi3-nexmon.img on Raspberry Pi 3 Model B+, and I’m trying to get AWUS036ACH to work.
      However, I’m having a problem installing the kernel, and I get the following error below. The complete log is here.
      https://paste.ee/d/0Im2a
      The log is for the first login since I flashed the image.
      I also tried it on kali-linux-2018.4a-rpi3-nexmon-64.img, but it didn’t work. I assume arm64 is not supported yet.
      I’d really appreciate your help.
      Unpacking kalipi-re4son-firmware (4.14.80-20181125) …
      dpkg: error processing archive /usr/local/src/re4son-kernel_4.14.80-20181125/kalipi-re4son-firmware_4.14.80-20181125_armhf.deb (–unpack):
      trying to overwrite ‘/lib/firmware/brcm/brcmfmac43430-sdio.txt’, which is also in package raspi3-firmware 1.20180619-1
      dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /usr/local/src/re4son-kernel_4.14.80-20181125/kalipi-re4son-firmware_4.14.80-20181125_armhf.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      Error completing: apt
      https://paste.ee/d/0Im2a

    • #13581
      hackleberrypi
      Participant

      I am getting a lot of errors and similar problems using an Alfa AWUS052NH it’s dual band and long story short here are the specs which are fairly similiar (or close enough to have the same issue which seems like SOFTWARE when it’s actually ***HARDWARE*** whether it be using Kali any version or Raspbian or whatever OS for the Raspberry pi’s).

      USB 2.0 Wi-Fi Adapter w/2x 5dBi External Antennas – 2.4GHz 300Mbps/5GHz 867Mbps – 802.11a/b/g/n.

      These Wifi dongles use a TON OF POWER! You can hear mine make a high pitch tone when its firing all cylinders “WORKING” multiple channels. Often it even causes a Kernel Panic upon booting or will randomly shutdown or freeze the Raspberry pi again regardless of operating system. Same exact issues your having which I have successfully used it many times but it fails just as much which lately the newest Kali image it DOES NOT LIKE for some reason!

      LONG STORY SHORT, here is the solution:

      You can monitor how much power it uses in a variety of ways which can even cause the WiFi adapter to have mediocre results on a true desktop or laptop, let alone a small cheap micro computer.

      Get this cable (Alfa actually included a similar cable in the AWUS052NH first models it sold but later stopped including it!):
      HIGHROCK 30cm USB 2.0 a Power Enhancer Y 1 Female to 2 Male Data Charge Cable Extension Cord(1pc) which you can buy for $6 here https://www.amazon.com/HIGHROCK-Enhancer-Female-Charge-Extension/dp/B00NIGO4NM/ref=sr_1_3?ie=UTF8&qid=1546091616&sr=8-3&keywords=usb+y+cable+power

      This will plug into the wifi cards usb male end “splitting” the USB cable into a dedicated POWER USB male plug and a dedicated DATA USB male plug. Then you’ll need something like this which is a rock solid product:
      AUKEY USB Hub Powered Charging, 7 Port USB 3.0 Hub with 3 Charging Ports, 4 USB 3.0 Data Ports, 12V/3A Power Adapter, Power Switch for Laptop, PC, Mac, HDD Hard Drive (Black) which you can buy here :
      https://www.amazon.com/gp/product/B01IDI9YFW/ref=ox_sc_act_title_2?smid=A36AUUSWLRD95D&psc=1

      T L D R : Your WiFi adapter is sucking to much power from the raspberry pi and needs a completely separate power supply to run or run optimally on any raspberry pi OS it solves all the problems your having!

      Good Luck!!!

      PS= I am not affiliated or selling any of these products I am just trying to be helpful to show you the best options for the best prices which I have found to solve all my solutions aka not spamming hope you realize everyone 🙂

Viewing 20 reply threads
  • You must be logged in to reply to this topic.