Wifi Drops and Reconnects with UBUNTU 14.04 (Realtek RTL8188)
First in your router change 802.11bgn
to 802.11bg
.
Second change the wep encryption to just wpa2 (CCMP)(AES) not (TKIP) if you have that option it will work best.
Third set your wireless channel in the router to 1 or 11 then save the router configuration and reboot it.
Fourth go into network manager at top right corner of the screen and click on edit connections>wireless tab and set IPV6 to ignore.
Now open the terminal CTRL+ALT+_T then copy and paste the following code one line at a time for accuracy:
echo "options rtl8192ce swenc=1 ips=0" | sudo tee /etc/modprobe.d/rtl8192ce.conf
sudo modprobe -rfv rtl8192ce
sudo modprobe -v rtl8192ce