Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
share|improve this question
1  
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
add comment

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.

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
add comment

Uninstall using-

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

Then reinstall the Cisco VPN client

share|improve this answer
add comment

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

share|improve this answer
    
openconnect also mentioned here: askubuntu.com/questions/129477/… –  Shannon_VanWagner May 10 '12 at 18:10
add comment

Your Answer

 
discard

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.