I am using Ubuntu 14.04 on my HP 15-r204TX. When I start Ubuntu Wifi works fine but after 2-3 mins the browser shows no internet connection. Turning WiFi off and back on doesn't fix it and I'm not able to switch networks - it shows "connecting" and never gets connected. If I restart, it works again for 2-3 minutes.
$ lspci -knn | grep Net -A2
0a:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
Subsystem: Hewlett-Packard Company Device [103c:2231]
Kernel driver in use: rtl8723be
lspci -knn | grep Net -A2
terminal command. – Pilot6 May 15 '16 at 08:33