Ubuntu 10.04 - Unable to connect to Cisco VPN


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Ubuntu 10.04 - Unable to connect to Cisco VPN
# 1  
Old 08-31-2010
Ubuntu 10.04 - Unable to connect to Cisco VPN

Hi all,

I am trying to configure and connect Cisco VPN on Ubuntu 10.04.

I've imported .pcf file. The new vpn conn appears in the VPN Connections option. Now when I select it, it doesn't connect. Nothing happens.

I am not able to connect to VPN at all. I tried using kvpnc as well but it didn't work either.

Any suggestions on this will be helpful.

Best Regards.

---------- Post updated at 08:26 AM ---------- Previous update was at 08:16 AM ----------

Update:
I just reboot the box and now I am receiving this message when trying to connect to VPN:

The VPN connection 'VPN' failed.
# 2  
Old 08-31-2010
I had the same problem, if I remember correctly, you have to check the "available to all users" box somewhere in the connection properties window (or during the connection setup).
# 3  
Old 08-31-2010
Thanks. I have already checked this option. I observed that unless I check it, the new VPN conn name does not appear in the VPN Connections.

I select it but it gives 'The VPN connection 'VPN' failed'.?
# 4  
Old 08-31-2010
Did you try to remove the connection and run the setup again?
Just check available to all users during the setup.
# 5  
Old 08-31-2010
yea, I did that.. run over the whole process many times. no change in status though.

I cross-checked with my colleague as well, the settings are exactly the same. So a bad pcf file is ruled out..
# 6  
Old 08-31-2010
Are there any messages related to the failed vpn connection in /var/log/messages?
# 7  
Old 08-31-2010
cat /var/log/syslog | tail -20 shows this:

Quote:
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.vpnc'...
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 3819
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' just appeared, activating connections
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN plugin state changed: 1
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN plugin state changed: 3
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN connection 'Connect to My VPN' (Connect) reply received.
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN plugin failed: 1
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN plugin state changed: 6
syslog:Aug 31 10:28:44 mybox NetworkManager: <info> VPN plugin state change reason: 0
syslog:Aug 31 10:28:44 mybox NetworkManager: <WARN> connection_state_changed(): Could not process the request because no VPN connection was active.
syslog:Aug 31 10:28:57 mybox NetworkManager: <debug> [1283264937.002773] ensure_killed(): waiting for vpn service pid 3819 to exit
syslog:Aug 31 10:28:57 mybox NetworkManager: <debug> [1283264937.002902] ensure_killed(): vpn service pid 3819 cleaned up
syslog.1:Aug 28 15:30:25 mybox AptDaemon: INFO: InstallPackages() was called: dbus.Array([dbus.String(u'kvpnc')], signature=dbus.Signature('s'))
syslog.1:Aug 28 15:31:18 mybox AptDaemon: INFO: InstallPackages() was called: dbus.Array([dbus.String(u'vpnc')], signature=dbus.Signature('s'))
syslog.1:Aug 28 15:32:15 mybox AptDaemon: INFO: RemovePackages() was called: 'dbus.Array([dbus.String(u'vpnc')], signature=dbus.Signature('s'))'
syslog.1:Aug 28 15:32:21 mybox AptDaemon.Worker: INFO: Removing packages: 'dbus.Array([dbus.String(u'vpnc')], signature=dbus.Signature('s'))'
syslog.1:Aug 28 15:33:41 mybox AptDaemon: INFO: InstallPackages() was called: dbus.Array([dbus.String(u'kvpnc')], signature=dbus.Signature('s'))
syslog.1:Aug 28 16:04:42 mybox kvpnc: Libgcrypt warning: missing initialization - please fix the application
syslog.1:Aug 28 16:05:02 mybox AptDaemon: INFO: InstallPackages() was called: dbus.Array([dbus.String(u'vpnc')], signature=dbus.Signature('s'))
user.log.1:Aug 28 16:04:42 mybox kvpnc: Libgcrypt warning: missing initialization - please fix the application


---------- Post updated at 11:47 AM ---------- Previous update was at 10:31 AM ----------

Update:

I managed to correct the configuration. Now when I click on the new VPN Connection that I created, I am greeted with a password box.

I have the soft token keys with me and I enter one of them in the pw box to get connected. Damn, it fails again!

cat /var/log/syslog | tail -15 shows this:

