Canbe used as content for research and analysis. Re: Any hope for Realtek 8811CU wireless LAN 802.11ac USB NIC working. The default mode of these USB 3.0 devices according to diagnostics is USB 2.0. Description Free Download n/a The package provides the installation files for Realtek 8812BU Wireless LAN 802.11ac USB NIC Driver version . Collected from the Realtek 11n usb wireless lan utility disconnected install# Install realtek rtl8188etv wireless lan 802.11n usb 2.0 network adapter driver for windows 7 圆4, or download driverpack solution software for automatic driver installation and update. A faster and easier option is to use the driver update utility for realtek to scan your system for free. Thechanges that is made are renaming the Wi-Fi display name (to distinguish between official drivers and modded ones) and added/edited lines on .inf file drivers to unlock Realtek Advanced features*. Installation:- - Uninstall your current Realtek driver with checkbox selected - Then simply open - Reboot or Restart your computer. Realtek8821CU Wireless LAN 802.11ac USB NIC - Driver Download * Vendor: ASUSTeK Computer Inc. * Product: Realtek 8821CU Wireless LAN 802.11ac USB NIC * Hardware Class: Net . Search For More Drivers *: Go! 64-bit. Windows 10 64-Bit Driver Thisvideo shows how to install the drivers for Alfa AWUS036ACH and ANY adapter that uses the RealTek RTL8812AU, it also shows how to enable monitor mode on. This is a fork of the Realtek 802.11ac (rtl8812au) v4.2.2 driver altered to build on Linux kernel version 3.10. My D-Link DWA-171 wireless dual-band USB adapter needs the Realtek 8812 au Iwas using the Realtek driver, but I have now changed this using Windows - so is now using a Microsoft driver. Both exibit the same issues. I set up a separate 5Ghz network on my router, so I could connect to that network manually - but the PC wont connect to that network and so sits on the 2.4Ghz network. . 无线USB-OC-Big-Sur适配器 欢迎使用无线USB OC Big Sur适配器 支持macOS Big Sur 11-macOS Catalina 仅适用于Hackintosh PC和笔记本电脑 必须禁用SIP 重要说明:由于某些Beta版本,您需要在/其他/安全性中禁用SecureBootModel➤请参阅图像 在任何macOS Big Sur版本上禁用Work SIP 要使用relase V5 SIP Security,必须禁用 最新更新2021年2月9日删除不必要的OpenCore Configurator 更新2020年11月29日,使用蓝色的WIFI图标,但类似于Big Sur 三叶草使用➢ ※※※ 问题: 您必须提供系统的完整详细信息, Realtek USB Wi- pawnslinger Level 1 Posts 2 Joined Tue Mar 26, 2019 957 pm [SOLVED] Realtek 8811CU Wireless LAN USB NIC I am a Windows user, trying to migrate to Linux. I am trying to setup Linux Mint Cinnamon. I have it working in VirtualBox, no problem. Working under Windows 10. I had to fiddle with the network connection setup in VB, but no real problem. So then I tried installing on my server testing was done on my workstation. I went straight for a dual boot setup, Windows 10 has 1 disc and Mint has its own disc, I switch by using the Bios boot order... no problem. Both Windows and Mint come up fine. But Mint has no clue about the Wif-Fi dongle. According to Windows Device Manager it is a Realtek 8811CU. I have an installation disc for it with "PC-Linux" software on it, but I have not been able to use it, I am mystified by all the errors that happen when I execute the " on the CDROM. I guess it is trying to compile the driver and can't do it on the CDROM being readonly, I assume. So I am at a loss as to how to proceed. From looking around the forum, I see mention of dongles that "just work". But have not been able to find recommendations. They are cheap enough, I would be willing to buy something that just worked. Any ideas or suggestions? I had to put the server back online, so I have somewhat limited time on it for testing. Last edited by pawnslinger on Wed Mar 27, 2019 502 am, edited 1 time in total. kukamuumuka Level 16 Posts 6741 Joined Tue Sep 03, 2013 451 am Location Finland Contact pawnslinger Level 1 Posts 2 Joined Tue Mar 26, 2019 957 pm Re Realtek 8811CU Wireless LAN USB NIC Post by pawnslinger » Wed Mar 27, 2019 459 am Thanks for "googling"... I guess I am not the only one having this problem. Even Windows didn't have the driver automatically, but at least the Windows setup worked and installed the driver. At any rate, I can't really do what was done in that article you found, as it like many other solutions require a wired network connection. And I don't have anything close to that. My server does have an Ethernet jack, but no way to get a cable to plug into it at least not one that is easy and cheap. I did some further looking around, and it seems that many people are having difficulty with AC type dongles. And I did find a recommendation for the Panda dongles, saying that they were reasonably priced and plug-n-play. So I ordered one online and that should get me off the dime. I did notice that many so-called wifi dongles claimed Linux compatibility, but were not actually plug-n-play. One that I found that really touted their Linux compatibility had loads of complaints from customers about how hard it was to get their product operational. In my book, if I have to compile 4 year old driver code off a CDROM - it is not Linux compatible. Just my 2 cents. Hello everyone, I have recently bought a usb wifi adapter as my current network card does not get any 5Ghz signal. I used to run on windows 10 so no issue to install the driver. But I got fed up of win10 as quite slow on my laptop. So i have decided to install linux mint with cinnamon desktop in dual boot just in case something went wrong with linux. I am a linux newbie by the way, so i did plenty of command without knowing or understanding what i was doing. But i have learnt a lot while doing it. I have tried to install the driver on linux but it does not work. I have followed many instructions such as the ones found on this forum, and others. When i am doing i get the following when the dongle is not plugged Bus 002 Device 001 ID 1d6b0003 Linux Foundation root hub Bus 001 Device 003 ID 04f2b47f Chicony Electronics Co., Ltd Bus 001 Device 006 ID 0bda0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 019 ID 04ca300b Lite-On Technology Corp. Atheros AR3012 Bluetooth Bus 001 Device 002 ID 05e30608 Genesys Logic, Inc. Hub Bus 001 Device 001 ID 1d6b0002 Linux Foundation root hub When the dongle is plugged i obtain this Bus 002 Device 001 ID 1d6b0003 Linux Foundation root hub Bus 001 Device 003 ID 04f2b47f Chicony Electronics Co., Ltd Bus 001 Device 006 ID 0bda0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 020 ID 0bda1a2b Realtek Semiconductor Corp. Bus 001 Device 019 ID 04ca300b Lite-On Technology Corp. Atheros AR3012 Bluetooth Bus 001 Device 002 ID 05e30608 Genesys Logic, Inc. Hub Bus 001 Device 001 ID 1d6b0002 Linux Foundation root hub So it recognises something has been plugged. I tried this after Code Select allsudo usb_modeswitch -KW -v 0bda -p 1a2b and did again Bus 002 Device 001 ID 1d6b0003 Linux Foundation root hub Bus 001 Device 003 ID 04f2b47f Chicony Electronics Co., Ltd Bus 001 Device 006 ID 0bda0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 021 ID 0bdac811 Realtek Semiconductor Corp. Bus 001 Device 019 ID 04ca300b Lite-On Technology Corp. Atheros AR3012 Bluetooth Bus 001 Device 002 ID 05e30608 Genesys Logic, Inc. Hub Bus 001 Device 001 ID 1d6b0002 Linux Foundation root hub So why the 0bda1a2b changed to 0bdac811 ? I have done all the different installations from various websites but nothing happened. The LED from the dongle is still not flashing.. I have literally spent 3 days on that without success.. please help me this is the one ... 22&sr=8-44 PS the description said it does not support linux. I bought it prior knowing i would install linux on my laptop. I thank you for your help! Seb ID 0bdab812 Realtek Semiconductor Corp. RTL88x2bu only, rtl8822BU chipset 0bdab812 0bdac820 rtl8821cu WiFi Bluetooth USB 0bdac820 Bus 001 Device 007 ID 0bdac820 Realtek Semiconductor Corp. NIC The device is supported by the following drivers lwfinger/rtl8723au_bt 不能用,NG brektrou/rtl8821CU 不能用,NG smp79/rtl8821CU 不能用,NG whitebatman2/rtl8821CU 不能用,NG 不能用,NG *** 备注: 能用的在本文的最下面 失败: [roothpi7 drivers] [roothpi7 drivers] git clone Cloning into 'rtl88x2bu'... remote Enumerating objects 1871, done. remote Counting objects 100% 138/138, done. remote Compressing objects 100% 94/94, done. remote Total 1871 delta 73, reused 96 delta 42, pack-reused 1733 Receiving objects 100% 1871/1871, MiB MiB/s, done. Resolving deltas 100% 1188/1188, done. [roothpi7 drivers] ls rtl8812au rtl88x2bu [roothpi7 drivers] cd rtl88 rtl8812au/ rtl88x2bu/ [roothpi7 drivers] cd rtl88x2bu/ [roothpi7 rtl88x2bu] ls clean core hal ifcfg-wlan0 include Kconfig LICENSE Makefile os_dep platform runwpa wlan0dhcp [roothpi7 rtl88x2bu] VER=$sed -n 's/\PACKAGE_VERSION="\.*\"/\1/p' [roothpi7 rtl88x2bu] rsync -rvhP ./ /usr/src/rtl88x2bu-${VER} sending incremental file list created directory /usr/src/ ./ .gitignore 422 100% 00000 xfr1, to-chk=704/706 Kconfig .git/objects/pack/ .git/objects/pack/pack-7aa47d04 100% 00000 xfr36, to-chk=651/706 ...... platform/ 100% 00000 xfr660, to-chk=2/706 platform/ 100% 00000 xfr661, to-chk=1/706 platform/ 989 100% 00000 xfr662, to-chk=0/706 sent bytes received bytes bytes/sec total size is speedup is [roothpi7 rtl88x2bu] [roothpi7 rtl88x2bu] dkms add -m rtl88x2bu -v ${VER} Creating symlink /var/lib/dkms/rtl88x2bu/ -> /usr/src/ DKMS add completed. [roothpi7 rtl88x2bu] [roothpi7 rtl88x2bu] dkms build -m rtl88x2bu -v ${VER} Kernel preparation unnecessary for this kernel. Skipping... Building module cleaning build area... make -j8 KERNELRELEASE= KVER= src=/usr/src/ exit status 2 Error! Bad return status for module build on kernel x86_64 Consult /var/lib/dkms/rtl88x2bu/ for more information. F*** ! [roothpi7 rtl88x2bu] ls clean core hal ifcfg-wlan0 include Kconfig LICENSE Makefile os_dep platform runwpa wlan0dhcp [roothpi7 rtl88x2bu] chmod +x ./ [roothpi7 rtl88x2bu] ./ Kernel preparation unnecessary for this kernel. Skipping... Building module cleaning build area... make -j8 KERNELRELEASE= KVER= src=/usr/src/ exit status 2 Error! Bad return status for module build on kernel x86_64 Consult /var/lib/dkms/rtl88x2bu/ for more information. [roothpi7 rtl88x2bu] make all make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/ M=/root/drivers/rtl88x2bu modules make[1] Entering directory '/usr/src/kernels/ CC [M] /root/drivers/rtl88x2bu/core/ ^~~~~~~~ /root/drivers/rtl88x2bu/os_dep/linux/ note each undeclared identifier is reported only once for each function it appears in make[2] *** [scripts/ /root/drivers/rtl88x2bu/os_dep/linux/ Error 1 make[1] *** [Makefile1860 /root/drivers/rtl88x2bu] Error 2 make[1] Leaving directory '/usr/src/kernels/ make *** [Makefile2284 modules] Error 2 F*** ! [roothpi7 rtl88x2bu] [roothpi7 rtl88x2bu] make uninstall rm -f /lib/modules/ /sbin/depmod -a NG NG NG NG NG RTL8812AU/21AU and RTL8814AU linux driver with monitor mode and frame injection The master branch is based on branch git clone [roothpi7 drivers] cd rtl8812au/ [roothpi7 rtl8812au] ls android core docs hal include Kconfig LICENSE Makefile os_dep platform tools [roothpi7 rtl8812au] [roothpi7 rtl8812au] make all make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/ M=/root/drivers/rtl8812au modules make[1] Entering directory '/usr/src/kernels/ CC [M] /root/drivers/rtl8812au/core/ CC [M] /root/drivers/rtl8812au/core/ ...... CC [M] /root/drivers/rtl8812au/core/ LD [M] /root/drivers/rtl8812au/ MODPOST /root/drivers/rtl8812au/ CC [M] /root/drivers/rtl8812au/ LD [M] /root/drivers/rtl8812au/ BTF [M] /root/drivers/rtl8812au/ Skipping BTF generation for /root/drivers/rtl8812au/ due to unavailability of vmlinux make[1] Leaving directory '/usr/src/kernels/ - Visit for support/reporting issues or check for newer versions branches of these drivers. - [roothpi7 rtl8812au] [roothpi7 rtl8812au] make install install -p -m 644 /lib/modules/ /sbin/depmod -a [roothpi7 rtl8812au] 看起来,成功一半, 还差签名 MOK(Machine Owner Key)[roothpi7 rtl8812au] modprobe 88XXau -v insmod /lib/modules/ modprobe ERROR could not insert '88XXau' Key was rejected by service 签了名, 还是不认网卡。 型号错了就是死局......[roothpi7 ~] [roothpi7 ~] lsusb Bus 002 Device 001 ID 1d6b0003 Linux Foundation root hub Bus 001 Device 005 ID 0bda0153 Realtek Semiconductor Corp. 3-in-1 SD/SDHC/SDXC Card Reader Bus 001 Device 009 ID 0bdac820 Realtek Semiconductor Corp. NIC [roothpi7 ~] [roothpi7 ~] usb_modeswitch -KW -v 0bda -p c820 Take all parameters from the command line * usb_modeswitch handle USB devices with multiple modes * Version C Josua Dietze 2017 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x0bda DefaultProduct= 0xc820 StandardEject=1 Look for default devices ... found USB ID 0bda0153 vendor ID matched found USB ID 0bdac820 vendor ID matched product ID matched Found devices in default mode 1 Access device 009 on bus 001 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 224 Error can't use storage command in MessageContent with interface 0; interface class is 224, expected 8. Abort F*** [roothpi7 ~] usb_modeswitch -KW -v 0bda -p 0153 Take all parameters from the command line * usb_modeswitch handle USB devices with multiple modes * Version C Josua Dietze 2017 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x0bda DefaultProduct= 0x0153 StandardEject=1 Look for default devices ... found USB ID 0bda0153 vendor ID matched product ID matched found USB ID 0bdac820 vendor ID matched Found devices in default mode 1 Access device 005 on bus 001 Get the current device configuration ... Current configuration number is 1 Use interface number 0 with class 8 Use endpoints 0x01 out and 0x82 in USB description data for identification - Manufacturer Generic Product Serial No. 2012000 - Sending standard EJECT sequence Looking for active drivers ... OK, driver detached Set up interface 0 Use endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... OK, message successfully sent Read the response to message 1 CSW ... Response successfully read 13 bytes, status 0 Trying to send message 2 to endpoint 0x01 ... OK, message successfully sent Read the response to message 2 CSW ... Response successfully read 13 bytes, status 0 Trying to send message 3 to endpoint 0x01 ... OK, message successfully sent Read the response to message 3 CSW ... Response successfully read 13 bytes, status 0 Trying to send message 4 to endpoint 0x01 ... OK, message successfully sent Read the response to message 4 CSW ... Response successfully read 13 bytes, status 0 Reset response endpoint 0x82 Reset message endpoint 0x01 -> Run lsusb to note any changes. Bye! ......似乎,还是,这个看起来靠点谱 rtw88-usb mac80211 kernel driver currently supported chipset's 8723du 8822bu with variants 8821cu 8822cu It's under GPL license, and please feel free to use it. Also welcome to upstream to the Linux kernel if you want, and please refer to the branch, for_kernel_upstream, which meets the Linux coding style, and may be easier to upstream. Thank to many people's kind help on this project. BIG tanks to Ji-Pin Jou and Neo Jou, for the USB parts supports at least managed client and monitor mode. This driver is based on Realtek's rtw88 in Linux main trunk. [roothpi7 drivers] git clone Cloning into 'rtw88-usb'... remote Enumerating objects 3149, done. remote Counting objects 100% 1177/1177, done. remote Compressing objects 100% 493/493, done. remote Total 3149 delta 967, reused 869 delta 684, pack-reused 1972 Receiving objects 100% 3149/3149, MiB MiB/s, done. Resolving deltas 100% 2412/2412, done. [roothpi7 drivers] [roothpi7 drivers] [roothpi7 drivers] cd rtw88-usb/ [roothpi7 rtw88-usb] ls Kconfig LICENSE fw log Makefile [roothpi7 rtw88-usb] [roothpi7 rtw88-usb] make clean rm -f *.o .*.d *.a *.ko .*.cmd *.mod* *.order *.symvers *.tmp_versions [roothpi7 rtw88-usb] [roothpi7 rtw88-usb] make all make -C /lib/modules/ M=/root/drivers/rtw88-usb make[1] Entering directory '/usr/src/kernels/ CC [M] /root/drivers/rtw88-usb/ CC [M] /root/drivers/rtw88-usb/ ...... BTF [M] /root/drivers/rtw88-usb/ Skipping BTF generation for /root/drivers/rtw88-usb/ due to unavailability of vmlinux CC [M] /root/drivers/rtw88-usb/ LD [M] /root/drivers/rtw88-usb/ BTF [M] /root/drivers/rtw88-usb/ Skipping BTF generation for /root/drivers/rtw88-usb/ due to unavailability of vmlinux CC [M] /root/drivers/rtw88-usb/ LD [M] /root/drivers/rtw88-usb/ BTF [M] /root/drivers/rtw88-usb/ Skipping BTF generation for /root/drivers/rtw88-usb/ due to unavailability of vmlinux make[1] Leaving directory '/usr/src/kernels/ [roothpi7 rtw88-usb] [roothpi7 rtw88-usb] make load echo "Unload upstream drivers" Unload upstream drivers for m in rtw88_8723de rtw88_8723d rtw88_8822be rtw88_8822b \ rtw88_8821ce rtw88_8821c rtw88_8822ce rtw88_8821c \ rtw88_pci rtw88_core; \ do rmmod "$m" 2> /dev/null; done; make *** [Makefile116 load] Error 1 [roothpi7 rtw88-usb] [roothpi7 rtw88-usb] make install WARNING ========================================== you are about to install rtw88-usb drivers Wait 5 sec or CTRL-C rtw88-usb drivers installed [roothpi7 rtw88-usb] [roothpi7 rtw88-usb] make firmware WARNING ========================================== you are about to install rtw88-usb firmware Wait 5 sec or CTRL-C rtw88-usb firmware installed [roothpi7 rtw88-usb] 好吧, 签名吧[roothpi7 signed-modules] ls /usr/src/kernels/$uname -r/scripts/sign-file /usr/src/kernels/ [roothpi7 signed-modules] vi sign-rtw88-usb [roothpi7 signed-modules] [roothpi7 signed-modules] cat ./sign-rtw88-usb !/bin/bash for modfile in $dirname $modinfo -n rtw88-usb/*.ko; do echo "Signing $modfile" /usr/src/kernels/$uname -r/scripts/sign-file sha256 \ /root/signed-modules/ \ /root/signed-modules/ "$modfile" done [roothpi7 signed-modules] [roothpi7 signed-modules] ls sign-rtw88-usb [roothpi7 signed-modules] chmod +x ./sign-rtw88-usb [roothpi7 signed-modules] ls sign-rtw88-usb [roothpi7 signed-modules] [roothpi7 signed-modules] ./sign-rtw88-usb Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ Signing /lib/modules/ [roothpi7 signed-modules] [roothpi7 signed-modules] modprobe rtw88-usb [roothpi7 signed-modules] [roothpi7 signed-modules] lsmod grep 88 rtw88_usb 20480 0 rtw88_core 163840 1 rtw88_usb mac80211 1134592 3 iwlmvm,rtw88_core,rtw88_usb cfg80211 1003520 4 iwlmvm,rtw88_core,iwlwifi,mac80211 还是认不了网卡,NG 还是认不了网卡,NG (废话)为避免每次内核更新时又要手工重新编译驱动模块,看看是否要使用动态内核模块支持(DKMS 的一个重要特征是,如安装新的内核版本,它会“自动”编译所有DKMS模块)。...... Realtek RTL8821CE Driver This repository hosts the code for the Arch Linux AUR Package. It's targeting Linux > and is being developed for Arch Linux and Ubuntu No support will be provided for other Linux distributions or Linux Kernel versions outside of that range. 同样不能用,NG RTL8811CU and RTL8821CU driver The Realtek RTL8811CU-CG is a highly integrated single-chip that supports 1-stream solutions with Multi-user MIMO Multiple-Input, Multiple-Output and Wireless LAN WLAN USB interface controller. It combines a WLAN MAC, a 1T1R capable WLAN baseband, and RF in a single chip. The RTL8811CU-CG provides an outstanding solution for a high-performance integrated wireless device. USB high speed interface GHz Support GHz Support Supports concurrent mode operates as two virtual WLAN interfaces MIMO config - 1x1 MU-MIMO AC wave2 256 QAM 过程略......每次总是感觉山穷水尽的时候, 就 *** 的看到曙光女神了。俺觉得答案总是藏在互联网的一个偏僻的角落, 等着被发现。事后发现, 这是唯一能用, 还是这个 好用仍旧重复上面的步骤, 从 GITHUB 克隆别人的文件。BUILD, 然后签名。[wenxuehpi7 ~]$ cd rtl8821cu581/ [wenxuehpi7 rtl8821cu581]$ ls [wenxuehpi7 rtl8821cu581]$ rm *.* -rf [wenxuehpi7 rtl8821cu581]$ ls [wenxuehpi7 rtl8821cu581]$ git clone Cloning into '8821cu'... remote Enumerating objects 1311, done. remote Counting objects 100% 187/187, done. remote Compressing objects 100% 132/132, done. remote Total 1311 delta 109, reused 119 delta 55, pack-reused 1124 Receiving objects 100% 1311/1311, MiB MiB/s, done. Resolving deltas 100% 663/663, done. [wenxuehpi7 rtl8821cu581]$ ls 8821cu [wenxuehpi7 rtl8821cu581]$ cd 8821cu/ [wenxuehpi7 8821cu]$ ls hal include Kconfig Makefile platform core LICENSE os_dep supported-device-IDs [wenxuehpi7 8821cu]$ sudo make all [sudo] password for wenxue make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/ M=/home/wenxue/rtl8821cu581/8821cu modules make[1] Entering directory '/usr/src/kernels/ CC [M] /home/wenxue/rtl8821cu581/8821cu/core/ CC [M] /home/wenxue/rtl8821cu581/8821cu/core/ ...... CC [M] /home/wenxue/rtl8821cu581/8821cu/hal/btc/ CC [M] /home/wenxue/rtl8821cu581/8821cu/hal/btc/ CC [M] /home/wenxue/rtl8821cu581/8821cu/platform/ CC [M] /home/wenxue/rtl8821cu581/8821cu/core/ LD [M] /home/wenxue/rtl8821cu581/8821cu/ MODPOST /home/wenxue/rtl8821cu581/8821cu/ CC [M] /home/wenxue/rtl8821cu581/8821cu/ LD [M] /home/wenxue/rtl8821cu581/8821cu/ BTF [M] /home/wenxue/rtl8821cu581/8821cu/ Skipping BTF generation for /home/wenxue/rtl8821cu581/8821cu/ due to unavailability of vmlinux make[1] Leaving directory '/usr/src/kernels/ [wenxuehpi7 8821cu]$ [wenxuehpi7 8821cu]$ [wenxuehpi7 8821cu]$ sudo make install install -p -m 644 /lib/modules/ /sbin/depmod -a [wenxuehpi7 8821cu]$ [wenxuehpi7 8821cu]$ modprobe 8821cu modprobe ERROR could not insert '8821cu' Operation not permitted 又 ***** 的忘记签名 [wenxuehpi7 8821cu]$ su - Password [roothpi7 ~] [roothpi7 ~] cd signed-modules/ [roothpi7 signed-modules] ls sign-rtl88-aircrk sign-rtw88-usb [roothpi7 signed-modules] [roothpi7 signed-modules] cp sign-rtw88-usb sign-8821cu [roothpi7 signed-modules] vi ./sign-8821cu [roothpi7 signed-modules] [roothpi7 signed-modules] cat ./sign-8821cu !/bin/bash for modfile in $dirname $modinfo -n 8821cu/*.ko; do echo "Signing $modfile" /usr/src/kernels/$uname -r/scripts/sign-file sha256 \ /root/signed-modules/ \ /root/signed-modules/ "$modfile" done [roothpi7 signed-modules] [roothpi7 signed-modules] ./sign-8821cu Signing /lib/modules/ Signing /lib/modules/ [roothpi7 signed-modules] [roothpi7 signed-modules] modprobe -a 8821cu [roothpi7 signed-modules] iwconfig lo no wireless extensions. enp2s0 no wireless extensions. wlp4s0 IEEE ESSID"Linksys0****" ModeManaged Frequency GHz Access Point 48F8****** Bit Rate= Mb/s Tx-Power=22 dBm Retry short limit7 RTS throff Fragment throff Encryption keyoff Power Managementon Link Quality=58/70 Signal level=-52 dBm Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0 Tx excessive retries0 Invalid misc150 Missed beacon0 virbr0 no wireless extensions. wlp0s20f0u3i2 unassociated Nickname"WIFIRTL8821CU" ModeManaged Frequency= GHz Access Point Not-Associated Sensitivity0/0 Retryoff RTS throff Fragment throff Encryption keyoff Power Managementoff Link Quality0 Signal level0 Noise level0 Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0 Tx excessive retries0 Invalid misc0 Missed beacon0 [roothpi7 signed-modules]确认已经安装了 sign-file[roothpi7 signed-modules] ls /usr/src/kernels/$uname -r/scripts/sign-file /usr/src/kernels/ for modfile in $dirname $modinfo -n 8821cu/*.ko; do echo "Signing $modfile" /usr/src/kernels/$uname -r/scripts/sign-file sha256 \ /root/signed-modules/ \ /root/signed-modules/ "$modfile" done参考阅读 Signing VirtualBox Kernel Modules Signing Kernel Modules for Secure Boot Dynamic Kernel Module Support Tool -Provided by Package -Used on-Purposeopenssl openssl Build system Generates public and private key pairsign-file kernel-devel Build system Perl script used to sign kernel modulesperl perl Build system Perl interpreter used to run the signing scriptmokutil mokutil Target system Optional tool used to manually enroll the public keykeyctl keyutils Target system Optional tool used to display public keys in the system key ring[roothpi7 ~] dkms status rtl88x2bu, added [roothpi7 ~] [roothpi7 ~] dkms status rtl88x2bu, added [roothpi7 ~] [roothpi7 ~] dkms remove rtl88x2bu/ -all Error! The module/version combo is not located in the DKMS tree. [roothpi7 ~] [roothpi7 ~] dkms remove rtl88x2bu/ -all - Deleting module version completely from the DKMS tree. - Done. 过程俺留着,解决问题的手段是类似或者说一样的。 方便寻找其他芯片 LINUX 驱动的读者去探索。 吐槽一句:REALTEK 把驱动藏着掖着, 也不知道为了什么。【磨难结束了】 内容简介:Realtek 8811CU Wireless LAN USB NIC 安装到 kali-linux 方法有些代码可能需要 root 权限,请保证现在登录的是 root 用户1、先将 kali 系统升级到最新(已经是最新的小伙伴可以忽略)2、安装内核头文件Sudo apt update(习惯使用和“&&”来减少代码,结果后面的报错了)sudo apt dist-upgradesudo apt install linux-headers-`uname -r`可以先将 USB 网卡插到 win 系统或者使用 lsusb 命令来查看网卡型号(我这里是RTL8811CU)3、安装依赖...

realtek 8811cu wireless lan 802.11 ac usb