Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
jrs25
Level 1
Level 1
Posts: 4
Joined: Fri Aug 14, 2020 12:53 am

Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by jrs25 »

Hello, brand new user of Linux here,

I recently installed Linux Mint 19.3 Xfce on a fairly old refurbished machine (Acer Veriton X6610G with Intel Core i3-2120). I have a USB wifi adaptor plugged in and I believe I have (finally) installed the correct driver, sourced from here: https://github.com/brektrou/rtl8821CU

However, I am still unable to connect to the internet. When I first installed the driver, it seemed that I had about a few seconds of connectivity; I could see my network and enter the password, then after a few seconds the connection dropped and no networks were visible anymore. Each time I boot up, it again seems that I am connected but the connection drops again after 10-15 seconds. I have not been able to load any webpages within the 10-15-second window.

I have followed a lot of steps from this page (and numerous others), to no avail: https://wiki.archlinux.org/index.php/Ne ... n/Wireless

I am also unable to make a wired connection to the internet as I don't have a standard modem; I'm using a mobile hotspot with a SIM card instead, so wireless is my only option.

Some hopefully useful information:

Code: Select all

jodi@Media-PC:~$ inxi -Fxz
System:
  Host: Media-PC Kernel: 5.0.0-32-generic x86_64 bits: 64 compiler: gcc 
  v: 7.4.0 Desktop: Xfce 4.14.1 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop Mobo: Acer model: Veriton X6610G serial: <filter> UEFI: Acer 
  v: P01-A3 date: 03/08/2011 
CPU:
  Topology: Dual Core model: Intel Core i3-2120 bits: 64 type: MT MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26341 
  Speed: 1596 MHz min/max: 1600/3300 MHz Core speeds (MHz): 1: 1596 2: 1596 
  3: 1598 4: 1596 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1680x1050_60.00~60Hz 
  OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop v: 3.3 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel 
  bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.0.0-32-generic 
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Acer Incorporated ALI 
  driver: e1000e v: 3.2.6-k port: f080 bus ID: 00:19.0 
  IF: eno1 state: down mac: <filter> 
  Device-2: Realtek type: USB driver: rtl8821cu bus ID: 2-1.2:4 
  IF: wlx1cbfce1f30f2 state: down mac: <filter> 
Drives:
  Local Storage: total: 3.18 TiB used: 1.59 TiB (49.9%) 
  ID-1: /dev/sda vendor: Seagate model: ST3500413AS size: 465.76 GiB 
  ID-2: /dev/sdb type: USB vendor: Seagate model: Expansion size: 2.73 TiB 
