Realtek 8821 ce ��� linux

Проблемы с WIFI адаптерами RTL8821CE в Linux

Добрый день всем, кто оказался на данном сайте. В последнее время можно сталкнуться с тем, что нет драйвера на WIFI адаптер RTL8821CE. К примеру, я сталкнулся с этой проблемой когда приобрел новый ноутбук. Хотя например в Ubuntu 19.10 этот драйвер есть в репозиториях. Но, например в Debian и MX Linux его нет. Решается это довольно просто. Установкой его с gihub. И так, приступ. Для начала установим git:

Теперь можно приступать к скачиванию исходного пакета с gihub:

После чего переходим в папку с нашим исходником и приступаем к установке. Для начала скомпилируем исходник командой “make” и потом установим при помощи команды “install”

После успешной установки, нужно перезагрузить систему. После чего WIFI устройство обнаружиться системой и будет работать. А на этом сегоня все. Надеюсь данная статья будет вам полезна.

Вам также может понравиться

Как поднять ftp сервер

Телеграм боты для поиска информации – пробив

Настраиваем Tor на анонимность в сети

18 комментариев к « Проблемы с WIFI адаптерами RTL8821CE в Linux »

не сработало, у меня elementary os

введи команду inxi -F и скинь мне на мыло скрин, или на форуме можно посмотреть решение проблемы может кто и сталкивался http://linuxhome.spiritfamily.ru/forums/

У меня elementary os и всё сработало ноутбук HP 255 G7

HP, Elementary – нет wifi, Linux Mint – тоже нет. Просмотрел, перечитал кучу информации -ничего. Случайно наткнулся на ваш сайт – 10 минут и проблема решена. Благодарю Вас за краткость и доступность.

Спасибо, все понятно.

Сработало на Ubuntu 20.04.1! Спасибо!

как скачать, если нет интернета?

Можно подключиться по витой паре – по проводу, скачать и установить. А вообще, щас в ядро Linux уже добавили данный драйвер, его только в настройках активировать и все работает

Я подключил телефон через USB кабель.

автор, спасибо. супер статья и , главное, что без ошибок. множество статей на эту тему в сети, но ,видимо, авторы не сильно понимали, о чем пишут.. поэтому в статьях ошибки. у тебя все в порядке. спасибо. помогло решить задачу и не скатиться к использованию винды )))

Блаеодарю! думал уже на другую OS переходить
Все сработало на отлично, я снова с WIFI
ядро 5.10.6-desktop-1.mga7
ноут ASUS 2019 г.
карточка RTL8821ce
OS Mageia 7

Спасибо автору. Всё чётко и разумно. Для первичного подключения к сети использовал телефон через USB кабель.

Супер! Все получилось. Спасибо огромное.

Чуть было не забыл! Первым шагом отключаем Secure Boot в Биосе!

Источник

Realtek 8821 ce ��� linux

Realtek RTL8821CE Driver

This repository hosts the code for the Arch Linux AUR Package. It’s targeting Linux > 4.14 and is being developed for Arch Linux and Ubuntu 18.10. No support will be provided for other Linux distributions or Linux Kernel versions outside of that range.

The maintainers of this repository are not Realtek employees and are maintaining this repository for their own usage. Further feature development (such as proper power saving, etc.) will not be pursued here, but will be gladly integrated if newer driver sources are provided by Realtek. Use at your own risk.

This driver can be installed using DKMS. This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the dkms package.

Installation of Driver

Make sure you have a proper build environment and dkms installed.

The following steps are required prior to building the driver on Ubuntu/Debian:

Ubuntu users may also install the prebuilt rtl8821ce-dkms package, an older version of the driver maintained by the Ubuntu MOTU Developers group for bionic, eoan and focal. It has been known to work in cases where the newer driver available here does not. Bugs and issues with that package should be reported at Launchpad rather than here.

Читайте также:  Не работает внешний жесткий диск mac os

