RTL8192EU Wireless Adapter on Void Linux

Leandro Ramos
Nov 5 · 2 min read
Void Linux with XFCE

The TP-LINK TL-WN821N wireless adapter (chipset RTL8192EU) doesn’t work by default, so I have adapted the steps in https://github.com/Mange/rtl8192eu-linux-driver (made for Debian/Ubuntu)to work on Void Linux.

Important: I’ll be using sudo to do it, because I don’t like to use the root login for everything.


Installing dependencies

sudo xbps-install git linux-headers base-devel dkms

Cloning the Github repository

git clone https://github.com/Mange/rtl8192eu-linux-driver

Accessing the driver directory

cd rtl8192eu-linux-driver

Adding the driver to DKMS

Please don’t forget to type the dot (.) in the command below

sudo dkms add .

Building and installing the driver

sudo dkms install rtl8192eu/1.0

Blacklisting the generic Realtek driver

echo “blacklist rtl8xxxu” | sudo tee /etc/modprobe.d/rtl8xxxu.conf

Creating the modules-load directory

sudo mkdir /etc/modules-load.d

Forcing RTL8192EU Driver to be active from boot

echo -e “8192eu\n\nloop” | sudo tee /etc/modules-load.d/rtl8192eu.conf

Updating changes to GRUB

sudo update-grub

Updating changes to initramfs

sudo dracut --force

Rebooting the system

sudo reboot

Conclusion

If you have any questions or find any error, please let me know in the comments. See you!

Leandro Ramos

Written by

Desenvolvedor Web, Ciclista Urbano, Fã de GNU/Linux e Software Livre

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade