Ubuntu 18.04 : Internet keeps going on and off while wifi is connected











up vote
1
down vote

favorite












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




  1. 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.




  1. 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.










share|improve this question




















  • 1




    Upload the content to pastebin.com if you think it might be relevant and then others can analyse it. There are a lot of things that it might be, I'd try looking at dmesg when the error occurs (or journalctl -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, and sudo modinfo $DRIVER will give info about it including for example if it has powersave.
    – pbhj
    Dec 5 at 20:04






  • 1




    Thanks @pbhj for looking into the issue. I've edited the question with relevant info on pastebin.
    – mandar
    Dec 6 at 3:29










  • So now you can set options and see if it works. You could look at Windows devicemanager to find how the options are set there. (There are other things this could be, if the dropouts are regular, and don't affect other devices on the same router/AP, then this to be is most likely.) Backup your /etc/modprobe.d/rtl8723be.conf before you change it. Also, there may be hidden options, so google it!
    – pbhj
    Dec 6 at 15:06

















up vote
1
down vote

favorite












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




  1. 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.




  1. 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.










share|improve this question




















  • 1




    Upload the content to pastebin.com if you think it might be relevant and then others can analyse it. There are a lot of things that it might be, I'd try looking at dmesg when the error occurs (or journalctl -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, and sudo modinfo $DRIVER will give info about it including for example if it has powersave.
    – pbhj
    Dec 5 at 20:04






  • 1




    Thanks @pbhj for looking into the issue. I've edited the question with relevant info on pastebin.
    – mandar
    Dec 6 at 3:29










  • So now you can set options and see if it works. You could look at Windows devicemanager to find how the options are set there. (There are other things this could be, if the dropouts are regular, and don't affect other devices on the same router/AP, then this to be is most likely.) Backup your /etc/modprobe.d/rtl8723be.conf before you change it. Also, there may be hidden options, so google it!
    – pbhj
    Dec 6 at 15:06















up vote
1
down vote

favorite









up vote
1
down vote

favorite











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




  1. 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.




  1. 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.










share|improve this question















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




  1. 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.




  1. 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.







16.04 18.04






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 6 at 3:25

























asked Dec 5 at 19:23









mandar

63




63








  • 1




    Upload the content to pastebin.com if you think it might be relevant and then others can analyse it. There are a lot of things that it might be, I'd try looking at dmesg when the error occurs (or journalctl -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, and sudo modinfo $DRIVER will give info about it including for example if it has powersave.
    – pbhj
    Dec 5 at 20:04






  • 1




    Thanks @pbhj for looking into the issue. I've edited the question with relevant info on pastebin.
    – mandar
    Dec 6 at 3:29










  • So now you can set options and see if it works. You could look at Windows devicemanager to find how the options are set there. (There are other things this could be, if the dropouts are regular, and don't affect other devices on the same router/AP, then this to be is most likely.) Backup your /etc/modprobe.d/rtl8723be.conf before you change it. Also, there may be hidden options, so google it!
    – pbhj
    Dec 6 at 15:06
















  • 1




    Upload the content to pastebin.com if you think it might be relevant and then others can analyse it. There are a lot of things that it might be, I'd try looking at dmesg when the error occurs (or journalctl -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, and sudo modinfo $DRIVER will give info about it including for example if it has powersave.
    – pbhj
    Dec 5 at 20:04






  • 1




    Thanks @pbhj for looking into the issue. I've edited the question with relevant info on pastebin.
    – mandar
    Dec 6 at 3:29










  • So now you can set options and see if it works. You could look at Windows devicemanager to find how the options are set there. (There are other things this could be, if the dropouts are regular, and don't affect other devices on the same router/AP, then this to be is most likely.) Backup your /etc/modprobe.d/rtl8723be.conf before you change it. Also, there may be hidden options, so google it!
    – pbhj
    Dec 6 at 15:06










1




1




Upload the content to pastebin.com if you think it might be relevant and then others can analyse it. There are a lot of things that it might be, I'd try looking at dmesg when the error occurs (or journalctl -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, and sudo modinfo $DRIVER will give info about it including for example if it has powersave.
– pbhj
Dec 5 at 20:04




Upload the content to pastebin.com if you think it might be relevant and then others can analyse it. There are a lot of things that it might be, I'd try looking at dmesg when the error occurs (or journalctl -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, and sudo modinfo $DRIVER will give info about it including for example if it has powersave.
– pbhj
Dec 5 at 20:04




1




1




Thanks @pbhj for looking into the issue. I've edited the question with relevant info on pastebin.
– mandar
Dec 6 at 3:29




Thanks @pbhj for looking into the issue. I've edited the question with relevant info on pastebin.
– mandar
Dec 6 at 3:29












So now you can set options and see if it works. You could look at Windows devicemanager to find how the options are set there. (There are other things this could be, if the dropouts are regular, and don't affect other devices on the same router/AP, then this to be is most likely.) Backup your /etc/modprobe.d/rtl8723be.conf before you change it. Also, there may be hidden options, so google it!
– pbhj
Dec 6 at 15:06






So now you can set options and see if it works. You could look at Windows devicemanager to find how the options are set there. (There are other things this could be, if the dropouts are regular, and don't affect other devices on the same router/AP, then this to be is most likely.) Backup your /etc/modprobe.d/rtl8723be.conf before you change it. Also, there may be hidden options, so google it!
– pbhj
Dec 6 at 15:06

















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098734%2fubuntu-18-04-internet-keeps-going-on-and-off-while-wifi-is-connected%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098734%2fubuntu-18-04-internet-keeps-going-on-and-off-while-wifi-is-connected%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido