This question already has an answer here:
I have just installed Ubuntu on my Asus machine but the wifi keeps dropping after a while.
lspci -knn | grep Net -A2
03:00.0 Network controller : Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723] Subsystem: Lite-On Communications Inc RTL8723BE PCIe Wireless Network Adapter [11ad:1723] Kernel driver in use: rtl8723be Kernel modules: rtl8723be
How can I make my wifi stable?