Linux Lite Forums
Reconnecting to VPN - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24)
+--- Thread: Reconnecting to VPN (/showthread.php?tid=5767)



Reconnecting to VPN - MossiX - 11-07-2018

Hello people,

Kindly I would like to share that I am really happy how my computer can automatically set-up a VPN connection whenever I connect to my local WLAN. However with the VPN Protocol 'Juniper/Pulse Network Connect' the connection clears every 6 hours or so. Then every time I have to manually connect again to the VPN. I was wondering what opportunities there are to automatically reactivate the VPN connection (after a couple of seconds for example) whenever the connection is cleared. For any questions please do let me know.
Thank you in advanceĀ  ;D


Re: Reconnecting to VPN - bitsnpcs - 11-07-2018

Hello MossiX,

I think it is this kind of shell script you are looking for -

http://www.akamaras.com/linux/linux-script-to-check-if-a-service-is-running-and-start-it-if-its-stopped/

You need to substitute so it is the vpn program it is checking.

Another option is to see if any "Keep Alive" software already exists for the VPN you are using.