Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

"rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
pascal111
Posts: 8
Joined: 2021-09-28 18:04

"rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]

#1 Post by pascal111 »

Hi! I'm a beginner in Linux OS, I used Mint for months, and I'm using now Ubuntu and installed Debian with Ubuntu on my laptop. At the time of installing Debian I found this error message of missed drivers - maybe - "rtw88/rtw8821c_fw.bin", after installing I noticed that my Debian has no wifi like my Ubuntu has. How can I solve this and my laptop infos. according to Ubuntu are:

Code: Select all

pascal@pascal-Lenovo-ideapad-330-15AST:~$ inxi -F
System:
  Host: pascal-Lenovo-ideapad-330-15AST Kernel: 5.11.0-27-generic x86_64 
  bits: 64 Desktop: Gnome 3.36.9 Distro: Ubuntu 20.04.3 LTS (Focal Fossa) 
Machine:
  Type: Laptop System: LENOVO product: 81D6 v: Lenovo ideapad 330-15AST 
  serial: <superuser/root required> 
  Mobo: LENOVO model: LNVNB161216 v: No DPK 
  serial: <superuser/root required> UEFI: LENOVO v: 8UCN06WW 
  date: 04/10/2018 
Battery:
  ID-1: BAT0 charge: 9.2 Wh condition: 16.3/30.6 Wh (53%) 
CPU:
  Topology: Dual Core model: AMD E2-9000 RADEON R2 4 COMPUTE CORES 2C+2G 
  bits: 64 type: MCP L2 cache: 1024 KiB 
  Speed: 1725 MHz min/max: 1200/1800 MHz Core speeds (MHz): 1: 2113 2: 2101 
Graphics:
  Device-1: AMD Stoney [Radeon R2/R3/R4/R5 Graphics] driver: amdgpu 
  v: kernel 
  Display: x11 server: X.Org 1.20.11 driver: amdgpu 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD STONEY (DRM 3.40.0 5.11.0-27-generic LLVM 12.0.0) 
  v: 4.5 Mesa 21.0.3 
Audio:
  Device-1: AMD driver: snd_hda_intel 
  Device-2: AMD Family 15h Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k5.11.0-27-generic 
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter 
  driver: rtw_8821ce 
  IF: wlp1s0 state: up mac: b0:fc:36:5d:9a:cb 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 
  IF: enp2s0 state: down mac: 8c:16:45:8d:87:78 
Drives:
  Local Storage: total: 931.51 GiB used: 20.46 GiB (2.2%) 
  ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-24Z10T0 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 54.75 GiB used: 10.14 GiB (18.5%) fs: ext4 dev: /dev/sda2 
  ID-2: /home size: 182.34 GiB used: 10.27 GiB (5.6%) fs: ext4 
  dev: /dev/sda4 
Sensors:
  System Temperatures: cpu: 55.1 C mobo: N/A gpu: amdgpu temp: 55 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 224 Uptime: 22m Memory: 3.65 GiB used: 2.44 GiB (66.8%) 
  Shell: bash inxi: 3.0.38 

Last edited by pascal111 on 2021-09-29 14:11, edited 1 time in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#2 Post by arochester »

https://miloserdov.org/?p=5930

Scroll down to "How to install Realtek RTL8821CE driver on Debian, Ubuntu, Kali Linux, Linux Mint and their derivatives"

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#3 Post by bester69 »

arochester wrote: 2021-09-28 18:50 https://miloserdov.org/?p=5930

Scroll down to "How to install Realtek RTL8821CE driver on Debian, Ubuntu, Kali Linux, Linux Mint and their derivatives"
Ive tested both drivers (tomaspinho and lwfinger) for a while, and In my case Ive found this version worked better for me :

https://github.com/lwfinger/rtw88

Code: Select all

git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

pascal111
Posts: 8
Joined: 2021-09-28 18:04

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#4 Post by pascal111 »

arochester wrote: 2021-09-28 18:50 https://miloserdov.org/?p=5930

Scroll down to "How to install Realtek RTL8821CE driver on Debian, Ubuntu, Kali Linux, Linux Mint and their derivatives"
I went to the mentioned paragraph in that article and it has these commands:
sudo apt install bc module-assistant build-essential dkms
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
sudo m-a prepare
sudo ./dkms-install.sh
I downloaded the packages on Ubuntu and tried to install 'em manually on Debian but I have this error message:

Code: Select all

