morrownr / 8814au

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

Ubuntu 22.04.04 6.5.0-35-generic #135

Open SUTLZY opened 1 month ago

SUTLZY commented 1 month ago

[sudo] password for dlut: : --------------------------- : install-driver.sh v20230227 : x86_64 (architecture) : 64/64 (in-use/total processing units) : 230683896 (total system memory) : 6.5.0-35-generic (kernel version) : gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 : dkms-2.8.7 : SecureBoot disabled : ---------------------------

Checking for previously installed drivers. rtl8814au/5.8.5.1: added : ---------------------------

Removing a dkms installation. Deleting module rtl8814au-5.8.5.1 completely from the DKMS tree. Removing 8814au.conf from /etc/modprobe.d Removing source files from /usr/src/rtl8814au-5.8.5.1 Removal complete. : ---------------------------

Starting installation. 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 to dkms successfully. : ---------------------------

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... kernelver=6.5.0-35-generic ./dkms-make.sh...(bad exit status: 126) ERROR (dkms apport): binary package for rtl8814au: 5.8.5.1 not found Error! Bad return status for module build on kernel: 6.5.0-35-generic (x86_64) Consult /var/lib/dkms/rtl8814au/5.8.5.1/build/make.log for more information. Command exited with non-zero status 10 Compile time: 0.37 seconds An error occurred. dkms build error: 10 Please report this error. Please copy all screen output and paste it into the problem report. Run the following before reattempting installation. $ sudo ./remove-driver.sh

Beveiligde commented 3 weeks ago

Same issue here with Linux kali 6.8.11-amd64 using VirtualBox. Any solution for this? I tried removing all instalation for this driver and reboot, but still showing that error.

Thanks in advance.

morrownr commented 3 weeks ago

Run:

$ sudo remove-driver.sh $ dkms status (post the result)

The bug look like dkms issue so try removing dkms and then run the script again. It has code to run without dkms if it does not detect it.

Beveiligde commented 3 weeks ago

Thank you for the answer.

I managed to make it work now. Even the file 'install-driver.sh' was not executed completely (it asked always to run ./remove-install.sh, reboot, and try again to run ./install-driver.sh due error number 6 [?] ).

What I did is check that the awus1900 was connected to the correct USB connector of my laptop. Then I went to USB configuration of my Kali Linux VM from VirtualBox, and added the driver in the USB filters. After this I run for the last time the file ./install-driver.sh (even if I receive an "error 6" output), I ignored the error. Then, I checked that the Driver was detected by my Kali Linux VM with 'lsusb', which shows:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 0bda:8813 Realtek Semiconductor Corp. RTL8814AU 802.11a/b/g/n/ac Wireless Adapter Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 80ee:0021 VirtualBox USB Tablet

I tried to run iwconfig, and the wlan0 is showed now. To make sure it was working I tried "$~wifite --kill", and the SSIDs around me were detected by awus1900.

I am not very into network testing, but I heard of people that cannot sniff packets nor deauthenticate clients with airmon tools, so there may be more things to check or configure before all work fine. I will check more functionalities of the driver in the next days to confirm that the driver is working correctly.

If I get some type of relevant error I will let you know here to see if there is more people with the same issue, and try to find solutions.