How to install alfa wireless adapter driver for new

So at the time, I thought I got a broken one. but it really is that the adapter is not supported out of the box (and it should be.) so after some research here how you can get it to work on a Debian-based distro.

sudo apt update

sudo apt upgrade -y

sudo apt dist-upgrade -y

sudo reboot now

sudo apt update

sudo apt install realtek-rtl88xxau-dkms

sudo apt install dkms

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

cd rtl8812au/

sudo make

sudo make install

lsusb iwconfig

!To test:

sudo wifite

links for this adapter are in the links page.

update! The above instructions no longer work I found these instructions that worked for me and I think will work for you too. trust me I looked.

I was also having this issue. I originally installed the most recent version using dkms, but it didn’t work and I tried a few times with no success. But I got it working.

I’ll share what I did to hopefully help others, but I’m not totally sure exactly what steps were important to fixing the issue:

  • Unplugged the USB adapter
  • Ran dkms status to find the name of the dkms module I had installed.
  • Used sudo dkms remove <module name> --all to delete the old driver (replace module name with the name from the prev step).
  • Restarted computer.
  • Fully deleted the git folder (rtl8812au) so that I could re-clone it with no changes.
  • Used git clone https://github.com/aircrack-ng/rtl8812au.git to redownload the files.
  • cd rt*
  • Then I decided to update everything just to be sure:
    • sudo apt-get update
    • sudo apt-get install bc mokutil build-essential libelf-dev linux-headers-`uname -r`
    • sudo apt-get upgrade
  • Then, I did git checkout 63cf0b4 to set it to the known working version, and a git status just to be sure there were no changed files.
  • Ran sudo make, and then sudo make install.
  • Finally, sudo service NetworkManager restart, and then I plugged in the USB adapter and it worked.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply