0

I am new to Ubuntu and I am trying to get a Mercusys AC650 usb wifi to work in Ubuntu 20.04. I was very happy to see a solution already listed here in Ask Ubuntu and I followed some commands which had the AC650 connecting to my wifi. The commands from the question 'Realtek RTL8811CU Wifi Dongle' that I used to have the wifi working initially were;

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

However the wifi stopped functioning and I had to get a wired connection up to get the internet once more. Once back on the internet I moved the folder ~/build/rtl8821CU to the recycling folder and completed the commands listed above to once again have the wifi working once more. I think the first time the wifi stopped working was due to a ubuntu software update having been completed and then a reboot of the machine. When the software update initialised once again after the wifi was once more working for a second time the wifi stopped working after I rebooted.

Please could you advise how I get this Mercusys AC650 wifi working once more in Ubuntu 20.04 as I believe the automatic software updates cause the code I used previously to good effect to now no longer function?

Peter
  • 3

2 Answers2

0

You can use dkms to install the driver for a new kernel version, in terminal do

cd rtl8821CU
make clean
sudo ./dkms-install.sh
Jeremy31
  • 13,293
0

Try installing this: https://github.com/morrownr/8821cu-20210118

First update and upgrade system packages:

sudo apt update && sudo apt upgrade

Then install all the required packages:

sudo apt install -y build-essential dkms git

Then download te driver in a folder and remove all the previous drivers.

mkdir ~/build
cd ~/build
git clone https://github.com/morrownr/8821cu-20210118
cd 8821cu-20210118
git pull
sudo ./remove-driver.sh

At this point you will need to reboot. Afetr rebooting:

cd ~/build/8821cu-20210118
sudo ./install-driver.sh

And accept to reboot when offered.

Hope it helps, I've been trying different drivers for a week now and this was the only one that worked.

Best regards.

P.M.
  • 1