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?
Finally, I was able to fix the issue.
Get details of your PCI wireless card by running the following
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 Adapterso the model of my card is
Open or create
SUSPEND_MODULES="rtl8723be"(replace rtl8723be with your own model number) Then run
Now your system should be able to reconnect automatically after sleep, and wifi connection never got lost once for me after doing this.