vpnc cannot connect to VPN due to vpnc-script

view full story

http://askubuntu.com – I am trying to connect establish VPN connection with vpnc but it failed with message Error: either "to" is duplicate, or "ipid" is a garbage According to http://blog.nowherelan.com/2011/10/10/vpnc-on-ubuntu-oneiric-error-eithe... I replaced vpnc-script but got a new error message: /etc/vpnc/vpnc-script: 658: Syntax error: end of file unexpected (expecting ";;") After that it starts vpnc-connect "in background" but no IP address is assigned: ifonfig -a: tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 P (HowTos)