My wireless adapter arrived today and I'm stuck. (Last week I made a separate "I have no idea" post about this but I thought this needed another post; sorry if a new post shouldn't be the case.)
Wireless adapter is on RTL8821CU-CG, dual-band, and has bluetooth. (Here's its product page and its driver page if it helps.)
I followed this advice:
Code: Select all
sudo apt update
sudo apt install build-essential git dkms
git clone https://github.com/brektrou/rtl8821CU.git
cd rtl8821CU
chmod +x dkms-install.sh
sudo ./dkms-install.sh
sudo modprobe 8821cu
After reboot, bluetooth turned on and I tried it and it worked, detected a phone.
But I can't see any signs of it being able to connect to WiFi.
I went to https://github.com/brektrou/rtl8821CU to consult.
lsusb
returns (I removed irrelevant text):Code: Select all
Bus 003 Device 016: ID 0bda:c820 Realtek Semiconductor Corp.
Based on myswitch the mode by type: (the device ID must be yours.)
Need install usb_modeswitch
sudo usb_modeswitch -KW -v 0bda -p 1a2b
It should work.
lsusb
, I did this:sudo usb_modeswitch -KW -v 0bda -p c820
But it returns this:
Code: Select all
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (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 8087:8000
found USB ID 1d6b:0002
found USB ID 8087:8008
found USB ID 1d6b:0002
found USB ID 1d6b:0003
found USB ID 1c4f:0026
found USB ID 093a:2510
found USB ID 0bda:c820
vendor ID matched
product ID matched
found USB ID 04e8:6863
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 016 on bus 003
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

Many thanks in advance!