I am assuming that you are using the Raspberry Pi OS.
I have managed to compile the module on one of my Raspberry Pi's. I think I see where you are having problems.
I would suggest that you update you system using the following commands
and then reboot your system.
Make sure you have installed the necessary packages.
Then clone the driver from github.
Work out if you are using the 32 or 64 bit os.
Edit the file Makefile
Then run the commands ...
Don't worry about the rest of the instructions for now ...
Reboot and try plugging in your WiFi dongle and see if it works.
If you still have an error like "Your kernel headers for kernel 6.1.21-v8+ cannot be found at" you will need to manually install the correct version of the linux headers.
I have managed to compile the module on one of my Raspberry Pi's. I think I see where you are having problems.
I would suggest that you update you system using the following commands
Code:
sudo apt updatesudo apt full-upgrade
Make sure you have installed the necessary packages.
Code:
sudo apt install git raspberrypi-kernel-headers build-essential dkms
Code:
git clone https://github.com/Mange/rtl8192eu-linux-drivercd rtl8192eu-linux-driver
Code:
uname -maarch64 ... is 64 bitarmv6l ... is 32 bit
Code:
nano Makefile... scroll down to the section###################### Platform Related #######################ChangeCONFIG_PLATFORM_I386_PC = yto CONFIG_PLATFORM_I386_PC = nFor 64 bit (aarch64) changeCONFIG_PLATFORM_ARM_AARCH64 = ntoCONFIG_PLATFORM_ARM_AARCH64 = y_OR_ for 32 bit (armv6l) changeCONFIG_PLATFORM_ARM_RPI = nto CONFIG_PLATFORM_ARM_RPI = y
Code:
sudo dkms add .sudo dkms install rtl8192eu/1.0echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf
Reboot and try plugging in your WiFi dongle and see if it works.
If you still have an error like "Your kernel headers for kernel 6.1.21-v8+ cannot be found at" you will need to manually install the correct version of the linux headers.
Statistics: Posted by AndyD — Tue Jul 02, 2024 12:24 pm