0
votes
1answer
525 views

why does “ipconfig getifaddr ppp0” fail?

I am trying to find my IP on VPN (PPTP) so I tried "ipconfig getifaddr ppp0" but it gave me "get if addr ppp0 failed, (os/kern) failure." Why does it fail and what should I do instead? ifconfig shows ...
2
votes
3answers
3k views

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 ...