26

I am a bit lost sorting through the pile of documentation and Q&As about this topic so im just going to specifically ask.

I run an ASUS laptop, its a few years old and is unable to use 5ghz wifi, so i have use a usb wireless adapter (Flenco is the brand name, its just a standard 600mbps adapter, and no im not sure what serious of words and numbers anyone would need to identify it lol), to connect to the much faster wifi. on windows obviously no issue, plug and play etc. its the difference between 4-6 mbps download and 45-60mbps download.

I can not for the life of me get my linux to see it, and im too much of a noob to keep randomly messing up my system grasping at straws. It doesnt show up when i run lsusb, at least not under any name that would lead me down a fix path, not that i would know what to do from there anyways.

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04ca:2006 Lite-On Technology Corp. Broadcom BCM43142A0 Bluetooth Device
Bus 001 Device 003: ID 04f2:b483 Chicony Electronics Co., Ltd 
Bus 001 Device 008: ID 05a7:1020 Bose Corp. 
Bus 001 Device 007: ID 04d9:a0f0 Holtek Semiconductor, Inc. 
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 0bda:c811 Realtek Semiconductor Corp. 
Bus 001 Device 005: ID 0c45:5004 Microdia 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I am completely positive this has been solved a hundred times over and I apologize for that, if someone could maybe point me towards a prior answer or offer a little more direct guidance that would be amazing.

I run Ubuntu 19.04, everything is up to date and working very well, just this issue.

Thanks!

Bus 001 Device 009: ID 0bda:c811 Realtek Semiconductor Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0xc811 
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0035
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              2 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x08  EP 8 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

this is the only entry that changed.

also, model number is X455L.

8

2 Answers 2

54

The good news is that your 0bda:c811 device has support and has been the subject of several answers and duplicates here before; for example: USB WIFI Realtek not an MTP device The bad news is that the previous driver files will not properly compile on Ubuntu 19.04 using a 5.0.0-xx kernel version.

I recommend that you use another method. With a temporary working internet connection, open a terminal and do:

sudo apt update
sudo apt install build-essential git dkms bc
git clone https://github.com/brektrou/rtl8821CU.git
cd rtl8821CU
chmod +x dkms-install.sh
sudo ./dkms-install.sh

It builds successfully, albeit with a few possibly harmless warnings, on my 5.0.0-23 system

Next, do:

sudo modprobe 8821cu

Your wireless should now be working.

17
  • 2
    Fails without bc, adding it to apt install command
    – Codebling
    Commented Apr 21, 2020 at 19:25
  • 1
    bc is installed as a part of build-essential and its dependencies libc6 and libc6-dev. It needn't be specified explicitly.
    – chili555
    Commented Apr 21, 2020 at 20:09
  • 1
    @Vadim Please start your own new question and show the terminal output of the sudo ./dkms-install.sh command. I suspect that it does not complete correctly.
    – chili555
    Commented Nov 26, 2020 at 15:50
  • 3
    For any who find this thread in a frustrating search for the fabled preexistng driver referenced elsewhere, ya just forget that; it doesn't exist. This is the best, easiest way to make the device work. Don't waste hours struggling, just do like this answer says and life will get a lot better.
    – u2n
    Commented Apr 27, 2021 at 18:57
  • 2
    great help. thank a lot. worked on ubuntu 20.04 kernel 5.13.0-39-generic
    – Ki Ko
    Commented Apr 14, 2022 at 23:53
2

It's 2023 and this driver is now included with kernel 6.3. For earlier kernels, there is an updated driver on https://github.com/morrownr/8821cu-20210916 that is rebuilt from a later version. It is continuously updated and builds with no errors or warnings.

Git clone https://github.com/morrownr/8821cu-20210916.git
cd 8821cu-20210916
sudo ./install-driver.sh
4
  • 1
    I just upgraded to a clean 22.04 and this solution failed silently. It required sudo apt install build-essential dkms, which took me a few reboots to notice.
    – John
    Commented Jun 17, 2023 at 18:09
  • 1
    If u update the kernel to 6.3 it is built in now. Commented Jul 31, 2023 at 9:30
  • 1
    To update kernel: sudo add-apt-repository ppa:cappelikan/ppa; sudo apt update; sudo apt install mainline; nice gui to update kernel w/o too much trouble or command line. sorry, it won't let me post an answer because I don't have enough rep lol :) so silly. Commented Jul 31, 2023 at 9:36
  • I have 22.04 and the latest 6.5 kernel. rtw8821cu worked well on 6.3. drops every ten minutes on 6.5 kernel. Installed the above driver and things are golden. Don't have ac speeds but that is far better than dropping. thanks morrownr whoever you are Commented Mar 1 at 7:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .