I connect to several VPN networks. Two of them stay connected all of the time, a few others are just on an as-needed basis. When I connect to them, I also get to several other subnets by adding static routes. I don't want my default gateway to be the VPN, so the only way to get to those subnets is to add static routes. I also mount a couple of shares from my script.
The problem is, when my VPN drops out (daily, my ISP here sucks), I have to manually reconnect and manually re-run the script which re-mounts the shares and adds the routes back.
Is there a way to automaticly reconnect to a VPN connection if disconnected? Also, is there a way to automaticly run a shell script or something after the connection is established? That would save me so much of a headache.... wow
-chris
The problem is, when my VPN drops out (daily, my ISP here sucks), I have to manually reconnect and manually re-run the script which re-mounts the shares and adds the routes back.
Is there a way to automaticly reconnect to a VPN connection if disconnected? Also, is there a way to automaticly run a shell script or something after the connection is established? That would save me so much of a headache.... wow
-chris