You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Reconnecting to VPN

Author (Read 4266 times)

0 Members and 1 Guest are viewing this topic.

Re: Reconnecting to VPN
« Reply #2 on: November 07, 2018, 06:05:27 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
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.
« Last Edit: November 07, 2018, 06:09:38 PM by bitsnpcs »
 

Reconnecting to VPN
« Reply #1 on: November 07, 2018, 07:08:10 AM »
 

MossiX

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel Atom CPU N455 @ 1.66GHz

  • MEMORY: 1Gb
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
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section