View Single Post
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#35
Originally Posted by kimmoli View Post
I have had good experiences for ssh responsivines by changing the sshd clientalive -parameters.

in /etc/ssh/sshd_config i uncommented following parameters, and changed interval to 15 secs.

ClientAliveInterval 15
ClientAliveCountMax 3


(This helps only when ssh opened to the phone, but it seems to keep e.g. all qml timers running)
Do you mean when using a ssh _client_ on the phone?

Otherwise it would be weird -- because by changing ClientAliveInterval on the phone it is actually the phone the one that should be sending ClientAlive messages. But the phone is suspended! So it would do nothing at best and at worst it would cause the phone to drop the connection when it awakens....

Note that changing mcetool settings survive a reboot (wakelocks do not).
 

The Following User Says Thank You to javispedro For This Useful Post: