<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Have you thought about using IPsec for your VPN's
      and enabling it's "Dead peer detection" works great if you need a
      permanent VPN. You will find quite a few Firewalls and routers
      with it built in.<br>
      <br>
      Paul  </font><br>
    <br>
    <div class="moz-cite-prefix">On 07/09/15 23:26, Jason Irwin wrote:<br>
    </div>
    <blockquote
cite="mid:CAL8DSQkG7om1BzX2RZmJ_0rTm9+B=qKz4mUdvfaXikdWpa9SgA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>Have you ever found that when dealing with IT,
                    you vanish down a rabbit hole only to emerge back
                    into the light and be incapable of seeing what is in
                    front of you face?<br>
                    <br>
                  </div>
                  Seems there may be a number of factors making my life
                  hell:<br>
                </div>
                1) Dodgy power - there was a cut at around 1500 which
                tallies with when my connection dropped.<br>
              </div>
              2) Dodgy Internet - the Pi is betwixt two Spanish villages
              and that is as problematic as you can imagine,<br>
            </div>
            3) The VPN - although it's based on OpenVPN, either the way
            it's configured or 2) above just makes it really brittle.
            I'm considering pulling that now as, for reasons, it is no
            longer serving the intended function (and I've half a mind
            to run-up my one on some of those Scaleway ARM doofers, for
            reasons).<br>
            <br>
          </div>
          Given 1) and 2), is there a good approach to restablishing
          connections? I can imagine writing arcane scripts along the
          lines of "IF 'ping google' is ok THEN do stuff ELSE sleep for
          longer" but I can't help thinking this has to be a solved
          problem. Probably 10 different ways... :-)<br>
          <br>
        </div>
        <div>Hmm...would a 9V battery works as the UPS for a Pi?.... :-)<br>
          <br>
        </div>
        <div>I've nw got systemd throwing a grump on reboot, at least
          that means it's trying to run my test script. Progres!<br>
        </div>
        <div><br>
        </div>
        <div>Thanks for all the help on this - currently installing
          Ubuntu 15.04 (I had the .iso on the drive) so i can muck about
          with systemd. Fingers crossed.<br>
          <br>
        </div>
        <div>J.<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Nottingham mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nottingham@mailman.lug.org.uk">Nottingham@mailman.lug.org.uk</a>
<a class="moz-txt-link-freetext" href="https://mailman.lug.org.uk/mailman/listinfo/nottingham">https://mailman.lug.org.uk/mailman/listinfo/nottingham</a></pre>
    </blockquote>
    <br>
  </body>
</html>