Monday, April 26, 2021

install Realtek Wi-Fi adapter Driver on Linux Ubuntu 16.04 / 18.04 / 20.04

Plugin USB Wi-fi adapter in your Desktop or Laptop.

 

Step 1) Run lsusb for checking adapter installed or not.

$ lsusb


Step 2) Update apt source list

$ sudo apt update


Step 3) Install dkms (Dynamic Kernel Module System)

Dynamic Kernel Module Support is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.

$ sudo apt install -y dkms git


Step 4) Clone dkms package through git.

$ git clone git@github.com:tomaspinho/rtl8821ce.git

 


Step 5) Enter into rtl8821ce directory

$ cd rtl8821ce


Step 6) Run dkms-install.sh shell file.

$ sudo ./dkms-install.sh


 
Step 7) load driver 8821ce

  • modprobe is a Linux program, and used to add a loadable kernel module to the Linux kernel or to remove a loadable kernel module from the kernel. It is commonly used indirectly: udev relies upon modprobe to load drivers for automatically detected hardware.

$ sudo modprobe 8821ce


Step 8) Reboot system or device replug


Step 9) Check wi-fi status in, top of window and left side.




No comments:

Post a Comment

testing