vpnc Not Adding Internal DNS Servers to resolv.conf
I'm trying to setup vpnc on Ubuntu. When I run vpnc, my resolv.conf file does not get changed. It still only contains my ISP's name servers:
#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above ...
How to detect VPN disconnection with vpnc?
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 r...