Wifi stop working after while on Ubuntu 14.04.2

Solution 1:

you can try one of the below solution:

Open terminal and type in: sudo service network-manager restart.
OR
Go to System Setting -> Network -> Forget your wifi and reconnect to it.
OR
Restart or Log off and Log into your laptop.

Solution 2:

My new Dell Inspiron laptop had the same issue: WiFi would work for a few minutes, then stop working. Adding

options rtl8723be fwlps=N ips=N 

to /etc/modprobe.d/rtl8723be.conf fixed the problem.

But then I saw How do I get a Realtek RTL8723BE wireless card to work? which seems a more definitive approach. So I did that instead (removing rtl8723be.conf as well), and that worked as well.

I'm a little uneasy using this "unapproved" WiFi driver, but it does seem to work.