Partition:
  ID-1: / size: 456.96 GiB used: 7.63 GiB (1.7%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 191 Uptime: 7m Memory: 3.77 GiB used: 533.3 MiB (13.8%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 

Code: Select all

jodi@Media-PC:~$ lsusb
Bus 002 Device 006: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 002 Device 007: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)
Bus 002 Device 004: ID 0bda:c811 Realtek Semiconductor Corp. 
Bus 002 Device 003: ID 0bc2:231a Seagate RSS LLC 
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 001 Device 004: ID 058f:6363 Alcor Micro Corp. 
Bus 001 Device 003: ID 062a:4101 Creative Labs Wireless Keyboard/Mouse
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

Code: Select all

jodi@Media-PC:~$ rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Code: Select all

jodi@Media-PC:~$ iwconfig
lo        no wireless extensions.

wlx1cbfce1f30f2  unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.437 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eno1      no wireless extensions.

Code: Select all

jodi@Media-PC:~$ ifconfig
eno1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether c8:9c:dc:d3:40:37  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xfe400000-fe420000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 228  bytes 17955 (17.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 228  bytes 17955 (17.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlx1cbfce1f30f2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 1c:bf:ce:1f:30:f2  txqueuelen 1000  (Ethernet)
        RX packets 228  bytes 69520 (69.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 119  bytes 15158 (15.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Code: Select all

jodi@Media-PC:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether c8:9c:dc:d3:40:37 brd ff:ff:ff:ff:ff:ff
3: wlx1cbfce1f30f2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 1c:bf:ce:1f:30:f2 brd ff:ff:ff:ff:ff:ff

Code: Select all

jodi@Media-PC:~$ sudo lshw -C network
[sudo] password for jodi:              
  *-network                 
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection (Lewisville)
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eno1
       version: 05
       serial: c8:9c:dc:d3:40:37
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:25 memory:fe400000-fe41ffff memory:fe428000-fe428fff ioport:f080(size=32)
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@2:1.2
       logical name: wlx1cbfce1f30f2
       serial: 1c:bf:ce:1f:30:f2
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821cu multicast=yes wireless=unassociated

Code: Select all

jodi@Media-PC:~$ iw dev
phy#0
	Interface wlx1cbfce1f30f2
		ifindex 3
		wdev 0x1
		addr 1c:bf:ce:1f:30:f2
		type managed
		txpower 12.00 dBm

Code: Select all

jodi@Media-PC:~$ iw dev wlx1cbfce1f30f2 link
Not connected.
I'd really appreciate any help at all. I'm quite stuck! Thanks in advance :-)
sleeper12
Level 13
Level 13
Posts: 4767
Joined: Thu May 25, 2017 3:22 pm

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by sleeper12 »

Try this, one line at a time:

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 
Reboot
jrs25
Level 1
Level 1
Posts: 4
Joined: Fri Aug 14, 2020 12:53 am

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by jrs25 »

Thanks so much for your reply, sleeper12. Here is the output from the first three of your suggested commands:

Code: Select all

jodi@Media-PC:~$ sudo apt update
[sudo] password for jodi:              
Err:1 http://archive.canonical.com/ubuntu bionic InRelease
  Could not resolve 'archive.canonical.com'
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease                        
  Could not resolve 'archive.ubuntu.com'
Err:3 http://packages.linuxmint.com tricia InRelease                           
  Could not resolve 'packages.linuxmint.com'
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease            
  Could not resolve 'security.ubuntu.com'
Err:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  Could not resolve 'archive.ubuntu.com'
Err:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
  Could not resolve 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://packages.linuxmint.com/dists/tricia/InRelease  Could not resolve 'packages.linuxmint.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/bionic/InRelease  Could not resolve 'archive.canonical.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Code: Select all

jodi@Media-PC:~$ sudo apt install build-essential git dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dkms is already the newest version (2.3-3ubuntu9.5).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 build-essential : Depends: g++ (>= 4:7.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Code: Select all

jodi@Media-PC:~$ git clone https://github.com/brektrou/rtl8821CU.git

Command 'git' not found, but can be installed with:

sudo apt install git
I'm guessing the problem here is that the above commands require an internet connection to download things, but that is the exact problem I'm trying to fix! So, I did some more digging around to see if I could download the required stuff on my laptop (which runs Windows 10), then transfer them across to my media PC (the one with Linux Mint) via a USB stick.

I found this: https://itsfoss.com/upgrade-or-update-u ... -internet/ and I gave it a go, but stumbled on step 1:

Code: Select all

jodi@Media-PC:~$ sudo apt-offline set ~/my.sig
sudo: apt-offline: command not found
So I thought I should try to download apt-offline, and I found this: https://community.linuxmint.com/tutorial/view/1059. Step 1 of this tutorial yielded this:

Code: Select all

#!/bin/sh
wget -c http://archive.ubuntu.com/ubuntu/pool/main/p/python-magic/python3-magic_0.4.15-1_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/a/apt-offline/apt-offline_1.8.1_all.deb
I then downloaded both files on my laptop, transferred them to my media PC, but then step 3 (selecting Add Downloaded Packages in Synaptic Package Manager) gave me some grief:

Code: Select all

Selecting previously unselected package apt-offline.
(Reading database ... 246641 files and directories currently installed.)
Preparing to unpack .../apt-offline_1.8.1_all.deb ...
Unpacking apt-offline (1.8.1) ...
dpkg: dependency problems prevent configuration of apt-offline:
 apt-offline depends on python3-magic; however:
  Package python3-magic is not installed.

dpkg: error processing package apt-offline (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for doc-base (0.10.8) ...
Processing 33 changed doc-base files, 1 added doc-base file...
Registering documents with scrollkeeper...
Errors were encountered while processing:
 apt-offline
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-magic/python3-magic_0.4.15-1_all.deb
     Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.17.0-1ubuntu1_all.deb
     Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libe/liberror-perl/liberror-perl_0.17025-1_all.deb
     Could not resolve 'archive.ubuntu.com'
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of apt-offline:
 apt-offline depends on python3-magic; however:
  Package python3-magic is not installed.

dpkg: error processing package apt-offline (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apt-offline
Just in case, I tried this again:

Code: Select all

jodi@Media-PC:~$ sudo apt-offline set ~/my.sig
[sudo] password for jodi:              
Gathering details needed for 'update' operation
Gathering details needed for 'upgrade' operation
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ERROR: FATAL: Something is wrong with the APT system
And then I tried the suggestion given above:

Code: Select all

jodi@Media-PC:~$ apt --fix-broken install
apt
Usage: apt command [options]
       apt help command [options]

Commands:
  add-repository   - Add entries to apt sources.list
  autoclean        - Erase old downloaded archive files
  autoremove       - Remove automatically all unused packages
  build            - Build binary or source packages from sources
  build-dep        - Configure build-dependencies for source packages
  changelog        - View a package's changelog
  check            - Verify that there are no broken dependencies
  clean            - Erase downloaded archive files
  contains         - List packages containing a file
  content          - List files contained in a package
  deb              - Install a .deb package
  depends          - Show raw dependency information for a package
  dist-upgrade     - Upgrade the system by removing/installing/upgrading packages
  download         - Download the .deb file for a package
  edit-sources     - Edit /etc/apt/sources.list with your preferred text editor
  dselect-upgrade  - Follow dselect selections
  full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  showsrc          - Display all the source package records that match the given package name
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package
At this point I went and lay down on my bed for a while and felt sorry for myself. Might you have any other suggestions for me? Thanks again for your help with this.
sleeper12
Level 13
Level 13
Posts: 4767
Joined: Thu May 25, 2017 3:22 pm

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by sleeper12 »

Sorry, forgot you have no connection. See if you can get a temporary connection with phone tethering & run the commands again:
https://easylinuxtipsproject.blogspot.c ... ernet.html
jrs25
Level 1
Level 1
Posts: 4
Joined: Fri Aug 14, 2020 12:53 am

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by jrs25 »

Thanks for the suggestion! I did try tethering my phone and my phone wasn't too happy with it, but I then connected my mobile broadband hotspot to the PC via its USB cable, which did the trick.

Here is the output from the last four commands in your original post:

Code: Select all

jodi@Media-PC:~$ git clone https://github.com/brektrou/rtl8821CU.git
Cloning into 'rtl8821CU'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 1430 (delta 2), reused 2 (delta 0), pack-reused 1422
Receiving objects: 100% (1430/1430), 5.41 MiB | 1.39 MiB/s, done.
Resolving deltas: 100% (821/821), done.

jodi@Media-PC:~$ cd rtl8821CU

jodi@Media-PC:~/rtl8821CU$ chmod +x dkms-install.sh

jodi@Media-PC:~/rtl8821CU$ sudo ./dkms-install.sh
About to run dkms install steps...
Error! DKMS tree already contains: rtl8821CU-5.4.1
You cannot add the same module/version combo more than once.
Module rtl8821CU/5.4.1 already built for kernel 5.0.0-32-generic/4
Module rtl8821CU/5.4.1 already installed on kernel 5.0.0-32-generic/x86_64
Finished running dkms install steps.

jodi@Media-PC:~/rtl8821CU$ sudo modprobe 8821cu
jodi@Media-PC:~/rtl8821CU$ 
I rebooted, but still no wifi networks appear. I then tried this, which also didn't help:

Code: Select all

jodi@Media-PC:~$ sudo usb_modeswitch -KW -v 0bda -p c811
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= 0xc811

StandardEject=1

Look for default devices ...
  found USB ID 15ca:00c3
  found USB ID 12d1:1c50
  found USB ID 0bda:c811
   vendor ID matched
   product ID matched
  found USB ID 0bc2:231a
  found USB ID 8087:0024
  found USB ID 1d6b:0002
  found USB ID 058f:6363
  found USB ID 062a:4101
  found USB ID 04e8:6860
  found USB ID 8087:0024
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 004 on bus 002
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
In case it helps, I also did this:

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info
... followed by this:

Code: Select all

cat wireless-info.txt | nc termbin.com 9999
... which gave me this: https://termbin.com/8xqgw

Thanks again for your help!
sleeper12
Level 13
Level 13
Posts: 4767
Joined: Thu May 25, 2017 3:22 pm

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by sleeper12 »

I don't know if it will help, but you're using the 5.0 kernel that's no longer supported. Go into Grub, Advanced Options & boot into the 4.15 kernel. Remove the 5.0 in Update Manager, View, Linux kernels & reboot.
User avatar
Pjotr
Level 22
Level 22
Posts: 15930
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by Pjotr »

Tip: 10 things to do after installing Linux Mint 20 Ulyana
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
jrs25
Level 1
Level 1
Posts: 4
Joined: Fri Aug 14, 2020 12:53 am

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by jrs25 »

sleeper12: Ok, so I finally figured out how to access GRUB. I first booted into kernel 5.4 as that was the only other option installed at that point. My wifi connection didn't work there. I then installed 4.15 and booted into that - same thing, still no wifi connection. Do you have any other ideas?

Pjotr: Thanks for the suggestion. I tried it just now while booted into kernel 4.15 with no luck, unfortunately.
User avatar
Pjotr
Level 22
Level 22
Posts: 15930
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by Pjotr »

This is the easy way out, because it works out of the box (truly plug and play, I have one myself):
https://www.amazon.com/dp/B008IFXQFU/re ... nkCode=asn

Sometimes it's wise to consider the "quick and dirty" solutions.... If it can't be done the way it should, it should be done the way it can. :)
Tip: 10 things to do after installing Linux Mint 20 Ulyana
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
sleeper12
Level 13
Level 13
Posts: 4767
Joined: Thu May 25, 2017 3:22 pm

Re: Cannot connect to internet after installing driver of wifi adaptor (rtl8821CU)

Post by sleeper12 »

Maybe this one:

Code: Select all

sudo apt install build-essential -y
mkdir -p ~/build
cd ~/build
sudo apt install git
git clone https://github.com/brektrou/rtl8821CU.git
cd rtl8821CU
make
sudo make install 
Reboot
Post Reply

Return to “Wireless”