I'm using the Cisco VPN Anyconnect client to connect my home computer to work. When I use my personal router it works fine, but when I use the free wifi that comes with my apartment it stops working. This happens on both my desktop (11.10) and netbook (netbook remix).

Does anyone know why?

EDIT: I'm not sure what information is useful here (dmesg doesn't seem to display anything useful) but here's a session:

~> ping google.com
ping: unknown host google.com
~> dhclient
RTNETLINK answers: Operation not permitted
  • 1
    What happens when it "stops working"?
    – ændrük
    Nov 13, 2011 at 19:41
  • @ændrük: I've updated the question a bit; basically nothing works.
    – Xodarap
    Nov 13, 2011 at 22:10

3 Answers 3


It is possible that the free wi-fi is not allowing the VPN connection to pass. If you normally have to sign-in or 'agree to terms' on the free wireless you should do this first before trying to use the VPN.

  • I can browse the internet normally before I turn on VPN, so I'm not sure if this is it
    – Xodarap
    Nov 13, 2011 at 22:10
  • if you are able to browse then it is not that you have ti sign in or agree to terms. They may still block VPNs. Can you talk to them about the issue? If it works on your router it is properly configured.
    – cprofitt
    Nov 13, 2011 at 22:41
  • Do you know exactly what they would be blocking? Some port? A protocol?
    – Xodarap
    Nov 13, 2011 at 23:07
  • They could have an application aware filter. It would be rare, but it can be done.
    – cprofitt
    Nov 13, 2011 at 23:43

Uninstall using-

sudo /opt/cisco/vpn/bin/vpn_uninstall.sh

Then reinstall the Cisco VPN client


It's probably the host network that has something blocking. But, maybe you could try the FOSS openconnect (in place of the cisco anyconnect client) in Ubuntu to connect to the Cisco Anyconnect capable router:

sudo apt-get install openconnect && sudo apt-get install network-manager-openconnect

Then reboot, then use the network applet to create a new vpn connection.

I made a writeup about it here: http://www.humans-enabled.com/2011/06/how-to-connect-ubuntu-linux-to-cisco.html


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .