I know this question can be redundant, but I have not been able to fix it and I am starting to be desperate. Busy at work and without time to fix it, I lose connection every 5-10 min, my hair is getting whiter...
So I changed the router, and that is the origin of the problem. I have a dual boot with Windows.
1) I checked if the connection was stable. In Windows it was.
2) I did the IPV6 thing (Change the wireless setting of IPv6).
3) I also tried this
echo "options iwlwifi 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf
sudo modprobe -rfv iwldvm
sudo modprobe -rfv iwlwifi
sudo modprobe -v iwlwifi
4) Then I went for the best solution, following instructions here (Wifi Connection lost randomly)
But when I run this I get an error
echo "options RTL8111/8168/8411 fwlps=N" | sudo tee /etc/modprobe.d/RTL8111/8168/8411.conf
So now I do not know what to do next. I link (for being too long) information from wireless info script as recommended. http://paste.ubuntu.com/25024757/
Any other help, will be deeply appreciated.