[Nottingham] How to remote diagnose network issues?
Paul
reclusivegeek at yahoo.co.uk
Mon Sep 7 11:18:15 UTC 2015
Hi Jason,
I have not been following the thread for sometime but I am just
wondering why your using SSH and not a VPN. I use openVPN to manage a
large estate of systems through out Europe and I have to say it has
proved very reliable and secure for many years.
I guess I am missing something ?
Paul
On 06/09/15 23:06, Jason Irwin wrote:
> I am trying to have a RasPi create a a reverse tunnel to a server so I
> can manage it. This should be simple enough. For some reason I have
> not yet been able to determine, the connection keeps dropping out.
> Even with autossh.
>
> My first problem is, what has replaced /etc/network/if-up.d/ in systemd?
> I know systemd defines things differently, but no amount of searching
> has given the the answer to "How to get systemd to run a script when
> the network is up".
>
> Next is, how do I figure out *why* the connection drops? I've got
> autossh dumping its error messages to a log file that remains
> annoyingly empty, I just don't get it. I've run this same thing
> (autossh -f /path/cert -R 1234:here:22 foo at bar) numerous times and it
> just, well, works! Only thing different in this case is that the RasPi
> is on a VPN that can hiccup (which the Pi detects and restarts). Thing
> is, with autossh, I would expect it to re-connect back to me one the
> Pi has finished slapping ithe VPN around (regardless of any systemd muck).
>
> Internet connection to the location is also woeful, so any video
> chat/desktop share is fraught; or I'd use TeamViewer or something
> access Cygwin on a local lappy. Luckily there is an IT adept out at
> the location for the next few days.
>
> Any help gratefully received!
>
> J.
>
>
> _______________________________________________
> Nottingham mailing list
> Nottingham at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/nottingham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/nottingham/attachments/20150907/b990c85c/attachment.html>
More information about the Nottingham
mailing list