lkakfar.blogg.se

Command line add realtek wifi drivers
Command line add realtek wifi drivers






command line add realtek wifi drivers

Now your Wifi dongle should work and you can use it to connect to your 5G network in Network Manager. Sudo modprobe rtl8812au (or 8812au if you get an error message saying rtl8812au does not exist) Sudo dkms install rtl8812au/4.2.2 (if you get an error saying ‘rtl8812au’ folder does not exist, then change rtl8812au to ‘8812au’) Sudo dkms build rtl8812au/4.2.2 (if you get an error saying ‘rtl8812au’ folder does not exist, then change rtl8812au to ‘8812au’) Replace x.x.x with the version number of the packageģ. If you installed other dkms packages related to rtl8812au, then remove them as well

command line add realtek wifi drivers

If you already installed Ubuntu rtl8812au-dkms driver and it stopped working after the latest kernel update, then you will need to remove the driver first:Ģ. If it is the case, please follow the steps below to install a driver from Github.ġ. UPDATE: It seems that the dkms package rtl8812au-dkms in Ubuntu repo is out of date, and if you update your kernel to the latest, then you will notice that the driver will stop working. If you know any Github project that works with the latest kernel, please let me know and I will update this post to include it.

command line add realtek wifi drivers

Hopefully, someone will update the source code to be compatible with the latest kernel. : If you are using Ubuntu 18.04 LTS or any distro with kernel 4.15 (or above), then the following steps will not work. The Github repo in the original post has been fixed, now you can follow the steps in the original post to install the Linux driver. I will keep an eye on it and will update this post if the master branch is updated to fix this issue. I see there are two pull requests that address this issue, but they have not been merged into the master branch. The original GitHub repo “gnab” is not working with kernel 4.19 and higher ( ), if you have trouble compiling the driver, then try this repo. Looks like AstroDrabb repository is not available any more.

  • Follow the steps under the DKMS section.
  • Copy all contents in the folder to “/usr/src/8812au-4.2.2.
  • Fortunately, here is the working repo: and you will need to After upgrading to Linux kernel 5.0, the two Github repos in the original post and the last update do not work any more.








    Command line add realtek wifi drivers