16.04 LTS wifi connection lost randomly every 5 minutes
Finally, I was able to fix the issue.
Get details of your PCI wireless card by running the following
sudo lshw -class network
Get your card model info according to the product line of the wireless interface. For instance, as you can see in the question description it says product:
RTL8723BE PCIe Wireless Network Adapter
so the model of my card isRTL8723BE
Open or create
/etc/pm/config.d/config
and addSUSPEND_MODULES="rtl8723be"
(replace rtl8723be with your own model number) Then runecho "options rtl8723be fwlps=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
and reboot.
Now your system should be able to reconnect automatically after sleep, and wifi connection never got lost once for me after doing this.
Related videos on Youtube
Lixu
Updated on September 18, 2022Comments
-
Lixu over 1 year
First I had this issue described here 16.04 LTS wifi connection issues but nobody was able to provide a valid answer.
Recently this wifi connection issue gets even worse. I would lose wifi connection randomly about every 5 minutes on my computer(Dell XPS 8900 with skylake i7-6700 CPU and Samsung 950PRO SSD). The wifi icon would remain connected state while connection is lost. It looks like it would be reconnected automatically after a while or I will have to reconnect manually.
Can somebody plz tell me what is going on here? Is it something wrong with my computer or just another bug with this version?
-
Pilot6 almost 8 yearsThis fix is only for the specific adapter. It will not work for other models.
-
ericmjl about 7 yearsDoes this work for RTL8723AE?
-
David Bosschaert almost 7 yearsDidn't work for me as I have a different wifi card. However disabling ipv6 did the trick for me as described here askubuntu.com/questions/529347/… - although the posting is for 14.04 it works with 16.04 too.
-
ROMANIA_engineer over 6 yearsDidn't work for rtl8192cu - Ubuntu 17.10. It looked better but after 20 minutes it was disconnected again.
-
Admin about 6 years
as you can see in the question description it says product: RTL8723BE
- where is that question description? - I do no see Realtek mentioned in your question (the very reason it was marked as duplicate). If your issue was with Realtek post that in title. -
Kalanka almost 6 yearsworked for me on
RTL8101/2/6E
-
Haggra over 5 years@ericmjl I have tried with RTL8723AE and so far it seems to work. I will edit if it stops working, so if you're reading this, it works.