Skip to main content

How To Install rtl8821ce-dkms on Ubuntu 22.10 and 22.04 LTS

WiFi card is a component you can't really choose. CPU, memory, graphic card and storage, are probably the main reason people buy a laptop, but not a WiFi card. It's just a tiny device you always think and expect to work without problem.

Today, almost any network device work out of the box under Linux kernel. If not, the proprietary firmware can be easily installed. Unfortunately, there are few issues with few WiFi cards in Linux. Realtek is one in the list.

I have a laptop with realtek 8821ce wifi card that always works properly on my Ubuntu machine. There is a package called rtl8821ce-dkms I can install directly from Ubuntu's repository and the wifi will work as it should. Sadly, this package is deprecated in Ubuntu 22.10 repository and doesn't work with Ubuntu 22.04's  kernel 5.19 upgrade.

Apparently, there is already a module rtw88_8821ce included in Linux kernel. But this driver doesn't work properly yet. You have to be near your wifi router to be able to get the proper signal. If you move a little further, the signal will become weak and the connection will fail.

Installing rtl8821ce-dkms From PPA

Thankfully, there is a PPA for rtl8821ce-dkms package you can install into your Ubuntu 22.10 or updated 22.04 :

sudo add-apt-repository ppa:xalt7x/rtl8821ce-dkms

sudo apt update

sudo apt install rtl8821ce-dkms

Blacklisting Default Driver

After installing the package, you have to make a little next step to make it work as the default wifi driver:

sudo modprobe -r rtw88_8821ce

sudo modprobe rtl8821ce

sudo su

# echo blacklist rtw88_8821ce  >>  /etc/modprobe.d/blacklist.conf

Reboot the system.

Alternative Installation

There is also an alternative rtl8821ce-dkms package source you can install and should work in any Linux distribution. The detailed information and installation, you can follow in this following page: https://github.com/tomaspinho/rtl8821ce

The Future

Currenly, rtw88_8821ce is the default driver included in Linux mainline kernel. While it still doesn't work properly, we still hope in the future, this driver will work better and we don't have to do extra effort to make realtek 8821ce work properly under Linux kernel.





 

Comments

Popular posts from this blog

Q4OS 4.6 "Gemini" Review: A Real Hidden Gem

Distro hopping is a fun adventure. It's a pure joy you can only find in GNU/Linux world. It's a nature you want to escape from what I call 'comfort ecosystem'. You need to play, trying something new even for a few little differences. For a long time I've been using Ubuntu family as my daily driver. The main reason is probably just same as any other Ubuntu user: it's reliable. You can't go wrong with Ubuntu. It works almost in any device, even for the newest one. It is the ultimate Linux distro you can rely on. However, sometimes, you will feel bored. The temptation to flirt with other new distro is unbearable. There are a lot of hot new Linux distros waiting to try.  A Real Hidden Gem I've known this distro for a quite long time. At first, it offered Trinity Desktop as the main desktop, which brings me the sweet memories about KDE3. It is simply fast, stable, almost without any issue, and it is based on Debian. I install it on my old machine and I love t...

How To Install Mac OS X Lion Theme On Lubuntu / LXDE

Lubuntu 12.04 with Mac OS X Lion Theme, xcompmgr & cairo-dock [click to enlarge] Mac OS X is the special one in the Desktop market. So many people admire it because of its beauty, safety (yes, it is an UNIX) and its profesional image as “an OS for profesional modern art designer”. Yeah, Mac OS X has beautiful look and I do like its look-n-feel. And so, there are so many theme patcher to make our Microsoft Windows or Linux OS become Mac OS X in the appearance. In Linux Desktop, there are some project specialized in designing theme transformation pack to make our Linux desktop to be looked like Mac OS X. The most popular project probably is Mac4Lin. But, all of those projects was designed only for GNOME or sometimes support XFCE and how about LXDE? Our Star in the current lightweight Linux desktop? (Yes, LXDE is the most light-but-complete Linux desktop for now). Until now, there is no project that officially support LXDE. Basically, LXDE uses gtk (now still stay w...

QMMP Skins Pack for Ubuntu/Debian

QMMP is a great Winamp Like music player. For me, this is the greatest current living Winamp Like Music Player in Linux (Audacious seems to be more “gtk” interfaced music player than classic winamp). This is based on QT but works smooth and fast enough in gtk based desktops (lxde, xfce, gnome). For you that don't know yet what is QMMP, this is a popular app and installable easily by apt in Ubuntu and or Debian (squeeze, wheezy, sid) : sudo apt-get install qmmp Because of this, I decided to pack some cool Winamp classic skins to be a Debian package to fullfil the lack of additional skins in default QMMP installation. These are the skins : AmpBurger Bang & Olufsen DaizedAmp iTunesLeopard Kenwood-KDC-2019 Rapture s1-1.5d Winamp5-XMMS Winamp Classic And this is the file qmmp-skins-pack-0.1-all.deb you can download and install it to eyecandy your QMMP Player. Happy Linuxing !