Huawei dongle keeps on disconnecting when idle. How do I stop this?
8,720
Solution 1
You can try changing the state of your mobile broadband from the Tunables
tab.
As the Powertop web site doesn't have any useful documentation, I was unable to find any concrete answers. However, you can have a look at the website: http://www.lesswatts.org/projects/powertop/
Some more links:
Solution 2
A temporary solution would be to prevent the internet connection from idling with a simple script.
Create file /etc/cron.d/ping
# /etc/cron.d/ping
# ping every one minute
* * * * * nobody ping -c 1 -W 10 -q www.google.com >/dev/null 2>&1
Related videos on Youtube
Author by
Mysterio
Updated on June 30, 2022Comments
-
Mysterio less than a minute
I have a Huawei E172 USB dongle that works perfectly with Precise. However it keeps on disconnecting the internet connection when I'm not doing anything that requires internet connection. I think it has to do with
Powertop tunables
. I have turned so many things off in this section. Here is the list of the things I turned off:-
January almost 10 yearsI think that you enabled autosuspend for USB while relying on USB for your internet connection :-) I don't use powertop, because I lack a deep understanding of what it actually does.
-
Mysterio almost 10 yearsI have now turned off autosuspend for anything 'USB' related to see if that will stop this. I'll report back if this is successful
-
Mysterio almost 10 yearsIndeed not turning things related to 'USB' solves the issue of disconnection
-
-
Mysterio almost 10 yearsYou are so right about the lack of documentation with regards to Powertop