Getting a wifi adaptor to work TL-WN821N

Hi All,

I’m trying to get a TP-Link Wifi Adapter TL-WN821N to work on bazzite.

I found this suggested solution on Grok:

Best option: Use the DKMS-enabled driver from GitHub (supports modern kernels, auto-rebuilds on updates).

sudo apt update
sudo apt install build-essential dkms git linux-headers-$(uname -r)
git clone https://github.com/Mange/rtl8192eu-linux-driver.git
cd rtl8192eu-linux-driver
sudo dkms add .
sudo dkms install rtl8192eu/1.0 

This resulted in the following:

Darren@bazzite:~$ sudo apt update
[sudo] password for Darren:
sudo: apt: command not found
Darren@bazzite:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 003 Device 004: ID 046d:c534 Logitech, Inc. Nano Receiver
Bus 003 Device 005: ID 3151:3022 YICHIP Wireless Device
Bus 003 Device 006: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 0080:a001 Unknown JMS578 based SATA bridge
Bus 004 Device 003: ID 1f75:0621 Innostor Technology Corporation IS621 SATA Storage Controller
Darren@bazzite:~$

The sudo command shows as an unknown command.

Your Help would be greatly appreciated.

Cheers and Beers Gelignite

Because Bazzite is partially immutable, you can’t install a kernel module that way. You’ll have to learn to build your own image customized off of Bazzite and include the kernel module in that. Its not crazy hard, but there is a lot of learning if want to go down that route.

Thanks it was very helpful. :grinning_face:

Yeah, sorry about not being able to do that like a normal Linux kernel module. FYI What you were doing was for a Debian-based distro, and that approach wouldn’t work on a Fedora one (even one that was mutable).