Re: OpenVPN doesn't restart after sleep

2015-04-20 Thread Bob Proulx
Tony van der Hoff wrote: > I meant 'addresses' gives 100% packet loss. > or succeed as expected, so networking > is up. If ping 8.8.8.8 has 100% packet loss then I would say full networking is down. It will be impossible for DNS to function that way. Does that mean your server isn't routing p

Re: OpenVPN doesn't restart after sleep

2015-04-16 Thread Tony van der Hoff
On 15/04/15 13:32, lukn555 wrote: > Hi Tony > > Sorry for the late reply, I suffered the same but I only just found out > how to fix this: > > > > Add the following script to /lib/systemd/system-sleep (in case you are > using systemd): > > $ cat /lib/systemd/system-sleep/openvpn.sh > #!/bin/ba

Fwd: Re: OpenVPN doesn't restart after sleep

2015-04-16 Thread Tony van der Hoff
Forward to list, having replied directly to Bob in error. Original Message Subject: Re: OpenVPN doesn't restart after sleep Date: Thu, 16 Apr 2015 15:10:29 +0200 From: Tony van der Hoff To: Bob Proulx Thanks for your reply, Bob. I have now risen from my sick-bed, an

Re: OpenVPN doesn't restart after sleep

2015-04-15 Thread Bob Proulx
lukn555 wrote: > Sorry for the late reply, I suffered the same but I only just found out > how to fix this: I am glad you have something that works for you. However I read this and it feels like a workaround for a deeper problem. I applaud you sharing your solution with us. Thank you for doing

Re: OpenVPN doesn't restart after sleep

2015-04-15 Thread lukn555
Hi Tony Sorry for the late reply, I suffered the same but I only just found out how to fix this: Add the following script to /lib/systemd/system-sleep (in case you are using systemd): $ cat /lib/systemd/system-sleep/openvpn.sh #!/bin/bash case "$1" in post) /bin/systemc

Re: OpenVPN doesn't restart after sleep

2015-04-04 Thread Tony van der Hoff
On 03/04/15 00:11, Bob Proulx wrote: > Tony van der Hoff wrote: >> I have OpenVPN on my KDE Wheezy laptop configured to connect to my >> wheezy VPS. When booting from scratch this works fine. > > Works for me too. Note that I am not using KDE however. Doesn't seem > like that should matter. Unl

Re: OpenVPN doesn't restart after sleep

2015-04-02 Thread Bob Proulx
Tony van der Hoff wrote: > I have OpenVPN on my KDE Wheezy laptop configured to connect to my > wheezy VPS. When booting from scratch this works fine. Works for me too. Note that I am not using KDE however. Doesn't seem like that should matter. Unless you are using some KDE specific network som