johnpoint

johnpoint

(。・∀・)ノ゙嗨
github

<Invalid> Ubuntu Installation of ThinkPad S2 Wireless Network Card Driver

Note: This article has expired. The currently valid method is available here

Recently, I got a thinkpad S2. After opening the Windows system, I felt like something was missing, so I quickly installed the Ubuntu system. However, during the configuration of the Ubuntu system, it did not give me the option to connect to the network. At that time, I felt a bit strange, but I didn't pay much attention to it. After the installation was completed and I opened the Ubuntu system, I found that the system did not detect the presence of a wireless network card at all. So I panicked and quickly went back to the Windows system, where I saw the model of the wireless network card:

Realtek 8821CE Wireless LAN 802.11ac PCI-E NIC

So I used the powerful Baidu Google to search for a solution and finally found it in this post on the Ubuntu forum.

Solution#

The solution was provided by a master in this post and was learned from a master in this post.

The original text is as follows:

Worked solution (Requirements: kernel >=4.11) :

(UPD: In the latest release of endlessm you need kernel version 4.15)

Download driver directory from this repo: https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce
You can do it by this link: https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

Unpack zip archive.
Change the Makefile. Line "export TopDIR ?= ..." to export "TopDIR ?= PATH TO EXTRACTED DIRECTORY".


$ make
$ sudo make install
$ sudo modprobe -a 8821ce

With this, the problem was perfectly solved.

A Small Issue#

After a certain Ubuntu kernel upgrade, I found that my wireless network card driver disappeared again throw the computer away immediately. So I thought of using a script for installation, which would allow me to quickly solve this problem the next time I encounter it!

Script content:

#!/bin/bash

mv rtl8821ce.zip /home/johnpoint
cd ~
unzip rtl8821ce.zip
cd rtl8821ce
make
sudo make install
sudo modprobe -a 8821ce

exit 0

Celebration

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.