• Home
  • Blog
    • Programming
    • Art
    • Recipes
    • Home Automation
    • Life
    • Friday Faves
    • Books
    • Writing
    • Games
    • Web Accessibility
    • Advent of Code
  • Projects
  • GLSL Shader Art
  • Glitch Art

  • Github
  • Bluesky
  • Mastodon
  • Duolingo
  • LinkedIn
  • RSS
  • Bridgy Fed

mary.codes

Web development, art, and tinkering with fun projects. JavaScript, Python, WebGL, GLSL, Rust, Lua, and whatever else I find interesting at the moment.

Updating drivers again for Ubuntu 21.10

Mary KnizeBlog iconApr 10th, 2022
1 min read

Programming

How updating to Ubuntu 21.10 and the Linux 5.13 kernal broke the Realtek 8812au driver for my Wi-Fi dongle and how I fixed it.

I'm glad that I sometimes remember to make a post when I learn something new. This is because my old 2019 post, Ubuntu 19.04 Disco Dingo Driver Drama is one that I keep referencing over and over again when my Wi-Fi dongle starts acting up.

I just updated Ubuntu to 21.10 to try and fix an issue with reawakening the system after it's been suspended. For the longest time everything worked just fine on 20.04, but within the past couple of months, it would intermittently not resume the next morning. I tried just updating the kernel to 5.13.0, but that caused even more instability.

Luckily, I had the earlier post that I could refer to, and was able to quickly figure out what was wrong and install a new driver.

In addition to the lsusb and dkms status checks that I referenced in the old post, I also learned about uname -a, which prints out the exact kernel for reference.

I also noticed that lsusb printed out a different chipset than I was expecting.

Bus 001 Device 002: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]

Notice that the number is 8821 instead of 8812. I've been using this dongle for about two years now, and never noticed that it had a different number, and the previous rtl8812au drivers were working fine. This is a different dongle than I was using in the original post.

I was having a hard time finding a driver for the rtl8812au chipset for Linux 5.13, but I was able to easily find one for the rtl8821au chipset.

The repo I found that fixed my driver issues is at https://github.com/morrownr/8821au-20210708/tree/2c0c6fef81c0c7dcf8fa06fc4ab72168abc4f7bb, and all I had to do was follow the directions in the README. No need to install separately with DKMS. I did double-check with dkms status, and it is correctly installed.

Hopefully this post helps resolve your Linux kernel/Ubuntu/TP-Link Wi-Fi dongle madness, and I personally hope I never have to reference it again. 😄


Other Programming posts

How I'm organizing my work in 2024

Finding the Design Engineer within the Full-Stack Developer

Displaying the current Git branch in my Linux terminal prompt

Generating a 3D map with OpenStreetMap and A-Frame

Translating OpenStreetMap data to HTML5 Canvas with Rust and WebAssembly

Latest posts

I started painting again

100 days of Japanese on Duolingo

How I'm organizing my work in 2024

Watch the documentary 'Good Night Oppy' if you're feeling science-y

Sculpted robo-goldfish, a rainbow office building, and a look inside click farms