Software & AppsOperating SystemLinux

How To Install Drivers for UGREEN USB WiFi Adapter AC650 on Ubuntu 20.04

Ubuntu 18

In this article, we will provide a comprehensive guide on how to install drivers for the UGREEN USB WiFi Adapter AC650 on Ubuntu 20.04. This process involves several steps, including updating your package lists, installing necessary packages, cloning the driver repository, and running the installation script.

Quick Answer

To install drivers for the UGREEN USB WiFi Adapter AC650 on Ubuntu 20.04, you need to update the package lists, install necessary packages, clone the driver repository, navigate to the cloned repository, make the installation script executable, run the installation script with root privileges, and reboot your system.

Prerequisites

Before you start, ensure you have the following:

  1. A UGREEN USB WiFi Adapter AC650.
  2. A system running Ubuntu 20.04.
  3. An active internet connection, preferably via Ethernet, for downloading the necessary packages and drivers.

Step 1: Updating the Package Lists

The first step is to update the package lists for upgrades and new package installations. Open a terminal and run the following command:

sudo apt update

The sudo command allows you to run commands with the security privileges of the superuser. The apt update command updates the list of packages that can be upgraded on your system.

Step 2: Installing the Necessary Packages

Next, you need to install the necessary packages for building the drivers. These include build-essential, git, and dkms. Run the following command:

sudo apt install build-essential git dkms

The build-essential package contains references to all the packages needed to compile a Debian package. git is a version control system that lets you manage and keep track of your source code history. dkms is a framework that allows kernel modules to be dynamically built for each kernel on your system.

Step 3: Cloning the Driver Repository

Now, you need to clone the GitHub repository that contains the drivers. Run the following command:

git clone https://github.com/brektrou/rtl8821CU.git

The git clone command copies an existing git repository.

Step 4: Navigating to the Cloned Repository

Once the repository is cloned, navigate to the directory by running the following command:

cd rtl8821CU

The cd command changes the current directory to the specified one.

Step 5: Making the Installation Script Executable

The installation script needs to be made executable. Run the following command:

chmod +x dkms-install.sh

The chmod command changes the permissions of a file. The +x option makes the file executable.

Step 6: Running the Installation Script

Finally, run the installation script with root privileges by running the following command:

sudo ./dkms-install.sh

The ./ before a script runs that script in the current directory.

Step 7: Rebooting the System

After the installation completes, reboot your system for the changes to take effect.

Verifying the Installation

Once the drivers are installed, you can check if the adapter is recognized by running the iwconfig command. If the adapter still doesn’t show up, you can provide the output of ip a and lsmod commands for further troubleshooting.

Please note that the provided solution is based on the assumption that the UGREEN USB WiFi Adapter AC650 uses the same Realtek chipset (idVendor=0bda, idProduct=c811) as mentioned in the journalctl and lsusb outputs.

Conclusion

This article provided a detailed guide on how to install drivers for the UGREEN USB WiFi Adapter AC650 on Ubuntu 20.04. By following these steps, you should now be able to connect your system to a wireless network using the UGREEN USB WiFi Adapter AC650.

Can I use this guide for other versions of Ubuntu?

This guide is specifically for Ubuntu 20.04. While some steps may be similar for other versions, it is recommended to refer to the official documentation or guides specific to your version of Ubuntu.

Can I use this guide for other USB WiFi adapters?

This guide is tailored for the UGREEN USB WiFi Adapter AC650. The driver repository and chipset mentioned in the guide are specific to this adapter. For other USB WiFi adapters, you may need to find and install the appropriate drivers specific to your adapter.

Do I need an active internet connection during the installation process?

Yes, it is recommended to have an active internet connection, preferably via Ethernet, during the installation process. This is necessary for downloading the necessary packages and drivers.

What should I do if the adapter is not recognized after installation?

If the adapter is not recognized after installation, you can try running the iwconfig command to check if it appears. If it does not, you can provide the output of the ip a and lsmod commands for further troubleshooting. It is also important to ensure that the UGREEN USB WiFi Adapter AC650 uses the same Realtek chipset (idVendor=0bda, idProduct=c811) as mentioned in the guide.

Can I use this guide on a different operating system?

No, this guide is specifically for Ubuntu 20.04. The steps and packages mentioned in the guide are tailored for Ubuntu and may not be applicable to other operating systems. It is recommended to refer to the documentation or guides specific to your operating system.

Leave a Comment

Your email address will not be published. Required fields are marked *