I am using Ubuntu 18.04 and my internet remains on for some time and then goes off (so basically ping doesn't work and neither does any website load inside the browser). I have to reconnect to the wifi and continue. I am not facing any such issues in Windows 10/my mobile using the same wifi network.
Note : This problem occurred in ubuntu 16.04 LTS as well hence I upgraded to 18.04 , it worked fine for 2 days and then again the problem started occurring. Also, I tried editing /etc/resolv.conf to have nameserver 8.8.8.8 but no effect. Also tried to decipher something from output of :
journalctl /usr/sbin/NetworkManager
but couldnt understand much what is exactly failing. Any help is greatly appreciated.
Edit : 1. Output of
sudo lshw -class network | grep driver
is here : https://pastebin.com/as5gU5te
- Output of
sudo modinfo $DRIVER
is here : https://pastebin.com/YJeuQxtP and I see fwlps:Set to 1 to use FW control power save (default 1) in the output.
- I currently cannot see any relevant output from
journalctl -k
hence will update it with relevant content when error occurs.
Also,if it is due to wifi dongle issue, it doesn't occur when I'm using windows 10, so I think that might not be the issue although I am not exactly sure.
dmesg
when the error occurs (orjournalctl -k
). My first guess would be power saving on your wifi dongle/card/chip (if when it goes down wifi is accessible from other devices).sudo lshw -class network | grep driver
will tell you your driver, andsudo modinfo $DRIVER
will give info about it including for example if it has powersave. – pbhj Dec 05 '18 at 20:04