Options for RTL8192EU wifi adapter?

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Katie Boundary
Posts: 28
Joined: Fri Dec 13, 2019 2:48 pm

Options for RTL8192EU wifi adapter?

#1 Post by Katie Boundary »

I have a TP-Link TL-WN822N v5 wifi adapter, which uses the RTL8192EU chipset. After months of noticing problems with it, but also feeling like it worked better in Windows than in Linux, I've confirmed that it's known to not play nicely with the normal drivers that come with Linux.

The manufacturer offers drivers but they don't work with any Linux kernel past 4.9 and I'd rather not be stuck on MX-19 forever.

What are my options?

User avatar
siamhie
Global Moderator
Posts: 3337
Joined: Fri Aug 20, 2021 5:45 pm

Re: Options for RTL8192EU wifi adapter?

#2 Post by siamhie »

Take a look at the drivers here.

rtl8192eu linux drivers
https://github.com/Mange/rtl8192eu-linux-driver
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
timkb4cq
Developer
Posts: 3579
Joined: Wed Jul 12, 2006 4:05 pm

Re: Options for RTL8192EU wifi adapter?

#3 Post by timkb4cq »

This site is based on a newer driver version and works with our newest kernels.
https://github.com/clnhub/rtl8192eu-linux
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
siamhie
Global Moderator
Posts: 3337
Joined: Fri Aug 20, 2021 5:45 pm

Re: Options for RTL8192EU wifi adapter?

#4 Post by siamhie »

siamhie wrote: Mon Jun 09, 2025 11:18 am Take a look at the drivers here.

rtl8192eu linux drivers
https://github.com/Mange/rtl8192eu-linux-driver
Check out tim's link instead.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Katie Boundary
Posts: 28
Joined: Fri Dec 13, 2019 2:48 pm

Re: Options for RTL8192EU wifi adapter?

#5 Post by Katie Boundary »

siamhie wrote: Mon Jun 09, 2025 11:18 amgithub
timkb4cq wrote: Mon Jun 09, 2025 11:27 amgithub
Are there any solutions that don't involve downloading source code and compiling it myself? that has always been a crapshoot for me with more failures than successes, often due to unresolvable dependencies.

User avatar
j2mcgreg
Global Moderator
Posts: 6792
Joined: Tue Oct 23, 2007 12:04 pm

Re: Options for RTL8192EU wifi adapter?

#6 Post by j2mcgreg »

From here:
https://www.tp-link.com/ca/home-network ... tl-wn822n/
That's a b/g/n adapter and often the drivers will default to the n protocol. In theory the n protocol is the fastest with the widest range, but in practice it is so susceptible to interference that it is useless. You should either configure your router to only broadcast in g or use Network manager in the panel to do the same.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
kmathern
Developer
Posts: 2523
Joined: Wed Jul 12, 2006 2:26 pm

Re: Options for RTL8192EU wifi adapter?

#7 Post by kmathern »

Katie Boundary wrote: Mon Jun 09, 2025 12:51 pm
siamhie wrote: Mon Jun 09, 2025 11:18 amgithub
timkb4cq wrote: Mon Jun 09, 2025 11:27 amgithub
Are there any solutions that don't involve downloading source code and compiling it myself? that has always been a crapshoot for me with more failures than successes, often due to unresolvable dependencies.
Don't have a RTL8192EU device, but just to see what happens I tried the instructions in Tim's link in a Live session of MX-23.6.ahs,
OOTB everything appears to be already installed (i.e. no dependency issues).
Easy install, 3 cli commands.

Code: Select all

demo@mx1:~
$ git clone  https://github.com/clnhub/rtl8192eu-linux.git
Cloning into 'rtl8192eu-linux'...
remote: Enumerating objects: 2427, done.
remote: Counting objects: 100% (313/313), done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 2427 (delta 280), reused 201 (delta 198), pack-reused 2114 (from 2)
Receiving objects: 100% (2427/2427), 5.54 MiB | 9.79 MiB/s, done.
Resolving deltas: 100% (1484/1484), done.
demo@mx1:~
$ cd rtl8192eu-linux/
demo@mx1:~/rtl8192eu-linux
$ ./install_wifi.sh 
[sudo] password for demo:     
rmmod: ERROR: Module 8192eu is not currently loaded
rmmod: ERROR: Module rtl8xxxu is not currently loaded
/usr/sbin/dkms.mx uninstall -m rtl8192eu -v 1.0
Error! The module/version combo: rtl8192eu-1.0 is not located in the DKMS tree.
/usr/sbin/dkms.mx remove -m rtl8192eu -v 1.0
Error! The module/version combo: rtl8192eu-1.0 is not located in the DKMS tree.
rm: cannot remove '/usr/src/rtl8192eu-1.0': No such file or directory
rm: cannot remove '/var/lib/dkms/rtl8192eu': No such file or directory
/usr/sbin/dkms.mx add -m rtl8192eu -v 1.0
Creating symlink /var/lib/dkms/rtl8192eu/1.0/source -> /usr/src/rtl8192eu-1.0
/usr/sbin/dkms.mx install -m rtl8192eu -v 1.0 -k 6.14.2-1-liquorix-amd64 -a x86_64
Sign command: /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file
Binary /lib/modules/6.14.2-1-liquorix-amd64/build/scripts/sign-file not found, modules won't be signed

Building module:
Cleaning build area...
'make' -j4 all KVER=6.14.2-1-liquorix-amd64.................
Cleaning build area...

8192eu.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.14.2-1-liquorix-amd64/updates/dkms/
depmod...
demo@mx1:~/rtl8192eu-linux
$ 

User avatar
Katie Boundary
Posts: 28
Joined: Fri Dec 13, 2019 2:48 pm

Re: Options for RTL8192EU wifi adapter?

#8 Post by Katie Boundary »

The instructions in Tim's link skipped a couple of steps, like the "git clone" and "cd" parts, but I was able to mix instruction information from both links to figure out what to do. A couple of errors popped up during compilation/installation and the wifi card didn't work any better. Thinking that I mgiht need to restart the computer for the changes to take effect, I did that, and the card still didn't work any better. After a few other dead ends, I tried going back into the source code directory and just running install_wifi.sh again for sh!ts and giggles, not really expecting it to work, but for some reason, it did work this time. *shrug*

I think the trick is to restart the computer after installing DKMS but before trying to compile and install the drivers.

Anyway, thanks for the help!

Post Reply

Return to “MX Help”