Giter Club home page Giter Club logo

Comments (3)

AKNoryx28 avatar AKNoryx28 commented on July 19, 2024 1

you've installed different versions linux-headers, try install linux-headers same version that's kernel you're running

(kali㉿root)-[~] └─$ sudo apt install -y dkms git bc [sudo] password for kali: Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: dctrl-tools git-man linux-compiler-gcc-10-x86 linux-headers-5.14.0-kali2-amd64 linux-headers-5.14.0-kali2-common linux-headers-amd64 linux-kbuild-5.14 Suggested packages: menu git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn The following NEW packages will be installed: bc dctrl-tools dkms linux-compiler-gcc-10-x86 linux-headers-5.14.0-kali2-amd64 linux-headers-5.14.0-kali2-common linux-headers-amd64 linux-kbuild-5.14 The following packages will be upgraded: git git-man 2 upgraded, 8 newly installed, 0 to remove and 765 not upgraded. Need to get 12.7 MB/21.6 MB of archives. After this operation, 63.1 MB of additional disk space will be used. Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 linux-headers-5.14.0-kali2-common all 5.14.9-2kali1 [9,774 kB] Get:2 http://ftp.harukasan.org/kali kali-rolling/main amd64 linux-kbuild-5.14 amd64 5.14.9-2kali1 [1,323 kB] Get:3 http://ftp.harukasan.org/kali kali-rolling/main amd64 linux-headers-5.14.0-kali2-amd64 amd64 5.14.9-2kali1 [1,590 kB] Get:4 http://ftp.harukasan.org/kali kali-rolling/main amd64 linux-headers-amd64 amd64 5.14.9-2kali1 [1,148 B] Fetched 12.7 MB in 4min 14s (49.9 kB/s) Selecting previously unselected package dctrl-tools. (Reading database ... 267021 files and directories currently installed.) Preparing to unpack .../0-dctrl-tools_2.24-3+b1_amd64.deb ... Unpacking dctrl-tools (2.24-3+b1) ... Selecting previously unselected package dkms. Preparing to unpack .../1-dkms_2.8.7-2_all.deb ... Unpacking dkms (2.8.7-2) ... Selecting previously unselected package bc. Preparing to unpack .../2-bc_1.07.1-3+b1_amd64.deb ... Unpacking bc (1.07.1-3+b1) ... Preparing to unpack .../3-git_1%3a2.33.0-1_amd64.deb ... Unpacking git (1:2.33.0-1) over (1:2.32.0-1) ... Preparing to unpack .../4-git-man_1%3a2.33.0-1_all.deb ... Unpacking git-man (1:2.33.0-1) over (1:2.32.0-1) ... Selecting previously unselected package linux-compiler-gcc-10-x86. Preparing to unpack .../5-linux-compiler-gcc-10-x86_5.14.9-2kali1_amd64.deb ... Unpacking linux-compiler-gcc-10-x86 (5.14.9-2kali1) ... Selecting previously unselected package linux-headers-5.14.0-kali2-common. Preparing to unpack .../6-linux-headers-5.14.0-kali2-common_5.14.9-2kali1_all.deb ... Unpacking linux-headers-5.14.0-kali2-common (5.14.9-2kali1) ... Selecting previously unselected package linux-kbuild-5.14. Preparing to unpack .../7-linux-kbuild-5.14_5.14.9-2kali1_amd64.deb ... Unpacking linux-kbuild-5.14 (5.14.9-2kali1) ... Selecting previously unselected package linux-headers-5.14.0-kali2-amd64. Preparing to unpack .../8-linux-headers-5.14.0-kali2-amd64_5.14.9-2kali1_amd64.deb ... Unpacking linux-headers-5.14.0-kali2-amd64 (5.14.9-2kali1) ... Selecting previously unselected package linux-headers-amd64. Preparing to unpack .../9-linux-headers-amd64_5.14.9-2kali1_amd64.deb ... Unpacking linux-headers-amd64 (5.14.9-2kali1) ... Setting up linux-compiler-gcc-10-x86 (5.14.9-2kali1) ... Setting up bc (1.07.1-3+b1) ... Setting up linux-kbuild-5.14 (5.14.9-2kali1) ... Setting up linux-headers-5.14.0-kali2-common (5.14.9-2kali1) ... Setting up git-man (1:2.33.0-1) ... Setting up dctrl-tools (2.24-3+b1) ... Setting up dkms (2.8.7-2) ... Setting up linux-headers-5.14.0-kali2-amd64 (5.14.9-2kali1) ... /etc/kernel/header_postinst.d/dkms: dkms: running auto installation service for kernel 5.14.0-kali2-amd64:. Setting up git (1:2.33.0-1) ... Setting up linux-headers-amd64 (5.14.9-2kali1) ... Processing triggers for kali-menu (2021.3.3) ... Processing triggers for man-db (2.9.4-2) ...

┌──(kali㉿root)-[~] └─$ git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU.git Cloning into 'RTL8812BU'... remote: Enumerating objects: 1982, done. remote: Counting objects: 100% (506/506), done. remote: Compressing objects: 100% (488/488), done. remote: Total 1982 (delta 135), reused 58 (delta 15), pack-reused 1476 Receiving objects: 100% (1982/1982), 96.93 MiB | 4.84 MiB/s, done. Resolving deltas: 100% (981/981), done.

┌──(kali㉿root)-[~] └─$ cd RTL8812BU

┌──(kali㉿root)-[~/RTL8812BU] └─$ make make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.0-kali9-amd64/build M=/home/kali/RTL8812BU modules make[1]: *** /lib/modules/5.10.0-kali9-amd64/build: No such file or directory. Stop. make: *** [Makefile:2284: modules] Error 2

┌──(kali㉿root)-[~/RTL8812BU] └─$ sudo make install 2 ⨯ install -p -m 644 88x2bu.ko /lib/modules/5.10.0-kali9-amd64/kernel/drivers/net/wireless/ install: cannot stat '88x2bu.ko': No such file or directory make: *** [Makefile:2290: install] Error 1

┌──(kali㉿root)-[~/RTL8812BU] └─$

looks you're running the kernel version 5.10.0-kali9
you need install linux-headers-5.10.0-kali9

  • sudo apt install linux-headers-5.10.0-kali9

after that compile again

cd RTL8812BU
make
sudo make install

from rtl8812bu.

snortingnails avatar snortingnails commented on July 19, 2024

i got this same error

from rtl8812bu.

whiteforcekali16 avatar whiteforcekali16 commented on July 19, 2024

I have the same issue with RTL8812AU.

from rtl8812bu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.