- Не работает wi-fi адаптер
- 0bda c811 driver linux
- About
- MX Linux Forum
- [SOLVED] WiFi USB adapter RTL8811 (0bda:c811) was not working
- [SOLVED] WiFi USB adapter RTL8811 (0bda:c811) was not working
- Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
- Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
- Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
- Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
- Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
- Re: [SOLVED] WiFi USB adapter RTL8811 (0bda:c811) was not working
- 0bda c811 driver linux
- About
- 0bda c811 driver linux
- About
Не работает wi-fi адаптер
Доброго времени суток. Столкнулся с проблемой — не работает wi-fi адаптер. Через lsusb показывает его как 0bda:c811 Realtek Semiconductor Corp. Пробовал ставить драйвера с Github’а, но все равно не работает. При установке rtl8821ce показывает ошибку «Error! Bad return status for module build on kernel: 5.4.0-kali4-amd64 (x86_64)». А при modprobe выдает «FATAL: Module 8821ce not found in directory /lib/modules/5.4.0-kali4-amd64». Аналогично с драйвером rtl8821CU. В «ifconfig» не отображается как интерфейс wlan0 — его вообще нет. В выводах через «ip a» его тоже нет. Уже все перепробовал. Может кто сталкивался с подобной проблемой?
Если берешь драйвера с ГитХаба, то их надо компилировать. Берешь отсюда? У Тебя установлены все пакеты необходимые для сборки драйвера? Покажи вывод
Пробовал. Вывод вот. Все тоже самое. Сказывается мне, что я пытаюсь установить версию программы для ядра 5.0.0, а актуальная у меня 5.4.0.
Kernel preparation unnecessary for this kernel. Skipping…
Building module: cleaning build area… ‘make’ KVER=5.4.0-kali4-amd64….(bad exit status: 2) Error! Bad return status for module build on kernel: 5.4.0-kali4-amd64 (x86_64) Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping…
Building module: cleaning build area… ‘make’ KVER=5.4.0-kali4-amd64…..(bad exit status: 2) Error! Bad return status for module build on kernel: 5.4.0-kali4-amd64 (x86_64) Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information. Finished running dkms install steps.
ТС пишет что у него 8821CE, а в Твоей ссылке для 8821CU.
Источник
0bda c811 driver linux
RTL8821CU_RTL8811CU_driver version v5.8.1
RTL8811CU and RTL8821CU driver
The Realtek RTL8811CU-CG is a highly integrated single-chip that supports 1-stream 802.11ac 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
- 802.11ac/abgn, 802.11ac
- 2.4 GHz Support
- 5.8 GHz Support
- Supports concurrent mode (operates as two virtual WLAN interfaces)
- MIMO config — 1×1
- MU-MIMO
- AC wave2
- 256 QAM
- IEEE 802.11 b/g/n/ac WiFi compliant
- 802.1x, WEP, WPA TKIP and WPA2 AES/Mixed mode for PSK and TLS (Radius)
- WPA3 SAE (Personal)
- WPS — PIN and PBC Methods
- 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 WPA/WPA2 TLS client
- Support power saving mode
- Soft AP mode
- WiFi-Direct
- Miracast
- MU-MIMO
- BT-COEXist
- Mesh
- Wake on WLAN
5.x)
Android 1.6
Linux driver support
The Linux driver appears as 8821cu.ko. Check if the USB sub-system recognizes the device.
If 8821cu is present, everything is good to go!
Building the driver
If the driver is not present, it can be built using the included driver sources.
- Driver version : rtl8821CU_WiFi_linux_v5.8.1_34171.20190628_COEX20190509-4141
- Driver changelog.pdf
- Build tools — Install build tools, if needed (see below)
Option 1 — Direct build
Following customizations have been made to the default Makefile(see installation document for details):
- Choose x86 target
- Concurrent mode enabled (To disable, comment out EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE )
- Mesh point enabled (To disable, comment out EXTRA_CFLAGS += -DCONFIG_RTW_MESH )
- Monitor mode enabled (To disable, set CONFIG_WIFI_MONITOR = n )
- Log Level = 3 (default is 4, set CONFIG_RTW_LOG_LEVEL = 4 )
Option 2 — DKMS build (verified on Debian 10 LTS with Kernel version 4.19)
DKMS 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 and follow the steps listed below:
About
Linux Driver for RTL8821CU, RTL8811CU USB Wi-Fi NIC
Источник
MX Linux Forum
Support for MX and antiX Linux distros
Forum users
- Please read this before asking for help, and don’t forget to add Quick System Info to help requests!
- Please follow the Forum Rules
Current releases
— MX-19.4 release info here
— Migration information to MX-19.4 here
— antiX-19.4 (Grup Yorum) release info here
News
— MX Linux on social media: here
— New Forum Features, Marking Solved and Referencing a User: here
[SOLVED] WiFi USB adapter RTL8811 (0bda:c811) was not working
[SOLVED] WiFi USB adapter RTL8811 (0bda:c811) was not working
#1 Post by gsm » Tue May 28, 2019 3:24 pm
I had a hard time finding a driver to let this RTL8811 AC adapter (0bda:c811) work.
At last i found one at this location:
https://github.com/whitebatman2/rtl8821CU
I copied the driver files to the folder /usr/src/rtl8821cu (using Thunar as root).
Then i executed the following commands within the source directory:
The adapter is working now, except for the blue led, which is flashing when the adapter is used with Windows 10.
My questions are:
Was this the right procedure or should i use another method or a different driver?
What will happen to the driver when the kernel is updated?
Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
#2 Post by linuxbuild » Sun Jan 12, 2020 11:11 am
Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
#3 Post by fehlix » Sun Jan 12, 2020 12:03 pm
Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
#4 Post by gsm » Mon Feb 17, 2020 5:39 pm
Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
#5 Post by alexgmenard » Wed May 20, 2020 9:16 pm
[SOLVED)
It was in a new tab in the Wifi Settings . lol 😛
.
I have installed this driver https://github.com/smp79/rtl8821CU but i still dont see my 5G network. Is there anything else to do after doing the make install command? Is the Wifi network supposed to be visible on the Wifi manager settings or elsewhere ?
I have Ubuntu 20.04 with Linux kernel 5.4.0-31-generic and the driver in the cd gived with the device seems not to work with the Linux Kernel above 4.8.x.
This is the device: https://www.amazon.ca/Adapter-Flenco-60 . 332&sr=8-6
Any help will be appreciated !
Re: WiFi USB adapter RTL8811 (0bda:c811) was not working
#6 Post by JayM » Wed May 20, 2020 10:56 pm
Re: [SOLVED] WiFi USB adapter RTL8811 (0bda:c811) was not working
#7 Post by agnivo007 » Wed Jul 29, 2020 12:51 pm
Then plug in the dongle (I have a 8811U based one) and you should see list of wifi networks. Select net and add password accordingly.
Источник
0bda c811 driver linux
Realtek RTL8811CU/RTL8821CU USB wifi adapter driver version 5.4.1 for Linux 4.4.x up to 5.x
Before build this driver make sure make , gcc , linux-header / kernel-devel , bc and git have been installed.
First, clone this repository
Check the name of the interface
Check the interface name of your wifi adapter using ifconfig . Usually, it will be wlan0 by default, but it may vary depends on the kernel and your device. On Ubuntu, for example, it may be named as wlx + MAC address. (https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/)
If this is the case, you can either disable the feature following the link above, or replace the name used in the driver by
Build and install with DKMS
DKMS 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.
To make use of the DKMS feature with this project, just run:
If you later on want to remove it, run:
Plug your USB-wifi-adapter into your PC
If wifi can be detected, congratulations. If not, maybe you need to switch your device usb mode by the following steps in terminal:
- find your usb-wifi-adapter device ID, like «0bda:1a2b», by type:
- switch the mode by type: (the device ID must be yours.)
Need install usb_modeswitch (Archlinux: sudo pacman -S usb_modeswitch )
Make it permanent
If steps above worked fine and in order to avoid periodically having to make usb_modeswitch you can make it permanent (Working in Ubuntu 18.04 LTS):
Edit usb_modeswitch rules:
Append before the end line LABEL=»modeswitch_rules_end» the following:
Make sure to set your ATTR
then your configuration in /lib/udev/rules.d/40-usb_modeswitch.rules should be
Build and install without DKMS
Use following commands:
If you later on want to remove it, do the following:
Checking installed driver
If you successfully install the driver, the driver is installed on /lib/modules/
/kernel/drivers/net/wireless/realtek/rtl8821cu . Check the driver with the ls command:
Make sure 8821cu.ko file present on that directory
Check with DKMS (if installing via DKMS):
sudo dkms status
ARM architecture tweak for this driver (this solves compilation problem of this driver):
Use the tool ‘iw’, please don’t use other tools like ‘airmon-ng’
About
Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
Источник
0bda c811 driver linux
News: A new version of this driver is now available. Testing has shown it to be a solid driver. The driver located here will be discontinued in the near future so please transition to the new driver as you are able to do so.
Linux Driver for USB WiFi Adapters that are based on the RTL8811AU and RTL8821AU Chipsets
- v5.8.2.3 (Realtek) (2020-04-01)
- 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)
A FAQ is available at the end of this document.
- Kernels: 2.6.24 — 5.1 (Realtek)
- Kernels: 5.2 — 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
- Alfa AWUS036ACS
- Buffalo WI-U2-433DHP
- Edimax EW-7811UTC
- Edimax EW-7811UAC
- Edimax EW-7811UCB
- ELECOM WDC-433DU2H
- GMYLE — AC450
- Netgear A6100
- Planex GW-450S
- TP Link T2U Nano
- TP Link T2U Plus
- Numerous 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)
Step 3: Install the required packages (select the option for the OS you are using)
Step 4: Create a directory to hold the downloaded driver
Step 5: Move to the newly created directory
Step 6: Download the driver
Step 7: Move to the newly created driver directory
Step 8: Warning: this step only applies if you are installing to Raspberry Pi hardware.
Run a preparation script
Step 9: Run the installation script (For automated builds, use NoPrompt as an option)
A file called 8821au.conf will be installed in /etc/modeprobe.d by default.
This file will be read and applied to the driver on each system boot.
To edit the driver options file, run the edit-options.sh script.
Documentation for Driver Options is included in the file 8821au.conf .
Removal of the Driver
Note: This script should be used in the following situations:
- the driver is no longer needed
- a fresh start with default settings is needed
- a new version of the driver needs to be installed
- a major operating system upgrade is going to be applied
Note: This script removes everything that has been installed, with the exception of the packages installed in Step 3 and the driver directory. The driver directory can and probably should be deleted in most cases after running the script.
Step 1: Open a terminal (Ctrl+Alt+T)
Step 2: Move to the driver directory
Step 3: Run the removal script
Recommended WiFi Router/ Access Point Settings
Note: These are general recommendations, some of which may not apply to your specific situation.
Security: Set WPA2-AES. Do not set WPA2 mixed mode or WPA or TKIP.
Channel width for 2.4G: Set 20 MHz fixed width. Do not use 40 MHz or 20/40 automatic.
Channels for 2.4G: Set channel 1 or 6 or 11 depending on the congestion at your location. Do not set automatic channel selection.
Mode for 2.4G: For best performance, set «N only» if you no longer use B or G capable devices.
Network names: Do not set the 2.4G Network and the 5G Network to the same name. Note: Unfortunately many routers come with both networks set to the same name.
Channels for 5G: Not all devices are capable of using DFS channels. It may be necessary to set a fixed channel in the range of 36 to 48 or 149 to 161 in order for all of your devices to work on 5g. (for US, other countries may vary)
Best location for the wifi router/ access point: Near center of apartment or house, at least a couple of feet away from walls, in an elevated location.
Check congestion: There are apps available for smart phones that allow you to check the congestion levels on wifi channels. The apps generally go by the name of WiFi Analyzer or something similar.
After making and saving changes, reboot the router.
Set regulatory domain to correct setting in OS
Check the current setting
If you get 00, that is the default and may not provide optimal performance.
Set it temporarily
Note: Substitute your country code if you are not in the United States.
Set it permanently
Recommendations regarding USB
Moving your USB WiFi adapter to a different USB port has been known to fix a variety of problems. Problems include WiFi going on and off as well as connections coming and going.
If connecting your USB WiFi adapter to a desktop computer, use the USB ports on the rear of the computer. Why? The ports on the rear are directly connected to the motherboard which will reduce problems with interference and disconnection that can happen with front ports that use cables.
If your USB WiFi adapter is USB 3 capable then plug it into a USB 3 port.
Avoid USB 3.1 Gen 2 ports if possible as almost all currently available adapters have been tested with USB 3.1 Gen 1 (aka USB 3) and not with USB 3.1 Gen 2.
If you use an extension cable and your adapter is USB 3 capable, the cable needs to be USB 3 capable.
Some USB WiFi adapters require considerable electrical current and push the capabilities of the power available via USB port. One example is devices that use the Realtek 8814au chipset. Using a powered multiport USB extension can be a good idea in cases like this.
How to disable onboard WiFi on Raspberry Pi 3B, 3B+, 3A+, 4B and Zero W.
Add the following line to /boot/config.txt
How to forget a saved WiFi network on a Raspberry Pi
Delete the relevant WiFi network block (including the ‘network=’ and opening/closing braces.
Press ctrl-x followed by ‘y’ and enter to save the file.
About
Linux Driver for USB WiFi Adapters that are based on the RTL8811AU and RTL8821AU Chipsets
Источник