Make sure you have the base-devel package group installed before you proceed for the necessary compilation tools.

Installing from AUR

Dependencies for manual installation on Arch Linux

If you are running a non-vanilla kernel then install the headers to match the kernel package. Proceed to the section below.

An unofficial Gentoo package is available, using this repository as upstream. It is available from the trolltoo overlay. Gentoo does not use or require dkms for packaged drivers.

Manual installation of driver

In order to install the driver open a terminal in the directory with the source code and execute the following command:

Removal of Driver

Open a terminal window and git clone the repository to your local disk

Then run the installation script:

Remove the driver:

Make sure you have your local copy of this repository fully updated:

Clean any stale binaries:

When reporting issues, please make sure that debugging is enabled. To enable debugging either set MAKEFLAGS=»CONFIG_RTW_DEBUG = y» before compilation or edit Makefile:

This will enable verbose debug logging, helpful to developers.

PCIe Activate State Power Management

Your distribution may come with PCIe Active State Power Management enabled by default. That may conflict with this driver. To disable:

Add pci=noaer at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line should look like this:

Then update your GRUB configuration:

Lenovo Yoga laptops

Some new Yoga laptops (like the Yoga 530) come with rtl8821ce as the Wi-Fi/Bluetooth chip. But the ideapad-laptop module, which may come included in your distribution, may conflict with this driver. To disable:

BlueTooth is not working

This may be due to the Kernel loading up the wrong firmware file for this card. Please take a look at @wahsot’s tutorial at https://github.com/tomaspinho/rtl8821ce/issues/19#issuecomment-452196840 to see if that helps you out.

If your system uses Secure Boot, disable it via BIOS settings, otherwise the kernel will not accept user-supplied modules.

Unstable connection — slowdowns or dropouts

The problem may be due to the periodic scanning of access points by the network applet.

This fix worked helpful on Pop! _OS/Ubuntu 20.10 and Fedora 33. Both with GNOME and NetworkManager. #179

Set the BSSID from your network applet. In GNOME this can be done in WiFi Settings > Your profile > Identity > BSSID .

We are going to disable the Connectivity Check option in NetworkManager. This by editing the file in /var/lib/NetworkManager/NetworkManager-intern.conf and adding the following instructions at the end:

Then, just reboot or restart the NetworkManager unit to fix the problem.

Wi-Fi not working for kernel >= 5.9

The Linux Kernel 5.9 version comes with a broken rtw88 module developed by Realtek that has poor compatibility with most revision of the 8821ce chip.

You must disable it by adding the following to your module blacklists ( /etc/modprobe.d/blacklist.conf ):

Then, make sure you have the rtl8821ce module correctly installed.

Turn off your computer, wait a few seconds (to force firmware reload) and then turn it on again.

Wi-Fi and Bluetooth don’t work after suspend

This is a bug that won’t be fixed until/if Realtek implements proper power management themselves. Given they are now only working in rtw88 , this driver will most likely never be fixed in this regard. Please avoid opening issues about this.

Monitor (promiscuous) mode doesn’t work

This driver doesn’t support it and never will. Please avoid opening issues about this.

Источник

Realtek 8821 ce ��� linux

Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU and RTL8731AU Chipsets

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Linux Driver for USB WiFi Adapters that are based on the RTL8811CU, RTL8821CU and RTL8731AU Chipsets

  • v5.8.1.7 (Realtek) (2020-09-29)
  • Plus updates from the Linux community
  • IEEE 802.11 b/g/n/ac WiFi compliant
  • 802.1x, WEP, WPA TKIP and WPA2 AES/Mixed mode for PSK and TLS (Radius)
  • IEEE 802.11b/g/n/ac Client mode
    • Support wireless security for WEP, WPA TKIP and WPA2 AES PSK
    • Support site survey scan and manual connect
    • Support power saving mode
  • Supported interface modes:
    • IBSS
    • Managed
    • AP
    • Monitor
    • P2P-client
    • P2P-GO
  • Log level control
  • LED control
  • Power saving control
  • VHT control (allows 80 MHz channel width in AP mode)
Читайте также:  Windows driver package usb

A FAQ is available at the end of this document.

  • Kernels: 2.6.24 — 5.8 (Realtek)
  • Kernels: 5.9 — 5.15

Tested Linux Distributions

Arch Linux (kernel 5.4)

Arch Linux (kernel 5.9)

Fedora (kernel 5.11)

Linux Mint 20.2 (Linux Mint based on Ubuntu) (kernel 5.11)

Linux Mint 20 (Linux Mint based on Ubuntu) (kernel 5.4)

LMDE 4 (Linux Mint based on Debian) (kernel 4.19)

Manjaro 20.1 (kernel 5.9)

Raspberry Pi OS (2021-01-11) (ARM 32 bit) (kernel 5.10)

Raspberry Pi Desktop (x86 32 bit) (kernel 4.19)

Ubuntu 21.04 (kernel 5.11)

Ubuntu 20.04 (kernel 5.4)

Download Locations for Tested Linux Distributions

  • Cudy WU700
  • BrosTrend AC5L
  • EDUP EP-AC1651
  • EDUP EP-AC1635
  • D-Link — DWA-171C
  • TOTOLINK A650UA v3
  • Mercusys MU6H (multi-state)
  • Numerous additional products that are based on the supported chipsets

Warning: Beware of «multi-state» USB WiFi adapters. Some USB WiFi adapters have proprietary Windows drivers onboard. When plugged in, they act like a flash drive or CDROM and on Windows will attempt to start installing the Windows driver. That won’t work on Linux or MAC or any other non-Windows OS so the adapter sits there in flash drive or CDROM mode. The problem is that the state of the adapter has to be changed for the adapter to show up as the device that you expect, in this case, a WiFi adapter. Most modern Linux distributions ship with a utility called «usb-modeswitch» that will handle this issue for you if it has the correct information for your adapter. It is a good utility but if you buy adapters that are «multi-state,» that is one more potential headache you may have to deal with when something goes wrong. Often you can indentify adapters that are «multi-state» as they are advertised as «free driver» or «free installation driver.» If you are looking to buy a USB WiFi adapter for use on Linux, MAC OS, *NIX or anything besides Windows, it is a good idea to seek out single-state adapters.

Note: Some adapter makers change the chipsets in their products while keeping the same model number so please check to confirm that the product you plan to buy has the chipset you are expecting.

The installation instructions are for the novice user. Experienced users are welcome to alter the installation to meet their needs.

Temporary internet access is required for installation. There are numerous ways to enable temporary internet access depending on your hardware and situation. One method is to use tethering from a phone.. Another method to enable temporary internet access is to keep a wifi adapter that uses an in-kernel driver in your toolkit.

You will need to use the terminal interface. The quick way to open a terminal: Ctrl+Alt+T (hold down on the Ctrl and Alt keys then press the T key)

DKMS is used for the installation. DKMS is a system utility which will automatically recompile and install this driver when a new kernel is installed. DKMS is provided by and maintained by Dell.

It is recommended that you do not delete the driver directory after installation as the directory contains information and scripts that you may need in the future.

There is no need to disable Secure Mode to install this driver. If Secure Mode is properly setup on your system, this installation will support it.

Step 1: Open a terminal (Ctrl+Alt+T)

Step 2: Update the system (select the option for the OS you are using)

Источник

Realtek 8821 ce ��� linux

Realtek RTL8821CE Driver

This repository hosts the code for the Arch Linux AUR Package. It’s targeting Linux > 4.14 and is being developed for Arch Linux and Ubuntu 18.10. No support will be provided for other Linux distributions or Linux Kernel versions outside of that range.

