Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
ping: unknown host
~> dhclient
RTNETLINK answers: Operation not permitted
share|improve this question
What happens when it "stops working"? – ændrük Nov 13 '11 at 19:41
@ændrük: I've updated the question a bit; basically nothing works. – Xodarap Nov 13 '11 at 22:10

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.

share|improve this answer
I can browse the internet normally before I turn on VPN, so I'm not sure if this is it – Xodarap Nov 13 '11 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 '11 at 22:41
Do you know exactly what they would be blocking? Some port? A protocol? – Xodarap Nov 13 '11 at 23:07
They could have an application aware filter. It would be rare, but it can be done. – cprofitt Nov 13 '11 at 23:43

Uninstall using-

sudo /opt/cisco/vpn/bin/

Then reinstall the Cisco VPN client

share|improve this answer

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:

share|improve this answer
openconnect also mentioned here:… – Shannon_VanWagner May 10 '12 at 18:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.