The Following 3 Users Say Thank You to xes For This Useful Post: | ||
|
2016-12-02
, 16:52
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#82
|
Then, another interesting feature would be the automatic switch of the wifi power management also for an outgoing ssh session.
The Following User Says Thank You to rasmarc For This Useful Post: | ||
|
2016-12-02
, 19:32
|
Posts: 638 |
Thanked: 1,692 times |
Joined on Aug 2009
|
#83
|
The Following 3 Users Say Thank You to xes For This Useful Post: | ||
|
2016-12-03
, 03:58
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#84
|
The Following 3 Users Say Thank You to rasmarc For This Useful Post: | ||
|
2016-12-03
, 04:28
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#85
|
|
2016-12-03
, 14:22
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#87
|
Thank you for the update.
Sadly, it seems that it can't detect the ssh client session since the wifi power status remains unchanged.
sudo iwconfig
ssh USERNAME@NETWORK-IP
PermitLocalCommand yes localCommand /usr/lib/openssh/session_client
grep ssh
grep sshd:
ps | grep wifi
|
2016-12-03
, 21:51
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#89
|
@rasmarc
the problem is due to the write permission/owner of /home/user/nohup.
|
2016-12-03
, 22:07
|
Posts: 638 |
Thanked: 1,692 times |
Joined on Aug 2009
|
#90
|
The Following User Says Thank You to xes For This Useful Post: | ||
..While you are at it, why not add an autostart (if not active) for some kind of connectivity or profile?
example:
autostart sshd when:
[ ] usb pc suite mode
- wifi profile:
[x] wifi_home
[ ] wifi_job
Then, another interesting feature would be the automatic switch of the wifi power management also for an outgoing ssh session.
Hey, weren't you that asked some ideas?
Last edited by xes; 2016-12-02 at 12:06.