Can't download Header for RTL88x2BU

  • Hi


    I try to connect my future NAS with the 5.6 version (the same as the 6.0) with USB stick wifi. I need to install the RTL88x2BU but when I try it says that I dont have modules:

    Code
    /lib/modules/5.10.0-0bpo.8-amd64/build: not found

    I tried also to download the Headear but I failed:

    Code
    sudo apt install linux-headers-$(uname -r)


    Do you know how can I do it?



    Regards!

  • What was the error message when you tried to install linux-headers?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • the issue is:


    Code
    root@nas:~/RTL88x2BU-Linux-Driver# sudo make
    make ARCHwx86_64 CROSSCOMPILE= -C /lib/modules/5.10.0-0.bpo.4-amd64/build M=/root/RTL88x2BU-Linux-Driver modules
    make[1]: ***/lib/modules/5.16.0-0.bpo.4-amd64/build : No such file or folder. Stop.
    make: *** [Makefile:2455 : modules] Erreur 2
    • Offizieller Beitrag

    I would guess you upgrade linux-headers-amd64 but not the kernel. If that is the case, the headers would be too new. What is the output of:


    uname -a

    dpkg -l | grep -E "linux-image|linux-headers"


    You can also get a newer kernel (6.0) that might already have support for that wifi device in it.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I just install OMV on the PC and do an atp upgrade for the moment, but it was the same before.


    For uname +a:

    Code
    Linux NAS 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-4~bpo10+1 (2021-08-07) x86_x64 GNU/Linux

    For the second one:

    Code
    ii Linux-image-5.10.0-0.bpo.8-amd64     5.10.46-4~bpo10+1    amd64   Linux 5.10 for 64-bits PCs (signed)
    ii Linux-image-5.10.0-0.deb10.10-amd64  5.10.127-2~bpo10+1   amd64   Linux 5.10 for 64-bits PCs (signed)
    ii linux-image-amd64                    5.10.127-2~bpo10+1   amd64   Linux 5.10 for 64-bits PCs (signed)


    I was in the 6.0 before, but as I have an issue I tried with the old one, and it was the same..

    • Offizieller Beitrag

    You should be using OMV 6.x. Without output from omv 6.x, it is hard to help there. On the second install, you don't have the headers package installed. But go back to OMV 6.x and I can help more.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Sure, give me few minutes.

    I do these steps, I will mount the openmediavault_6.0.24-amd64.iso on a usb. On my NAS, i do

    Code
    sudo apt update then sudo apt upgrade

    i remember that I need to install zip, unzip (for the driver of my USB stick Wifi), bc and build-essential (make was not installed).


    Do I need to install other things?

    • Offizieller Beitrag

    sudo apt-get install linux-headers-amd64


    I would remove the 5.16 kernel after the upgrade installs the 6.0 kernel.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • That's much better! I follow this procedure How to install RTL88x2BU. I can now do the sudo make step. but I got few errors:


    But for the next step on the PDF:

    Code
    root@ubuntu:/home/colin/project/rtl88x2bu_linux# sudo make install

    I got:

    Code
    root@NAS:/media/usb1/rtl88x2bu_linux# sudo make install
    install —p -m 644 88x2bu.ko /lib/modules/6.0.0-0.deb11.6-amd64/kernel/driversinet/wireless/
    install: cannot stat '88x2bu.kol: No such file or directory
    make: *** [Hakeile:2384: install] Error 1
    root@NAS:imedia/usb1/rt188z2bu_linux#

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!