Quote:
Aug 31 11:36:28 mybox NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.vpnc'...
Aug 31 11:36:28 mybox NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 2004
Aug 31 11:36:28 mybox NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' just appeared, activating connections
Aug 31 11:36:28 mybox NetworkManager: <info> VPN plugin state changed: 1
Aug 31 11:36:32 mybox NetworkManager: <info> VPN plugin state changed: 3
Aug 31 11:36:32 mybox NetworkManager: <info> VPN connection 'Connect to My VPN' (Connect) reply received.
Aug 31 11:36:32 mybox kernel: [ 815.711290] tun0: Disabled Privacy Extensions
Aug 31 11:36:32 mybox NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Aug 31 11:36:32 mybox NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Aug 31 11:36:33 mybox NetworkManager: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Aug 31 11:36:33 mybox NetworkManager: <info> VPN plugin failed: 1
Aug 31 11:36:33 mybox NetworkManager: <info> VPN plugin state changed: 6
Aug 31 11:36:33 mybox NetworkManager: <info> VPN plugin state change reason: 0
Aug 31 11:36:33 mybox NetworkManager: <WARN> connection_state_changed(): Could not process the request because no VPN connection was active.
Aug 31 11:36:33 mybox NetworkManager: <info> Policy set 'Auto My Team' (wlan0) as default for routing and DNS.
Aug 31 11:36:46 mybox NetworkManager: <debug> [1283269006.001992] ensure_killed(): waiting for vpn service pid 2004 to exit
Aug 31 11:36:46 mybox NetworkManager: <debug> [1283269006.002182] ensure_killed(): vpn service pid 2004 cleaned up
any ideas folks?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

Cisco 3750 Switch ASA VPN Routing

Hi,I want connect my ASA 5510 firewall to a 3750 switch with RIP routing. Unfortunately,I am having issues passing the VPN subnet through rip to the 3750.I don't understand how the routing table is populated on the ASA. Any suggestions? (0 Replies)
Discussion started by: Ayaerlee
0 Replies

2. IP Networking

Cisco VPN server and client - connection drop

I have a Cisco 1841 router configured as Easy VPN Server. Here is the configuration of the router: Cisco# Cisco#show running-config Building configuration... Current configura - Pastebin.com I have a Centos 5.7 server with installed Cisco VPN client for Linux. The client successfully... (0 Replies)
Discussion started by: rcbandit
0 Replies

3. IP Networking

Cisco VPN pcf and OpenVPN

I was given my pcf file to login to work from home and wanted to use OpenVPN instead of the Cisco VPN client software. Can I use this pcf file with OpenVPN? I attempted to use vpnc: http://wiki.centos.org/HowTos/vpnc but it just times out ?? (2 Replies)
Discussion started by: metallica1973
2 Replies

4. UNIX for Dummies Questions & Answers

Problem when I try to Install a Client VPN Cisco

Hi Gurus of UNIX, I have a problem when I try to install a software VPN Cisco in Laptop (HP530). I do the following procedures: Part 2 - VPN Client Compilation We will now set up the vpn client. As there is no official Cisco VPN Client for OpenSolaris X86 available, we will use vpnc.... (1 Reply)
Discussion started by: andresguillen
1 Replies

5. Red Hat

cisco anyconnect VPN client installation??

Anyone had installed Cisco AnyConnect VPN client on RedHat5.3 EL or CentOS 5.3? I tried on CentOS 5.3 but always getting host unreachable error. Same for windows xp works fine. The error log reports: Sep 1 19:14:03 localhost vpnagent: Function: tableCallbackHandler File: RouteMgr.cpp Line:... (3 Replies)
Discussion started by: zing_foru
3 Replies

6. Solaris

Cisco IOS VPN server IKE

How do I tell if Cisco IOS VPN server IKE is running on my solaris 10 system (1 Reply)
Discussion started by: pgsanders
1 Replies

7. Shell Programming and Scripting

continue after connecting to cisco vpn

Hi all, This will save me a tremendous amount of time if i can get this script working. I have alot of sites i need to connect to using cisco vpn and then ssh onto servers to retrieve some info. Its all repetitative and it needs scripted. what i have done so far is put this into a script. ... (0 Replies)
Discussion started by: borderblaster
0 Replies

8. IP Networking

Setup Dial In VPN on Cisco Router

Hello, Does anyone know where I can find configuration information on setting up a dial in VPN on Cicso IOS for a bunch of servers. Could not seem to find anything in search engines. Thanks (0 Replies)
Discussion started by: photon
0 Replies

9. IP Networking

Cisco vpn client

Who in the 64 ubuntu adopted cisco vpn client on the wireless network I downloaded the cisco vpn client for linux but run vpn_install make file when an error in cisco with the help of the document read in half a day, nor do I know this vpn client in the 64 systems in use. Who can help me, a... (1 Reply)
Discussion started by: Eason
1 Replies
Login or Register to Ask a Question