Page 1 of 1

Options for RTL8192EU wifi adapter?

Posted: Mon Jun 09, 2025 10:01 am
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?

Re: Options for RTL8192EU wifi adapter?

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

rtl8192eu linux drivers
https://github.com/Mange/rtl8192eu-linux-driver

Re: Options for RTL8192EU wifi adapter?

Posted: Mon Jun 09, 2025 11:27 am
by timkb4cq
This site is based on a newer driver version and works with our newest kernels.
https://github.com/clnhub/rtl8192eu-linux

Re: Options for RTL8192EU wifi adapter?

Posted: Mon Jun 09, 2025 11:50 am
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.

Re: Options for RTL8192EU wifi adapter?

Posted: Mon Jun 09, 2025 12:51 pm
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.

Re: Options for RTL8192EU wifi adapter?

Posted: Mon Jun 09, 2025 1:37 pm
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.

Re: Options for RTL8192EU wifi adapter?

Posted: Mon Jun 09, 2025 2:02 pm
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
$ 

Re: Options for RTL8192EU wifi adapter?

Posted: Wed Jun 11, 2025 10:14 pm
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!