Score:0

How do I download RTL8821CE dependencies, install on main machine and install the driver?

fr flag

I purchased my new laptop a few days ago and currently I am setting everything up, I already have Ubuntu 20.04 running but I need to install the network driver for the RTL8821CE. I don’t have an ethernet port on my laptop. Is there A way I am able to download bc, build-essential, dkms and module-assistant and all its dependencies as .deb files and then install the prebuilt driver?

galexite avatar
pk flag
Do you have a smartphone you can use USB tethering with? It might make it easier, because you can just connect your system straight to the Internet through your phone.
galexite avatar
pk flag
Only just to install the driver from the repositories, so you can use the Wi-Fi driver when built from then on.
Score:1
pk flag

If you can use USB tethering on a smartphone or some other method of connecting to the Internet, use your tethering to install rtl8821ce-dkms via apt, which will build the driver automatically. You simply reboot once installation complete, and you have Wi-Fi available.

Otherwise, you need to download dkms and your rtl8821ce-dkms packages to another machine running the same Ubuntu live system which does have an Internet connection, and install them manually. It's important to use the same live system as the one you installed Ubuntu with: this is because it will fetch the correct header package for the installed kernel as needed by DKMS.

Follow this guide, but when you get to the line sudo apt --yes --download-only -o Dir::Cache::archives="./" install gcc dkms, you need to add rtl8821ce-dkms to it to also download the DKMS sources for your driver.

chili555 avatar
cn flag
I suspect that `build-essential` which includes gcc is needed here.
galexite avatar
pk flag
@chili555 I would have assumed `dkms` would depend on `gcc`, `make` and so forth in any case. It’s just that it is the command mentioned in the linked guide.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.