morrownr / 8814au

Linux Driver for USB WiFi Adapters that are based on the RTL8814AU Chipset
Other
472 stars 87 forks source link

Error! Bad return status for module build on kernel: 5.15.102-1-MANJARO (x86_64) #99

Open GD73FIVR opened 1 year ago

GD73FIVR commented 1 year ago

hey :-)

trying to build this package coz i have the same adapter you used , the ASUS AC-68, but there are errors...

here is the terminal output

sudo ./install-driver.sh  ✔ Running install-driver.sh version 20221126 Kernel=5.15.102-1-MANJARO Architecture=x86_64 Installing 8814au.conf to: /etc/modprobe.d The dkms installation routines are in use. Copying source files to: /usr/src/rtl8814au-5.8.5.1 Creating symlink /var/lib/dkms/rtl8814au/5.8.5.1/source -> /usr/src/rtl8814au-5.8.5.1 The driver was added successfully. Sign command: /usr/lib/modules/5.15.102-1-MANJARO/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub

Building module: Cleaning build area... 'make' -j8 KVER=5.15.102-1-MANJARO KSRC=/lib/modules/5.15.102-1-MANJARO/build.......(bad exit status: 2) Error! Bad return status for module build on kernel: 5.15.102-1-MANJARO (x86_64) Consult /var/lib/dkms/rtl8814au/5.8.5.1/build/make.log for more information. An error occurred. dkms build error = 10 Please report this error. Please copy all screen output and paste it into the report. Run the following before reattempting installation. $ sudo ./remove-driver.sh

pls tell me what to do coz this adapter was so fucking expensive, and now i am on a cheap tp link 2.4ghz til i find a solution, and there is no one else out there but you...

morrownr commented 1 year ago

Hi @GD73FIVR

pls tell me what to do

There has been a lot of work going into the docs and scripts lately. You need to update the driver directory on your system and try again. Open a terminal and go to the driver directory:

git pull sudo sh install-driver.sh

If you still see the error, run the following and post the results of make and the screen output of install-driver.sh:

make clean clear make

I'm also going to post some advice:

If you recently bought this adapter and can still return it for a refund? Do it. This driver is old and not well supported by Realtek. It is missing many features, such as WPA3, and may never gain these features. There are many good chipsets and adapters available that work well on Linux and will for many years. Let me point you to some reading:

https://github.com/morrownr/USB-WiFi

The above link is the Main Menu for this site. Menu items 1, 2 and 5 may provide info that can help you.

Regards,

@morrownr