Active Topics

 


Reply
Thread Tools
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#1
I would like to run a ssh tunnel from my n900 whenever I am on 3g.

Will this use extra power? Does the ssh tunnel go into a sleep state, or does it leave an idle connection open?
 
Posts: 161 | Thanked: 70 times | Joined on Feb 2010
#2
It depends on the configuration. The configuration files are under /etc/ssh/. And even if its active the power that is going to be used is insignificant unless you are performing scp
 
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#3
I thought I read somewhere that idle connections from the n900 increased battery drain.
 
Posts: 171 | Thanked: 114 times | Joined on Feb 2010
#4
You will increase the traffic due to encryption. Also, if you use keep alives for the tunnels, that would further increase traffic. So while it won't affect the power usage directly, given that you would be transmitting and receiving more data and also since the CPU would need to perform encryption and hence stay out of idle for longer, it is likely you would see a reduction in battery life usage. A better idea would be to use QueenBeecon to turn the tunnel on and off when you need it, rather than it being on all the time. Your email traffic is encrypted as it is and most decent widgets such as facebook etc. should be using ssl as well, so you won't gain much by having the ssh tunnel ON when the deivce is unattended.
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#5
I guess the most negative impact on battery life would come from keeping the connection open. Closing the connection if not used would save a lot of battery power!
 
zwer's Avatar
Posts: 455 | Thanked: 782 times | Joined on Nov 2009 @ Netherlands
#6
Tunneling wouldn't chew on the CPU that much, the main battery drainer in this case would be the 3G radio, at least during idle connection when only a small amount of data is passed between the tunnel and the N900 - to the radio it doesn't matter if it's 10 bytes or 100 kbytes, it will still have to transmit and thus chew through the battery. How much? Well, somebody would have to test it...
__________________
Man will never be free until the last king is strangled with the entrails of the last priest.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:57.