LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-27-2021, 03:43 AM   #1
gaitos
LQ Newbie
 
Registered: Oct 2014
Distribution: Slackware
Posts: 28

Rep: Reputation: Disabled
Slackware-current and RTL8821CE (module installed, wlan0 missing) -- found solution while writing this


Hi and happy holidays fellow Slackers!

(I solved the problem -see below- but I posted because it might help someone)

I am in the process of installing -current on an ASUS notebook equipped with the aforementioned wlan adapter. Everything went fine, however, despite loading the module I can find no trace of wlan0 anywhere. It's my first experiente with -current and I went with recommended option of using NetworkManager.

lspci -nnk produces:
Code:
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
	DeviceName: WLAN
	Subsystem: AzureWave RTL8821CE 802.11ac PCIe Wireless Network Adapter [1a3b:3040]
	Kernel modules: rtw88_8821ce
lsmod | grep 8821 suggests that the module is loaded:
Code:
rtw88_8821ce           16384  0
rtw88_8821c            94208  1 rtw88_8821ce
rtw88_pci              28672  1 rtw88_8821ce
rtw88_core            167936  2 rtw88_pci,rtw88_8821c
I then noticed that despite seeming to have been loaded, the module was throwing some errors in dmesg, namely:
Code:
[    5.499724] rtw_8821ce 0000:02:00.0: enabling device (0000 -> 0003)
[    5.500437] rtw_8821ce 0000:02:00.0: Firmware version 24.8.0, H2C version 12
[    5.535203] rtw_8821ce 0000:02:00.0: rfe 4 isn't supported
[    5.536240] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
[    5.536248] rtw_8821ce 0000:02:00.0: failed to setup chip information
Searching for those error codes, in particular "rtw_8821ce 0000:02:00.0: rfe 4 isn't supported" first lead me to the kernel bug page https://bugzilla.kernel.org/show_bug.cgi?id=212435 thus confirming that this is a problem in the newest kernel, but also to an Arch forum discussion: https://bbs.archlinux.org/viewtopic.php?id=267066 and from there to the github page for a working rtl8821 module: https://github.com/tomaspinho/rtl8821ce

So, for Slackware-current
  • installed dkms from Slackbuilds
  • cloned the repo above
  • executed dkms-install.sh from within repo
  • created /etc/modprobe.d/blacklist.conf containing:
    blacklist rtw88_8821ce
Last step (blacklist) did not seem to be needed, but since the module wasn't working anyway, there was no reason to have it loaded.

I now have wireless!
 
Old 12-27-2021, 09:11 PM   #2
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 340

Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by gaitos View Post
Hi and happy holidays fellow Slackers!

(I solved the problem -see below- but I posted because it might help someone)
...
Thanks for posting! Sooner or later someone else will run into this. You may want to mark the thread as solved
 
  


Reply

Tags
wlan



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Bluetooth adapters found RTL8821CE LionHeartIV Linux - Hardware 29 11-01-2019 07:44 AM
Help with network adapter (rtl8821ce) in Ubuntu ron-in-reno Linux - Wireless Networking 2 07-24-2019 09:42 AM
Realtek rtl8821ce driver av2zeal Slackware 12 12-28-2018 11:01 PM
rtl8821ce bluetooth module help Francexi Slackware 27 05-15-2018 02:34 PM
dhclient wlan0 - wlan0: not found nickleus Linux - Networking 1 05-10-2005 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration