How to detect VPN disconnection with vpnc?
Posted
by Abhinav
on Super User
See other posts from Super User
or by Abhinav
Published on 2009-09-12T17:31:37Z
Indexed on
2010/04/08
18:33 UTC
Read the original article
Hit count: 528
What is the easiest way to detect that a vpnc connection on Linux/Ubuntu has disconnected?
Manually, I think the way to detect is to check whether the interface (tun0) appears in /sbin/ifconfig output. Is there a better way to find out immediately, so that a script can be run to restart the connection?
© Super User or respective owner