maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 stops responding ot ping, looses ssh, pinging from the phone akes it up (https://talk.maemo.org/showthread.php?t=88072)

sup 2012-11-30 12:52

N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
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).

mr_pingu 2012-11-30 13:36

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
Wifi powersaving, turn it off in advanced settings per connection. However it *will* increase power usage of wlan.

sup 2012-12-01 18:31

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
Quote:

Originally Posted by mr_pingu (Post 1300044)
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.

mr_pingu 2012-12-01 19:04

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
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

sup 2012-12-01 19:09

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
Quote:

Originally Posted by mr_pingu (Post 1300400)
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!

shadowjk 2012-12-07 13:12

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
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.

uTMY 2012-12-07 13:41

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
Quote:

Originally Posted by sup (Post 1300393)
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

sup 2012-12-07 14:21

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
Quote:

Originally Posted by shadowjk (Post 1302245)
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.

sup 2012-12-07 14:22

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
Quote:

Originally Posted by uTMY (Post 1302259)
Use OpenVPN?

rgds

Thanks, but that vould ve too complicated:-).

pichlo 2012-12-07 19:23

Re: N900 stops responding ot ping, looses ssh, pinging from the phone akes it up
 
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.


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

vBulletin® Version 3.8.8