Active Topics

 


Reply
Thread Tools
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#1
I access my phone through SSH via a wifi network. When I do not do anything over that connection for about ten minutes, it stops responding and I cannot even ping the phone from my computer. When I disconnect and connect the phone from wifi, it starts to respond again.

What is weirder, when i open the terminal on my phone and ping my computer (or do any other kind of network activity like opening a webpage on the phone), it starts responding again two (without disconnecting and reconnecting wifi). It seems like the network connection goes to some kind of sleep, but I have no idea what caused it. I am using the cssu thumb2 packages and the latest powerkernel, but I do not know if it might be related. Anybody has got any ideas what might be causing it? (I guess I could write a script that would ping my computer once a second and this kept the connection alive, but that is not really a solution to the root cause).
 

The Following User Says Thank You to sup For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#2
Wifi powersaving, turn it off in advanced settings per connection. However it *will* increase power usage of wlan.
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 6 Users Say Thank You to mr_pingu For This Useful Post:
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#3
Originally Posted by mr_pingu View Post
Wifi powersaving, turn it off in advanced settings per connection. However it *will* increase power usage of wlan.
Yep, that was it, but the power usage is massive - it is empty after six hours on wifi stanby and 30 minuts worht of usage). I guess I will rather live withouth ssh being always responsive. I can create a desktop shortcut that pings my router, I guess, I do not use ssh that often.
 

The Following User Says Thank You to sup For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#4
Here, this could be useful for you, mabye:

http://www.meegoexperts.com/2011/12/...sftp-sessions/

edit: source: http://talk.maemo.org/showthread.php?t=80529

note: I didn't try myself
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate

Last edited by mr_pingu; 2012-12-01 at 19:06.
 

The Following 3 Users Say Thank You to mr_pingu For This Useful Post:
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#5
Originally Posted by mr_pingu View Post
Here, this could be useful for you, mabye:

http://www.meegoexperts.com/2011/12/...sftp-sessions/

edit: source: http://talk.maemo.org/showthread.php?t=80529

note: I didn't try myself
Thanks, that is not what I am really after (typically, when I so something with ssh, I do not let the connection sit idle long enough for the N900 to stop responding), but it is useful anyway!
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#6
This happens for me when using Linksys WRT54GL with tomato firmware, but doesn't happen with my TP-Link 1043ND router. I don't think it happened with default firmware on the linksys either.
 
Posts: 131 | Thanked: 62 times | Joined on Feb 2010
#7
Originally Posted by sup View Post
Yep, that was it, but the power usage is massive - it is empty after six hours on wifi stanby and 30 minuts worht of usage). I guess I will rather live withouth ssh being always responsive. I can create a desktop shortcut that pings my router, I guess, I do not use ssh that often.
Use OpenVPN?

rgds
 
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#8
Originally Posted by shadowjk View Post
This happens for me when using Linksys WRT54GL with tomato firmware, but doesn't happen with my TP-Link 1043ND router. I don't think it happened with default firmware on the linksys either.
Yes, that is part of the issue I think - it did not happen with my other router running openwrt) - this one is some very cheap tplink.
 
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#9
Originally Posted by uTMY View Post
Use OpenVPN?

rgds
Thanks, but that vould ve too complicated:-).
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#10
I use AutoDisconnect. It allows to set up a specific timeout per type of connection (WiFi, Bluetooth, USB). It also allows to set up exceptions such as "do not disconnect while X is active" for X being IM, SSH and a bunch of other things.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:40.