The maintainers of this repository are not Realtek employees and are maintaining this repository for their own usage. Further feature development (such as proper power saving, etc.) will not be pursued here, but will be gladly integrated if newer driver sources are provided by Realtek. Use at your own risk.

Читайте также:  Linux dump process memory

This driver can be installed using DKMS. This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the dkms package.

Installation of Driver

Make sure you have a proper build environment and dkms installed.

The following steps are required prior to building the driver on Ubuntu/Debian:

Ubuntu users may also install the prebuilt rtl8821ce-dkms package, an older version of the driver maintained by the Ubuntu MOTU Developers group for bionic, eoan and focal. It has been known to work in cases where the newer driver available here does not. Bugs and issues with that package should be reported at Launchpad rather than here.

Make sure you have the base-devel package group installed before you proceed for the necessary compilation tools.

Installing from AUR

Dependencies for manual installation on Arch Linux

If you are running a non-vanilla kernel then install the headers to match the kernel package. Proceed to the section below.

An unofficial Gentoo package is available, using this repository as upstream. It is available from the trolltoo overlay. Gentoo does not use or require dkms for packaged drivers.

Manual installation of driver

In order to install the driver open a terminal in the directory with the source code and execute the following command:

Removal of Driver

Open a terminal window and git clone the repository to your local disk

Then run the installation script:

Remove the driver:

Make sure you have your local copy of this repository fully updated:

Clean any stale binaries:

When reporting issues, please make sure that debugging is enabled. To enable debugging either set MAKEFLAGS=»CONFIG_RTW_DEBUG = y» before compilation or edit Makefile:

This will enable verbose debug logging, helpful to developers.

PCIe Activate State Power Management

Your distribution may come with PCIe Active State Power Management enabled by default. That may conflict with this driver. To disable:

Add pci=noaer at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line should look like this:

Then update your GRUB configuration:

Lenovo Yoga laptops

Some new Yoga laptops (like the Yoga 530) come with rtl8821ce as the Wi-Fi/Bluetooth chip. But the ideapad-laptop module, which may come included in your distribution, may conflict with this driver. To disable:

BlueTooth is not working

This may be due to the Kernel loading up the wrong firmware file for this card. Please take a look at @wahsot’s tutorial at https://github.com/tomaspinho/rtl8821ce/issues/19#issuecomment-452196840 to see if that helps you out.

If your system uses Secure Boot, disable it via BIOS settings, otherwise the kernel will not accept user-supplied modules.

Unstable connection — slowdowns or dropouts

The problem may be due to the periodic scanning of access points by the network applet.

This fix worked helpful on Pop! _OS/Ubuntu 20.10 and Fedora 33. Both with GNOME and NetworkManager. #179

Set the BSSID from your network applet. In GNOME this can be done in WiFi Settings > Your profile > Identity > BSSID .

We are going to disable the Connectivity Check option in NetworkManager. This by editing the file in /var/lib/NetworkManager/NetworkManager-intern.conf and adding the following instructions at the end:

Then, just reboot or restart the NetworkManager unit to fix the problem.

Wi-Fi not working for kernel >= 5.9

The Linux Kernel 5.9 version comes with a broken rtw88 module developed by Realtek that has poor compatibility with most revision of the 8821ce chip.

You must disable it by adding the following to your module blacklists ( /etc/modprobe.d/blacklist.conf ):

Then, make sure you have the rtl8821ce module correctly installed.

Turn off your computer, wait a few seconds (to force firmware reload) and then turn it on again.

Wi-Fi and Bluetooth don’t work after suspend

This is a bug that won’t be fixed until/if Realtek implements proper power management themselves. Given they are now only working in rtw88 , this driver will most likely never be fixed in this regard. Please avoid opening issues about this.

Monitor (promiscuous) mode doesn’t work

This driver doesn’t support it and never will. Please avoid opening issues about this.

Источник

Оцените статью