[Realtek rtl8723be] - Fix dropped Wifi connections



Below are numerous general tips that can help remedy dropped WiFi connections:



Disable MAC Address Randomization with the following command:

echo -e "[device]\nwifi.scan-rand-mac-address=no" | sudo tee /etc/NetworkManager/conf.d/disable-random-mac.conf


After modifying Network Manager’s configuration in any way, reboot both your router and your computer.



Disable Network Manager’s WiFi power saving features with the following command:

echo -e "[connection]\nwifi.powersave = 0" | sudo tee /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

A setting of “0” will totally disable power saving features in the WiFi adapter.

A setting of “2” or “1” will be less aggressive, but still leave power saving enabled.



Add the following kernel boot parameters to grub:

ipv6.disable=1 pcie_aspm=off 

The following command will automatically add the above kernel boot parameter to /etc/default/grub:

sudo cp /etc/default/grub /etc/default/grub.bak && sudo sed '/^GRUB_CMDLINE_LINUX_DEFAULT=/s/"$/ ipv6.disable=1 pcie_aspm=off"/g' -i /etc/default/grub

After adding the boot parameters, run:

sudo update-grub 

Then reboot



Try locking your Wifi connection to your AP’s SSID in network manager.

You can do this in Network Manager’s “Wi-Fi” tab in your WiFi connection’s properties settings.

There is a “BSSID” drop down field where you can select and lock your home Wi-Fi to a single BSSID.



Try assigning your computer a static IP address via MAC address association through your router configuration settings.



Set a fixed wifi channel that is the least congested in your router configuration utility.

There are utilities you can install on your cel phone to diagnose the wifi traffic in your area and help identify the best channel to select.



Test your wifi on the 2.4 GHz band, and be sure you have separate BSSID’s for the 2.4 and 5 GHz bands set in your router.



I hope some of those tips help.



I will add more Realtek specific tips on another post.



5 Likes