Realtek Rtl8822be Linux Mint Driver

Active2 months ago

This question already has an answer here:

Realtek Rtl8822be Linux Mint Driver
  • Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) 6 answers

Realtek driver for RTL8822BE and Windows 10 64bit. A complete list of available wireless device drivers for Realtek RTL8822BE.On this page, you will find all available drivers listed by release date for the Windows 10 64bit operating system. Realtek RTL8822BE Wireless LAN Driver for Windows 10 (64-bit) - ThinkPad Yoga 370. SHOP SUPPORT. PC Data Center.

I'm trying to install drivers for my Wifi on my HP All-in-one desktop. I've been told to show the output of the command 'sudo lshw -C network' so here it is:

Mint

Output from 'lspci -nnk | grep -A2 0280':

HazHaz

marked as duplicate by Fabby, karel, Eric Carvalho, Pilot6, Kristopher IvesAug 13 at 0:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3 Answers

(This question is a duplicate of Wi-Fi not working on Lenovo ThinkPad E570 (Realtek RTL8821CE) but I was pleased that we eventually found a solution so will write up what worked for Haz.)

As far as I can tell, at the time of writing this, there is not yet a Wifi Driver for the Realtek RTL8821CE in the official Ubuntu Repositories.

Over on github there is a repository with an RTL8821CE driver aimed at kernels 4.14 and above and specifically for Arch Linux with no support provided for other Linux Distros: https://github.com/tomaspinho/rtl8821ce

(Minor note: as of February 2019 tomaspinho is sadly no longer able to maintain the driver as he no longer has access to a computer with this chipset, and so a new maintainer may be needed, but the driver still works with Ubuntu 18.04 as at that time.)

It has, however, been reported to work just fine with Ubuntu 18.04.

The solution is taken directly from post #4 by Praseodym: https://ubuntuforums.org/showthread.php?t=2398917 and will install a number of packages for building the wifi driver module (git, dkms, build-essential & linux-headers) and clone the git repository from tomaspinho.

DKMS is used because it's 'a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated.'

Open up a terminal and type the following lines (You can cut and paste if you prefer):

After this is completed successfully, you should reboot and find that your Wifi is working.

You also want to make sure SecureBoot is Disabled in the BIOS settings or it won't let you load the unsigned self-complied kernel module.

pHeLiOnpHeLiOn

Linux Mint Cinnamon

The commands in the post just before this were correct except for the git pull. There is a username and password authentication requirement so you have to just go to the webpage -- https://github.com/tomaspinho/rtl8821ce -- and download the .zip file. I then tried following through with changing the shell files to executable as suggested but when they ran there was a discrepency as to where the files needed to be located. (Im definitely not complaining, it can just be a bit confusing if you didn't really know what you were doing) The files need to be extracted to /usr/src/rtl8821ce-1.0.0 (make a new directory 'rtl8821ce-1.0.0' inside /usr/src) and THEN chmod +x dkms-install.sh, everything should work out like gravy from there.Thank you so much whoever wrote this script. I dumped about 600 dollars into this badass machine and was thinking the wifi wouldn't work. Cheers.

Realtek Rtl8822be Linux Mint Driver Manager No Proprietary Drivers Are In Use

To be specific, the machine is a new HP Pavilion x360 2-in-1 with windows 10 and ubuntu studio 18.04.

bobdobbsbobdobbs

@pHeLiOn's answer helped me out, but it wasn't enough. So here is exactly what I did to get it working on my HP.

Realtek Rtl8822be Linux Mint Driver Manager

Make sure to remove the driver if you have previously unsuccessfully installed it via sudo ./dkms-install.sh and then the directory rm -rf rtl8821ce. It may be located in cd /var/lib/dkms/, delete it there too.

  1. I disabled secure boot (you need to reboot after this command and enter the password chars on the blue screen):

  2. I upgraded the Kernel from 4.15 to 4.18, cuz for some reason it wouldn't work with 4.15. Use uname -a to check your kernel version.

  3. Then I reinstalled the dkms headers:

  4. I pulled the github respiratory:

  5. Entered the new directory:

  6. I changed the the file permissions:

  7. I synced the driver to the correct kernel version:

  8. I installed the driver:

  9. Finally I rebooted, and to my amazement it worked.

Additionally I changed my PCIe Activate State Power Management as suggested in the github respiratory.

Realtek Rtl8822be Driver Linux Mint

ThomasAFinkThomasAFink

Not the answer you're looking for? Browse other questions tagged networkingdriverswirelessubuntu-drivers or ask your own question.