2
VPNC Connection Status
I was using the vpnc the other day on my Backtrack 4 R2 system to log in to VPN. I noticed that there was nothing that would give me the status of whether or not the tunnel was up. So I wrote a small one-liner to help me:
while [ `ps aux |grep vpnc|grep -v grep|awk '{print $2}'` ] ; do printf "Connected\r"; done
Excellent, just what I was looking for, works a charm!
Was this answer helpful?
LikeDislikeThis solution has been deemed correct by the post author
Thank You
Really I was looking for it for long time
Was this answer helpful?
LikeDislike