[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Realtek Wireless USB Network Card and DKMS



Hi Stefan,


I treid another way:


First downloaded only the package from your source.



> 2025-04-15 13:52:39 URL:https://linux.brostrend.com/rtl8821cu-dkms.deb

> [4035666/4035666] -> "rtl8821cu-dkms.deb" [1]


Then just installed it using


dpkg -i rtl8821cu-dkms.deb


This built automatically the kernel module and installed it:


--- snip ----


LANG=C dpkg -i /home/ullhan63/Downloads/rtl8821cu-dkms.deb  
(Reading database ... 574778 files and directories currently installed.)
Preparing to unpack .../Downloads/rtl8821cu-dkms.deb ...
Module rtl8821cu-5.12.0 for kernel 6.1.0-33-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

8821cu.ko:
- Uninstallation
  - Deleting from: /lib/modules/6.1.0-33-amd64/updates/dkms/
- Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module rtl8821cu-5.12.0 completely from the DKMS tree.
Unpacking rtl8821cu-dkms (5.12.0-16b11) over (5.12.0-16b11) ...
Setting up rtl8821cu-dkms (5.12.0-16b11) ...
Loading new rtl8821cu-5.12.0 DKMS files...
Building for 6.1.0-33-amd64
Building initial module for 6.1.0-33-amd64
Done.

8821cu.ko:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.1.0-33-amd64/updates/dkms/
depmod...

---snap ---


However, make sure, all dependencies for building are installed. The easiest way for this is, to install the package "module-assistant".


Then start it with the commad "m-a".  This will start a ncurses gui, and then just perform the steps "update" and "prepare". If something is missing, it will install it.



Hint: When you need to show the output of a commandline, and you do not want it in your own language (here German, as you have a German environment), then just put a "LANG=C" before it,


for example for


apt-get update


use


LANG=C apt-get update


instead. Doing so, your output will be in English. Also helpfull, when you need any other language.


Hope this helps, good luck!


Best


Hans




Reply to: