Wifi connects and disconnects after a few minutes

Hi! I’m new to fedora and I’m running on a issue that I dont even know how to start solving. I have a thinkpad e490 with the wifi adapter from realtek RTL8822BE. I’ve tried fresh installing it again but when I lspci on the terminal it shows:

05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac Wifi adapter (rev ff)

Wifi connects and disconnects after a few minutes. If i plug the internet cable I’m able to connect, the problem really seems to be with the wifi card. Here is the output for lspci -nn

and for inxi -Nxx

Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000
           bus-ID: 04:00.0 chip-ID: 10ec:8168

Please show us the output of lspci -nn for that device. Also the output of inxi -Nxx

You did not actually tell us the problem, only the device you think it is related to.

What is happening? or not happening that you think should?
Describing in detail the problem will give us a starting point to possibly assist.

1 Like

edited the post with your request!

I think I run into a solution here the problem is that when I try to make what it’s said it shows me that there is an issue with a missing file named Error: Unable to find a match: linux-headers-5.14.10-300.fc35.x86_64 build-essential

I’ve found some other useful info from fedora problem reporting

What are you trying to build with make?
The error is straight forward. The kernel-headers package must be installed to build that package (whatever it is). If building things against the kernel you should also have the kernel-devel package installed.

You are a little (LOT) out of date with that kernel. The current kernel for fedora 35 is 5.15.13 and failing to update fedora before attempting to build anything is certain to cause problems in the future.

It is also quite possible that simply doing a sudo dnf update may get the proper driver installed for that chipset. Inxi did not display it but lspci did so it seems the driver is not installed.

I suggest you do an update, then reboot, then repeat the inxi -Nxx command to see if the device is now configured.
Another way to see what is happening with a device is by using dmesg and journalctl -b -e --priority 3 to see what errors are being logged with the current boot and looking for entries related to the device of interest…

updated the kernel… problem was not solved :confused: it stays connected for a while and disconnects again

the output for both lspci -nn and inxi -Nxx remain the same as before

the output is

the output


All that indicates the driver is not loading, although it would be much better if you were to copy/paste the text into your post using the </> Preformatted text button above so it could all be parsed and not just what is visible on a single screenshot.

Searching for the driver for that device ( ID 1Dec:b822, or possibly 10ec:b822 ) (it is hard to read the screenshot whereas text would be easy to read) I find this for the ID 10ec:b822 chipset

which indicates 2 possible drivers. rtw-8822be or rtw88-8822be and also references the rtw88 and lwfinger drivers.

I cannot verify the device 100% since you posted a screenshot, so please run lspci -vv and post (as preformatted text) the entire portion related to device 05:00.0 (the realtek wifi adapter). Also post the entire output of lshw -class network -numeric and inxi -Nzxx There is an additional part of the chipset ID I have not seen yet that will help identify that chipset within the database linked above.

I also found this as a tutorial on how to install the rtl8822be driver.