install/uninstall ASUS USB-AC56 on Ubuntu 20.04

6,590

I believe the best method is to obtain an internet connection by ethernet, tethering or whatever means possible, open a terminal and do:

sudo apt update
sudo apt install build-essential git dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo make dkms_install
sudo modprobe 88XXau

Your wireless should now be working.

Share:
6,590
user352102
Author by

user352102

Updated on September 18, 2022

Comments

  • user352102
    user352102 over 1 year

    I just bought a USB-AC56 Asus dual-band wirless-ac 1300 adapter. It works out of the box for Windows. But on Ubuntu you need to install the drivers.

    the output of lsusb relevant to the adapter:

    Bus 001 Device 004: ID 0b05:17d2 ASUSTek Computer, Inc. USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU] 
    

    I was told by Asus to use the following: https://dlcdnets.asus.com/pub/ASUS/wireless/USB-AC56/DR_USB_AC56_425_Linux.zip. How do I install the drivers? Asus gives no further instructions besides the link nor a way to uninstall.

    I also read that the following github project might work better: https://github.com/diederikdehaas/rtl8812AU

    Are these drivers better? Are they even the right one? I don't want to install something that I cannot undo. Does anyone know how to uninstall the dkms package?

    Is this correct?

    $ DRV_NAME=rtl8812AU
    $ DRV_VERSION=4.3.20
    $ sudo dkms remove ${DRV_NAME}/${DRV_VERSION} --all
    

    Please help verify what needs to be done for us all!

    • Jeremy31
      Jeremy31 almost 4 years
      Please edit to include result from terminal for lsusb
    • chili555
      chili555 almost 4 years
      First, let's confirm your exact device. Please edit your question to add the result of the terminal command: lsusb
    • user352102
      user352102 almost 4 years
      Bus 001 Device 004: ID 0b05:17d2 ASUSTek Computer, Inc. USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]
  • user352102
    user352102 almost 4 years
    This is for the usb wireless adapter? and how to uninstall? If I don't have my usb-wireless adapter plugged in will it revert to my original wireless adapter?
  • Jeremy31
    Jeremy31 almost 4 years
    This will not interfere with your other wifi adapter, it will work for your AC56
  • user352102
    user352102 almost 4 years
    Thanks!! I have two connections now, it appears. They can't both connect to the same network. how do I disable the original network card? I tried iwconfig but what do I do after that?
  • user352102
    user352102 almost 4 years
    I think the command is: iwconfig, find the name of the adapter: x. Then sudo ifconfig x down. I believe this is temporary?
  • chili555
    chili555 almost 4 years
    If you wish to permanently disable the internal card, we can blacklist its driver. Is that what you need?
  • user352102
    user352102 almost 4 years
    Yes, any hints on how to blacklist wlo1?
  • IronEagle
    IronEagle over 3 years
    Just a note on the current version of that Github repository: The command sudo ./dkms-install and everything after it has been replaced with sudo make dkms_install. Also, if you then get an error about a missing close-parenthesis, add a '\' before the #define on line 2300.
  • Adverbly
    Adverbly over 3 years
    Thanks @IronEagle! I didn't run into the typo, but I needed that make command. I updated the answer as well :)