Wifi and bluetooth not working on ubuntu 22.04

Hi I recently moved to HP laptop

I have ubuntu 22.04 running on it, however there is major issue with wifi and Bluetooth which collapses after an hour or so of use, and works on restart again.

I wanted to understand why this is happening, and if there are specific drivers I need to install for it to work.

I am attaching the system and wifi info below, if any more info is required LMK.

Host: linux Kernel: 6.2.0-26-generic x86_64 bits: 64 Desktop: GNOME 42.9
Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Laptop System: HP product: HP Pavilion Laptop 15-eh2xxx
CPU Info: 6-core model: AMD Ryzen 5 5625U with Radeon Graphics bits: 64
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb Report: hciconfig ID: hci0 state: up address: 10:68:38:90:86:61 bt-v: 3.0

Network Device-1: Realtek driver: rtw89_8852be IF: wlo1 state: down mac: 10:68:38:90:86:60

output of sudo lshw -C network

 *-generic DISABLED
       product: Realtek Semiconductor Co., Ltd.
       vendor: Realtek Semiconductor Co., Ltd.
       configuration: broadcast=yes driver=rtw89_8852be driverversion=6.2.0-26-generic firmware=N/A latency=255 link=no maxlatency=255 mingnt=255 multicast=yes wireless=IEEE 802.11
       resources: irq:74 ioport:f000(size=256) memory:fcf00000-fcffffff

Two possible answers …
Try updating the drivers as described

Failing that a faulty WiFi card could mean using an external WiFi usb key, but of course that would be costly especially if the first solution fixes the issue

There are no available drivers, i think ill just go with WiFi USB stick

1 Like

Sometimes it’s just easier to go with buying a solution and as they are around 15 euros not worth the pain

1 Like

Hi @Rishu_Shrivastav ,
Welcome to the forum.
I don’t know how to help you, but I did a search on google and some results came up with the same problem you have.

One question: have you tried changing the wifi powersave?

According to this link, you could try to change the powersave value to fix the problem.

Could you please check what is the value of your wifi powersave with this command?

cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

If wifi.powesafe is not 2, could you try the following procedure to change wifi.powersave to 2 (disable powersave)?

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
  • Change the value of wifi.powersave to 2
  • Save the file (ctrl + o)
  • Exit the Nano (ctrl + x)
  • Restart the NetworkManager (or just reboot):
sudo systemctl stop NetworkManager
sudo systemctl start NetworkManager

I hope it solves your wifi problem


Related links:

Can I add another useful Wifi link

1 Like

I recently experienced EXTREMELY flaky WiFi and Bluetooth on my Ryzen Thinkpad - E495 - RealTek WiFi and BlueTooth…

Ended up buying (measly $20 AUD) an Intel Chipset (AX210) mini PCIe card (for laptops) and that solved ALL of my dodgy WiFi / Bluetooth issues - RealTek are GARBAGE on Linux, mostly… The hardest part was attaching the chassis antenna cables (needed a magnifying glass!).

Proviso : “solved ALL of my dodgy WiFi / Bluetooth issues” is a bit of hyperbole… WiFi is actually pretty good on Linux, but BlueTooth has nearly always been a steaming pile of crap (on Linux)… When it works it feels like black magic, when it doesn’t work it feels like bad juju…