Page 1 of 1
"rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]
Posted: 2021-09-28 18:17
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
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-28 18:50
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"
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-28 19:04
by bester69
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
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-28 21:02
by pascal111
I went to the mentioned paragraph in that article and it has these commands:
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.
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-28 21:03
by pascal111
bester69 wrote: ↑2021-09-28 19:04
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
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-28 22:20
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...
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-29 02:12
by bw123
firmware-realtek
* Realtek 8821C firmware (rtw88/rtw8821c_fw.bin)
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-29 09:52
by bester69
That is not wifi driver.. It just bringhts bluetooth and think ethernet one too; its needed
rtw8821ce (its not in debian repository)
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-29 09:55
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:
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-29 10:02
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.
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-29 11:59
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
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-29 12:39
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
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2021-09-29 14:10
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:
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:
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.
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed
Posted: 2022-09-21 03:51
by LTL
bester69 wrote: ↑2021-09-28 19:04
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,
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]
Posted: 2022-09-21 04:01
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".
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]
Posted: 2022-09-21 05:05
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".
Thanks. You are correct: "w" was missed out. Good news is working perfectly, no need to set insecure boot in BIOS.
Re: "rtw88/rtw8821c_fw.bin" Wifi is missed [SOLVED]
Posted: 2023-08-17 10:46
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"