I usually connect to my organizations vpn conncetions using vpnc and network-amanger, i.e., from the network icon on the panel. I have already imported the pcf files to network-manager, so I usually just click on the network-manager (nm-applet) and select the vpn connection I want to connect. Now after an update my nm-applet is not loading properly, though network is running (I have posted a thread on that: http://www.linuxquestions.org/questi...-lucid-814610/
So now I would like to connect to vpn from terminal. What is the command to do that?
I tried this: I went to the directory where the pcf profiles were stored and ran:
somesh@creativision:~/Documents/linux/vpn-profiles$ sudo vpnc COE-from-ISP.pcf
vpnc: couldn't open `/etc/vpnc/COE-from-ISP.pcf.conf': No such file or directory
Apparently there is no COE-from-ISP.pcf.conf in system default vpn directory. But I had imported this pcf in vpnc using nm-applet. In fact if I go to System-->Preference-->Network Connections, I can see this connection under list of VPN connections. So there must be a related conf file somewhere.
I believe, I am missing something simple here, can anyone please point what?