Needed dependencies:
With the automated script:
Keep in mind that the script checks your system and install the dependencies.
It also checks whether the file have or not have a variable inside.
| Package | Command |
|---|---|
| curl | sh -c "$(curl -fsSL https://gitlab.com/KanuX/rtl8188eus/-/raw/master/scripts/build.sh)" |
| wget | sh -c "$(wget -O- https://gitlab.com/KanuX/rtl8188eus/-/raw/master/scripts/build.sh)" |
| fetch | sh -c "$(fetch -o - https://gitlab.com/KanuX/rtl8188eus/-/raw/master/scripts/build.sh)" |
Without the automated script:
It is necessary the usage of kernel headers. Each distribution have a different package.
They can also be manually compiled. See this.
Remember to run the commands as root.
Root can be accessed by doing su or sudo su command.
You will need to blacklist a older driver in order to use this one:
printf "blacklist r8188eu\n" > /etc/modprobe.d/realtek.confNow download the tarball and compile:
| Package | URL |
|---|---|
| curl | curl -L https://gitlab.com/KanuX/rtl8188eus/-/archive/master/rtl8188eus-master.tar.gz --output rtl8188eus-master.tar.gz |
| wget | wget https://gitlab.com/KanuX/rtl8188eus/-/archive/master/rtl8188eus-master.tar.gz |
| fetch | fetch https://gitlab.com/KanuX/rtl8188eus/-/archive/master/rtl8188eus-master.tar.gz |
tar -xvf rtl8188eus-master.tar.gz
cd rtl8188eus-master
make && make install clean
modprobe -r r8188eu
modprobe 8188euImportant note: From kernel version 6.3+ the driver changed from r8188eu to rtl8xxxu.