RTL8192EU Wireless Adapter on Void Linux
Nov 5 · 2 min read

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 dkmsCloning the Github repository
git clone https://github.com/Mange/rtl8192eu-linux-driverAccessing the driver directory
cd rtl8192eu-linux-driverAdding 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.confCreating the modules-load directory
sudo mkdir /etc/modules-load.dForcing RTL8192EU Driver to be active from boot
echo -e “8192eu\n\nloop” | sudo tee /etc/modules-load.d/rtl8192eu.confUpdating changes to GRUB
sudo update-grub
Updating changes to initramfs
sudo dracut --force
Rebooting the system
sudo rebootConclusion
If you have any questions or find any error, please let me know in the comments. See you!
