realtek rtl8188eus driver instaltion error on parrot os

– Please Write here your help request, –

—Hello.I am new in parrot os.I want to install TP-Link TLWN722n wifi adapter driver rtl8188eus.But when I am going to compiling the driver it shows error.I also try to install realtek rtl8188eus driver via apt but it doesn’t work.

  • Parrot version in use (if you are not aware of it, open terminal and type cat /etc/os-release | grep VERSION):
    I am using Parrot OS 5.1 (Electro Ara).

  • Kernel version (if you are not aware of it, open terminal and type uname -r):
    My kernal Version is 6.0.0-2parrot1-amd64.

  • Logs/Terminal output (use pastebin or similar services):
    When I am going to install the driver manually, here is the error

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.0.0-2parrot1-amd64/build M=/home/anuvob/rtl8188eus modules
make[1]: Entering directory ‘/usr/src/linux-headers-6.0.0-2parrot1-amd64’
CC [M] /home/anuvob/rtl8188eus/core/rtw_cmd.o
/home/anuvob/rtl8188eus/core/rtw_cmd.c:17:10: fatal error: drv_types.h: No such file or directory
17 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-6.0.0-2parrot1-common/scripts/Makefile.build:254: /home/anuvob/rtl8188eus/core/rtw_cmd.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.0.0-2parrot1-common/Makefile:1876: /home/anuvob/rtl8188eus] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-6.0.0-2parrot1-amd64’
make: *** [Makefile:2062: modules] Error 2

And when installing via apt,

Setting up realtek-rtl8188eus-dkms (5.3.9~git20220829.4ba8e08-0parrot1) …
Removing old realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 DKMS files…
Deleting module realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 completely from the DKMS tree.
Loading new realtek-rtl8188eus-5.3.9~git20220829.4ba8e08 DKMS files…
Deprecated feature: REMAKE_INITRD (/usr/src/realtek-rtl8188eus-5.3.9~git20220829.4ba8e08/dkms.conf)
Building for 6.0.0-2parrot1-amd64
Building initial module for 6.0.0-2parrot1-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.0.0-2parrot1-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220829.4ba8e08/build/make.log for more information.
dpkg: error processing package realtek-rtl8188eus-dkms (–configure):
installed realtek-rtl8188eus-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
realtek-rtl8188eus-dkms
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please Help ME

  • Screenshots:

welcome to the forums,
try the DEBIAN installation instructions
https://docs.alfa.com.tw/Support/Linux/RTL8188EUS/

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.