pascal111@pascal:~/g$ sudo apt install ./build-essential_12.8ubuntu1.1_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'build-essential' instead of './build-essential_12.8ubuntu1.1_amd64.deb'
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu dpkg-dev fakeroot g++
  g++-10 gcc gcc-10 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan6 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libfakeroot
  libgcc-10-dev libitm1 liblsan0 libnsl-dev libstdc++-10-dev libtirpc-dev
  libtsan0 libubsan1 linux-libc-dev make manpages-dev patch
Suggested packages:
  binutils-doc debian-keyring g++-multilib g++-10-multilib gcc-10-doc
  gcc-multilib autoconf automake libtool flex bison gdb gcc-doc
  gcc-10-multilib gcc-10-locales glibc-doc libstdc++-10-doc make-doc ed
  diffutils-doc
Recommended packages:
  libc-devtools
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev
  fakeroot g++ g++-10 gcc gcc-10 libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6 libatomic1
  libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0
  libctf0 libfakeroot libgcc-10-dev libitm1 liblsan0 libnsl-dev
  libstdc++-10-dev libtirpc-dev libtsan0 libubsan1 linux-libc-dev make
  manpages-dev patch
0 upgraded, 35 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/50.6 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 /home/pascal111/g/build-essential_12.8ubuntu1.1_amd64.deb build-essential amd64 12.8ubuntu1.1 [4,664 B]
Media change: please insert the disc labeled
 'Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04'
in the drive '/media/cdrom/' and press [Enter]

Media change: please insert the disc labeled
 'Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 DVD Binary-1 20210814-10:04'
in the drive '/media/cdrom/' and press [Enter]

I didn't install Debian by CD rom but with USB flash, and my CD/DVD writer has problems in writing discs. How can we solve this situation? for example if we can use the USB flash.

pascal111
Posts: 8
Joined: 2021-09-28 18:04

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#5 Post by pascal111 »

bester69 wrote: 2021-09-28 19:04
arochester wrote: 2021-09-28 18:50 https://miloserdov.org/?p=5930

Scroll down to "How to install Realtek RTL8821CE driver on Debian, Ubuntu, Kali Linux, Linux Mint and their derivatives"
Ive tested both drivers (tomaspinho and lwfinger) for a while, and In my case Ive found this version worked better for me :

https://github.com/lwfinger/rtw88

Code: Select all

git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
I had this error message:

Code: Select all

pascal111@pascal:~/g/rtw88$ make
bash: make: command not found

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#6 Post by p.H »

This thread should be pinned as an example of what NOT to do :
- For a missing firmware, suggest to build third-party drivers instead of install missing firmware...
- Try to install Ubuntu packages on Debian...

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#7 Post by bw123 »

firmware-realtek
* Realtek 8821C firmware (rtw88/rtw8821c_fw.bin)
resigned by AI ChatGPT

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#8 Post by bester69 »

bw123 wrote: 2021-09-29 02:12 firmware-realtek
* Realtek 8821C firmware (rtw88/rtw8821c_fw.bin)
That is not wifi driver.. It just bringhts bluetooth and think ethernet one too; its needed rtw8821ce (its not in debian repository)
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#9 Post by bester69 »

pascal111 wrote: 2021-09-28 21:03 I had this error message:

Code: Select all

pascal111@pascal:~/g/rtw88$ make
bash: make: command not found
Requirements
You will need to install "make", "gcc", "kernel headers", "kernel build essentials", and "git".

Code: Select all

sudo apt-get update
sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
For all distros:
git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#10 Post by bester69 »

p.H wrote: 2021-09-28 22:20 This thread should be pinned as an example of what NOT to do :
- For a missing firmware, suggest to build third-party drivers instead of install missing firmware...
- Try to install Ubuntu packages on Debian...
please tell us what we have to install... we install third-party drivers cos there is missing wifi firmware for our wifi device (8821CE) in debian's repositories. :shock:
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#11 Post by bw123 »

...
we install third-party drivers cos there is missing wifi firmware for our wifi device (8821CE) in debian's repositories.
It might help other people if you identify the device by vendor id, and show the kernel msg asking for the specific firmware that is missing.

something like this should work

Code: Select all

lspci -nn | grep Net
dmesg | grep firmware
Sometimes firmware can lag getting into the repo, so there might be some newer in testing or sid repo. In that case you can just download the deb and install locally with apt or dpkg.

Good luck
resigned by AI ChatGPT

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#12 Post by sunrat »

This is getting confusing. OP asked about missing firmware which will be solved by installing firmware-realtek from the non-free repository.
https://packages.debian.org/bullseye/firmware-realtek

