Realtek 8812 driver to arch linux
![realtek 8812 driver to arch linux realtek 8812 driver to arch linux](https://i.ytimg.com/vi/-q5HV7S7hLQ/maxresdefault.jpg)
- #Realtek 8812 driver to arch linux how to
- #Realtek 8812 driver to arch linux install
- #Realtek 8812 driver to arch linux drivers
So it is important to figure out the way how to consistently make wifi dongle have lower metric than wifi card. The thing is, routes come and go -> if you disconnect the dongle, route will dissapear, and even if you set metric somehow, next time it appears it will have old metric. In my case, wifi card was being assigned metric 600 while dongle was assigned metric 601, which was why wifi card was preferred. Lower the number, more preffered the route.įor example, when I run ip route, one of the lines is default via 192.168.0.1 dev wlo1 proto dhcp metric 600, which means that interface wlo1 has metric 600. It is a number which says which route should be preferred when sending the internet traffic. Network routes (which we can see via ip route) have property called “metric”. There are two main methods I figured out, I will explain both. However, I now had interesting problem: both wifi card and wifi dongle were connected to the wifi networks at the same time (I have one 2.4Ghz network and another 5Ghz network) and my system was preferring using wifi card one instead of the wifi dongle one! Ensuring that wifi dongle is preferred to wifi card This is it! I could see new interface show up via ip link, and I could connect to a wifi network via NetworkManager (I forgot to mention before that I am using NetworkManager, but that was not really important until now). To /etc/NetworkManager/nf as suggested by the README. After this step I rebooted, to confirm this works + to get module loaded. I also added 8812au to etc/modules_load.d/nf, as mentioned before, to make sure driver loads on boot.
#Realtek 8812 driver to arch linux install
![realtek 8812 driver to arch linux realtek 8812 driver to arch linux](https://www.linuxhowto.net/wp-content/uploads/2021/04/Install-TP-Link-AC600-Archer-T2U-Nano-WiFi-USB-adapter-in-Fedora-Linux.png)
This one worked for me! I just followed instructions on the github repo README, which for me ended up going something like this: Maybe I got something wrong, but I moved on before trying more. In my case, it failed during installation due to Make errors. Installation went fine, however dongle was still not showing up via ip link, I believe that is due to the kernel I was using being relatively new. I liked this one the best, it is specific for 8821au and is packaged on AUR. While driver #3 eventually worked for me, I would certainly recommend trying the other ones also, it is very likely they might be working for you when you try this.
#Realtek 8812 driver to arch linux drivers
The problem is, it takes some time for drivers to catch up with new kernels, and some of them get stale, so you might need to try out a few of them in order to find one that works. create file /etc/modules_load.d/nf with just one line: 8812au, if that is the name of installed driver.).įinally, if driver is set up correctly, when we plug in the wifi adapter, we should see new entry for it when we run ip link. Make sure driver module loads on system boot (e.g.Make sure we have dmks installed (dkms ensure that driver is rebuilt when kernel is updated).Regardless of which driver we choose, installing/setup should go something like this: There are even more drivers, but these ones seemed most prominent to me at the moment of writing. rtl8812au (Github, gnab) -> also just github, also has decent number of stars.rtl8812au (Github, gordboy) -> this one is just github, no package, has decent number of stars.rtl88xxau-aircrack-dkms-git (AUR) as alternative choice since it is more general.rtl8812au-dkms-git (AUR) as reasonable first choice.Btw, you can also check first if dongle is shown via lsusb, that should work even without driver, if not then there is some other problem also involved.Īlfa AWUS036ACH uses Realtek 8812au chipset so we need driver for that chipset.
![realtek 8812 driver to arch linux realtek 8812 driver to arch linux](https://i.ytimg.com/vi/syZcfQ8cgQM/maxresdefault.jpg)
Run ip link to see if your dongle is recognized (is there new entry when you connect it to your PC?). Still, it took some effort to set everything up as I wanted, so I will describe the steps here. I found on the net that others got Alfa AWUS036ACH working on Arch so I went with it! Therefore I decided to buy wifi dongle, and was looking for one that can work with Arch Linux. My laptop does not have the best network card: it works only with 2.4GHz networks and it has poor signal. Setting up wifi dongle (Alfa AWUS036ACH) on Arch Linux.