![]() |
[ANNOUNCE] Keep Wi-Fi power-management off during SSH/SFTP sessions
This is a dirty workaround, but no one seems to find a more elegant way.
Put these lines in your /etc/ssh/sshd_config Code:
Compression no #optional Code:
#!/bin/sh Code:
#!/bin/sh Then run Code:
sudo chmod +x /usr/lib/openssh/ssh-session The 20 seconds timeout for invoking iwconfig isn't meant to be precise, test and report your measures. --------------------------- If you use ssh server only at home, you may also want to do this: Create /etc/network/if-up.d/ssh (replace YOUR_AP_ESSID with the name of your access point) Code:
#!/bin/sh Code:
#!/bin/sh Code:
#start on stopped rcS Code:
sudo chmod +x /etc/network/if-*.d/ssh |
Re: [ANNOUNCE] Keep Wi-Fi power-management off during SSH/SFTP sessions
did this followed your steps now i cant apt-get anything FAPMAN or APPMAN dont work
i even uninstalled openssh thanx alot! now i gotta reflash |
Re: [ANNOUNCE] Keep Wi-Fi power-management off during SSH/SFTP sessions
Quote:
But T4UR14N, whatever your problem is, it has nothing to do with what was posted: there is nothing there that interacts with apt. Possibly you put a horrendous typo into something in /etc/network/if-up.d/ and now you cant get a net connection?? You could avoid these sorts of problems generally by not duplicating other peoples' operating system modifications until you can reasonably understand what those changes are. Commands that start with "sudo", or that modify files in /etc or /usr should sound off warning bells in your head. On the other hand, breaking your linux system can be a great way to learn about it -- just understand that when you do, it will be your own fault!! (These steps can be mostly undone by just doing them in reverse, that is, remove the 4 NEW files that you created, Then to fix sshd, remove the 2 new # marks from /etc/event.d/sshd, and get rid of any lines added to /etc/ssh/sshd_config, then the knowledgeable or brave soul would have to do sudo update-rc.d -f ssh defaults) |
Re: [ANNOUNCE] Keep Wi-Fi power-management off during SSH/SFTP sessions
Quote:
thanks but this is where backup menu comes in handy |
Re: [ANNOUNCE] Keep Wi-Fi power-management off during SSH/SFTP sessions
Quote:
|
All times are GMT. The time now is 08:17. |
vBulletin® Version 3.8.8