On Thu, 13 Mar 2014 11:57:39 +0000 Steve Engledow steve@offend.me.uk allegedly wrote:
I have a machine at home that's connected to the telly so that the wife can use it for Skype (just bought a *really* nice HD webcam) and browsing etc (and I can use it for Steam ;)
Skype? *Skype*??? Oh well....
What I don't know is how to make it do that when it boots - obviously when the wifi gets around to connecting - and to make it resilient to drop outs, i.e. reconnect if the connection is lost.
You could setup a script in /etc/network/if-up.d to start the ssh process when TCP is up on an interface. And I think that autossh might help with the second problem (drops).
Mick
---------------------------------------------------------------------
Mick Morgan gpg fingerprint: FC23 3338 F664 5E66 876B 72C0 0A1F E60B 5BAD D312 http://baldric.net
---------------------------------------------------------------------