But according to our friend bester, one also needs to compile and install the driver for this device. @pascal111 follow bester's instructions to install the driver. Then reboot and your wifi device should be active.
I downloaded the packages on Ubuntu and tried to install 'em manually on Debian but I have this error message:
Downloading and attempting to install Ubuntu packages is absolutely the wrong way to manage packages on Debian. You can use apt on command line, or Synaptic, or that Gnome software thingy to install packages from the official Debian repositories.
Adding outside packages or mismatched repositories can create a Frankendebian. Read this carefully - DontBreakDebian

And here's a concise video on using Synaptic - https://www.youtube.com/watch?v=OP7h0nG1fGg
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

pascal111
Posts: 8
Joined: 2021-09-28 18:04

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#13 Post by pascal111 »

I mentioned that I'm a beginner, and the Terminal was asking me putting CD disc that I haven't because I used USB flash - in fact - to install Debian, also it seems Debian is the original distro of its derivatives and it's some difficult with beginners, so such problem like we have here can be serious one for beginners and it causes that he can't work with the OS on his computer and he will be like paralyzed person, really I felt I can't function with my computer. So, the basic problem that prevented Debian responding to our solution was in "Software & Update", accidentally, I succeeded to add link for apt in "Software & Update" instead of CD rom choice to make Debian communicate with internet resources and get the wanted data like next image after I added the link:

Image

I got the link from here: https://www.debian.org/doc/manuals/apt- ... co.en.html

Then I ran the mentioned commands of one of suggested sites in this topic and they worked this time without asking CD rom:
sudo apt install bc module-assistant build-essential dkms
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
sudo m-a prepare
sudo ./dkms-install.sh
I restarted my computer, and searched for Wifi and found it, and it works now and I'm communicating with you from my Debian through Wifi. Thanks everyone for your efforts.

LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed

#14 Post by LTL »

bester69 wrote: 2021-09-28 19:04
arochester wrote: 2021-09-28 18:50 https://miloserdov.org/?p=5930

Scroll down to "How to install Realtek RTL8821CE driver on Debian, Ubuntu, Kali Linux, Linux Mint and their derivatives"
Ive tested both drivers (tomaspinho and lwfinger) for a while, and In my case Ive found this version worked better for me :

https://github.com/lwfinger/rtw88

Code: Select all

git clone https://github.com/lwfinger/rtw88.git
cd rtw88
make
sudo make install
I tried tomaspinho's driver, but it doesn't work because it requires insecure booting from BIOS. I have tried lwfinger, but it is no longer available. Please see the snapshot attached.
loc@debian:~$ git clone https://github.com/lwfinger/rt88.git
Cloning into 'rt88'...
Username for 'https://github.com': locthele
Password for 'https://locthele@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/lwfinger/rt88.git/' not found
loc@debian:~$
Please help. Thank you,

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]

#15 Post by sunrat »

Works here, without logging in to Github.

Code: Select all

git clone https://github.com/lwfinger/rtw88.git
Cloning into 'rtw88'...
remote: Enumerating objects: 815, done.
remote: Counting objects: 100% (253/253), done.
remote: Compressing objects: 100% (149/149), done.
remote: Total 815 (delta 133), reused 133 (delta 104), pack-reused 562
Receiving objects: 100% (815/815), 1.56 MiB | 5.64 MiB/s, done.
Resolving deltas: 100% (566/566), done.
You left out a "w". :D
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]

#16 Post by LTL »

sunrat wrote: 2022-09-21 04:01 Works here, without logging in to Github.

Code: Select all

git clone https://github.com/lwfinger/rtw88.git
Cloning into 'rtw88'...
remote: Enumerating objects: 815, done.
remote: Counting objects: 100% (253/253), done.
remote: Compressing objects: 100% (149/149), done.
remote: Total 815 (delta 133), reused 133 (delta 104), pack-reused 562
Receiving objects: 100% (815/815), 1.56 MiB | 5.64 MiB/s, done.
Resolving deltas: 100% (566/566), done.
You left out a "w". :D
Thanks. You are correct: "w" was missed out. Good news is working perfectly, no need to set insecure boot in BIOS.

User avatar
bester69
Posts: 2072
Joined: 2015-04-02 13:15
Has thanked: 24 times
Been thanked: 14 times

Re: "rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]

#17 Post by bester69 »

if you are getting issues with power management RTL8821CE driver wifi after suspend THEN:
https://miloserdov.org/?p=5930

PCIe Activate State Power Management
Your distribution may ship with PCIe Activate State Power Management enabled by default. It may conflict with this driver. To disable:
sudo $EDITOR /etc/default/grub

Add pci=noaer to the end of GRUB_CMDLINE_LINUX_DEFAULT. The line should look something like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...

Post Reply