- Saved searches
- Use saved searches to filter your results more quickly
- License
- mcx-lab/RTL8811CU
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Realtek rtl8811cu wifi linux
- Realtek rtl8811cu wifi linux
- Установка
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
License
mcx-lab/RTL8811CU
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver version 5.4.1 for Linux 4.4.x up to 5.6.x
A few known wireless cards that use this driver include:
To build, you have to retrieve source and run make . If via Git, do following:
sudo apt-get update sudo apt-get install -y build-essential dkms git bc git clone https://github.com/fastoe/RTL8811CU.git cd RTL8811CU make sudo make install sudo reboot
Plug your USB Wi-Fi adapter into your PC.
Use the tool ‘iw’, please don’t use other tools like ‘airmon-ng’
iw dev wlan0 set monitor none
About
Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
Realtek rtl8811cu wifi linux
Предыстория : Первоначально этот usb-свисток был установлен на мой старый комп на базе LM19.3 на платформе AM2 и прекрасно установилось и работало. Далее я переехал на новый комп , без проблем система запустилась на том же SSD , ну и тоже все работает .
inxi -Fxz System: Host: Volp Kernel: 5.4.0-92-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: MATE 1.22.2 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic Machine: Type: Desktop Mobo: KLLISRE model: X79 v: V1.2 serial: UEFI: American Megatrends v: 4.6.5 date: 11/15/2021 CPU: Topology: 8-Core model: Intel Xeon E5-2650L 0 bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 L2 cache: 20.0 MiB flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57596 Speed: 1200 MHz min/max: 1200/2300 MHz Core speeds (MHz): 1: 1200 2: 1200 lshw -C network 3: 1200 4: 1200 5: 1200 6: 1200 7: 1250 8: 1202 9: 1200 10: 1200 11: 1200 12: 1200 13: 1200 14: 1200 15: 1200 16: 1200 Graphics: Device-1: AMD RV730 XT [Radeon HD 4670] vendor: Micro-Star MSI driver: radeon v: kernel bus ID: 03:00.0 Display: x11 server: X.Org 1.19.6 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1280x1024~60Hz OpenGL: renderer: AMD RV730 (DRM 2.50.0 / 5.4.0-92-generic LLVM 10.0.0) v: 3.3 Mesa 20.0.8 direct render: Yes Audio: Device-1: Intel C600/X79 series High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 Device-2: AMD RV710/730 HDMI Audio [Radeon HD 4000 series] vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 03:00.1 Sound Server: ALSA v: k5.4.0-92-generic Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel port: d000 bus ID: 07:00.0 IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: Device-2: Realtek type: USB driver: rtl8821cu bus ID: 2-1.7:3 IF: wlx002e2d300fc4 state: up mac: IF-ID-1: virbr0 state: down mac: IF-ID-2: virbr0-nic state: down mac: Drives: Local Storage: total: 350.27 GiB used: 32.94 GiB (9.4%) ID-1: /dev/nvme0n1 model: KLLISRE 256GB size: 238.47 GiB ID-2: /dev/sda model: KSQ120 size: 111.79 GiB Partition: ID-1: / size: 109.53 GiB used: 32.94 GiB (30.1%) fs: ext4 dev: /dev/sda1 Sensors: System Temperatures: cpu: 35.0 C mobo: N/A gpu: radeon temp: 49 C Fan Speeds (RPM): N/A Info: Processes: 351 Uptime: 2m Memory: 15.57 GiB used: 1.33 GiB (8.6%) Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20 inxi: 3.0.32
sudo lshw -C network *-network описание: Ethernet interface продукт: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller производитель: Realtek Semiconductor Co., Ltd. физический ID: 0 сведения о шине: pci@0000:07:00.0 логическое имя: enp7s0 версия: 06 серийный №: 2a:10:a1:15:0e:d8 размер: 100Mbit/s capacity: 1Gbit/s разрядность: 64 bits частота: 33MHz возможности: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation конфигурация: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.100.6 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s ресурсы: IRQ:18 ioport:d000(размер=256) память:fbc00000-fbc00fff память:f0000000-f0003fff *-network:0 ВЫКЛЮЧЕНО описание: Ethernet interface физический ID: 2 логическое имя: virbr0-nic серийный №: 52:54:00:94:3a:fc размер: 10Mbit/s возможности: ethernet physical конфигурация: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s *-network:1 описание: Беспроводной интерфейс физический ID: 3 сведения о шине: usb@2:1.7 логическое имя: wlx002e2d300fc4 серийный №: 00:2e:2d:30:0f:c4 возможности: ethernet physical wireless конфигурация: broadcast=yes driver=rtl8821cu ip=10.42.0.1 multicast=yes wireless=IEEE 802.11bgn
System: Kernel: 5.13.0-23-generic x86_64 bits: 64 compiler: N/A Desktop: MATE 1.26.0 Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal Machine: Type: Desktop Mobo: KLLISRE model: X79 v: V1.2 serial: UEFI: American Megatrends v: 4.6.5 date: 11/15/2021 CPU: Topology: 8-Core model: Intel Xeon E5-2650L 0 bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 L2 cache: 20.0 MiB flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57600 Speed: 1290 MHz min/max: 1200/2300 MHz Core speeds (MHz): 1: 1200 2: 1200 3: 1200 4: 1243 5: 1454 6: 1200 7: 1200 8: 1207 9: 1200 10: 1200 11: 1200 12: 1200 13: 1200 14: 1200 15: 1200 16: 1209 Graphics: Device-1: AMD RV730 XT [Radeon HD 4670] vendor: Micro-Star MSI driver: radeon v: kernel bus ID: 03:00.0 Display: x11 server: X.Org 1.20.13 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1280x1024~60Hz OpenGL: renderer: AMD RV730 (DRM 2.50.0 / 5.13.0-23-generic LLVM 12.0.0) v: 3.3 Mesa 21.0.3 direct render: Yes Audio: Device-1: Intel C600/X79 series High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 Device-2: AMD RV710/730 HDMI Audio [Radeon HD 4000 series] vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 03:00.1 Sound Server: ALSA v: k5.13.0-23-generic Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel port: d000 bus ID: 07:00.0 IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: Drives: Local Storage: total: 350.27 GiB used: 104.83 GiB (29.9%) ID-1: /dev/nvme0n1 model: KLLISRE 256GB size: 238.47 GiB ID-2: /dev/sda model: KSQ120 size: 111.79 GiB Partition: ID-1: / size: 51.04 GiB used: 11.99 GiB (23.5%) fs: ext4 dev: /dev/nvme0n1p2 ID-2: /home size: 182.34 GiB used: 59.89 GiB (32.8%) fs: ext4 dev: /dev/nvme0n1p3 Sensors: System Temperatures: cpu: 31.0 C mobo: N/A gpu: radeon temp: 49 C Fan Speeds (RPM): fan-1: 0 fan-2: 1542 fan-3: 0 fan-4: 0 fan-5: 0 Voltages: 12v: N/A 5v: N/A 3.3v: 3.39 vbat: 3.31 Info: Processes: 325 Uptime: 22m Memory: 15.56 GiB used: 1.77 GiB (11.4%) Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38
~/rtl8821ce$ sudo ./dkms-install.sh About to run dkms install steps. Creating symlink /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/source -> /usr/src/rtl8821ce-v5.5.2_34066.20200325 DKMS: add completed. Kernel preparation unnecessary for this kernel. Skipping. Building module: cleaning build area. 'make' -j16 KVER=5.13.0-23-generic. Signing module: - /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/5.13.0-23-generic/x86_64/module/8821ce.ko This system doesn't support Secure Boot Secure Boot not enabled on this system. cleaning build area. DKMS: build completed. 8821ce.ko: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/5.13.0-23-generic/updates/dkms/ depmod. DKMS: install completed. Finished running dkms install steps.
GRUB_DEFAULT="0" #GRUB_TIMEOUT_STYLE="hidden" GRUB_TIMEOUT="1" GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD . ) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL="console" # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE="640x480" # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID="true" # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"
Все делаю как в теме Установка драйвера Realtek 8821
По поводу Secury Boot — как такового в BIOS этого нет, есть только LAUNCH CSM , который я пробовал ставить и Enabe и Disable. Нашел такую команду mokutil
sudo mokutil --disable-validation This system doesn't support Secure Boot
Bus 002 Device 004: ID 046d:c542 Logitech, Inc. Bus 002 Device 003: ID 0bda:c811 Realtek Semiconductor Corp. Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo lshw -C network *-network описание: Ethernet interface продукт: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller производитель: Realtek Semiconductor Co., Ltd. физический ID: 0 сведения о шине: pci@0000:07:00.0 логическое имя: enp7s0 версия: 06 серийный №: 2a:10:a1:15:0e:d8 размер: 100Mbit/s capacity: 1Gbit/s разрядность: 64 bits частота: 33MHz возможности: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation конфигурация: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.13.0-23-generic duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.100.6 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s ресурсы: IRQ:18 ioport:d000(размер=256) память:fbc00000-fbc00fff память:f0000000-f0003fff
Realtek rtl8811cu wifi linux
Установка драйвера для Wi-Fi адаптера от Realtek под Linux может стать небольшой проблемой. Есть несколько версий драйверов на github, но не все подходят для ядра линукс версий 5.+ . Здесь покажу рабочий вариант
У меня USB адаптер, и вот так он выглядит в lsusb. ID: 0bda:c811
Bus 001 Device 003: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Установка
Вот этот драйвер подойдет к адаптерам на базе RTL8811CU RTL8821CU RTL8731AU, и к Linux kernel версий 4.19-6.1: https://github.com/morrownr/8821cu-20210916
Устанавливаю на Ubuntu 22.10:
sudo apt update && sudo apt install build-essential git dkms bc git clone https://github.com/morrownr/8821cu-20210916.git cd 8821cu-20210916 sudo ./install-driver.sh
Если все прошло успешно, скрипт спросит “Do you want to edit the driver options file now?” — отказываемся. На предложение перезагрузки соглашаемся 🙂
После ребута получаем рабочий Wi-Fi адаптер: