Auto reconnect

takwing
takwing used Ask the Experts™
on
I'm using Redhat 9 and connect to internet thru a VPN server, but the server is set to disconnect in every 8 hours. I can set my linux to auto connect on boot up. Can I set my VPN client to auto reconnect the VPN after disconnection?
I've tried adding -persist after pptp but failed.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
you could use a cron job to check that it is up, and if not reconnect it if -pesist fails

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial