Tag Info

Hot answers tagged

59

If you want to interact with NetworkManager from the command line you can use the "nmcli" command. list all NM connections: nmcli con start connection (wifi, vpn, etc): nmcli con up id ConnectionName down connection: nmcli con down id ConnectionName (more nmcli commands in the nmcli manpage). Also note that regular users usually don't have permission ...


15

If you don't need the "official" Cisco AnyConnect VPN software, I highly recommend installing the "network-manager-openconnect-gnome" package in the Ubuntu Repository. It uses OpenConnect which is an open source client for AnyConnect. Anyhow, that package allows for you to configure and manager your AnyConnect VPN connections through the normal network ...


8

The solution suggested by con-f-use should work but doesn't, due to a long-standing bug: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/280571 There are workarounds though. For recent NetworkManager versions, there is a commandline utitility, nmcli, that can be edited and saved as something like /etc/NetworkManager/dispatcher.d/vpn-up: #! ...


4

The nosuid mount option is used when the eCryptfs mount is set up. This is done for security reasons to prevent privilege escalation attacks. You can move the ncsvc binary outside of your home directory (just like you did with /opt/juniper/) and create a symlink from your ~/.juniper_networks/network_connect/ncsvc to the new location.


3

Set address to 10.0.0.0 and netmask to 255.0.0.0.


2

I found that in my case the plugin was failing because vpnc was not happy about the encryption method peer selected (single) DES as "encryption" method. This algorithm is considered too weak today If your vpn concentrator admin still insists on using DES use the "--enable-1des" option. This message could be only discovered by stracing the vpnc process. ...


2

I encountered a similar issue earlier. I observed that vpnagentd does not load because of libatk1 and vpnui does not load because of libxml2. Installing the 32-bit versions of these libraries resolves the issues. You should install ia32-libs to resolve the issue using sudo apt-get update sudo apt-get install ia32-libs This should resolve the issue for you ...


2

Here's how I got this working with Ubuntu 12.10: First install the following sudo apt-get install vpnc sudo apt-get install network-manager-vpnc sudo apt-get install network-manager-vpnc-gnome Using the network-manager create a new VPN connection, set at least the following: Gateway User name Group name If the given group password is encrypted you can ...


2

Is this bug your problem? I ran into this and ended up doing a distribution upgrade to 12.10 to get passed it... Can’t connect to VPN from GNOME Shell It's been a while since this happened and I don't entirely recall what I ran into, but your problem seems very familiar to me.


2

Looks like there must be a bug in libgcrypt11=1.5.0-3ubuntu2.2. After rolling back to libgcrypt11=1.5.0-3ubuntu2.1 things are working again... sudo apt-get install libgcrypt11=1.5.0-3ubuntu2.1 I've filed a bug report on launchpad.


1

I'm getting exactly the same thing happening. My Cisco VPN was working last week, but fails now. I downgraded libgcrypt11 to 1.5.0-3ubuntu2.1 but that doesn't resolve the problem for me. Anybody else having issues with this?


1

On Ubuntu, you don't need to install the Cisco VPN Client: NetworkManager includes support for Cisco IPSec VPNs. The following steps will walk you through a successful installation and configuration of your VPN client. 1) Ubuntu ships by default with the plugin for the Point-to-Point Tunneling Protocol (PPTP), but we need the plugin for the Cisco Compatible ...


1

I can only think of two work around for the encrypted /home partition. If you connect to a VPN via a website, start firefox with: sudo firefox since it is likely your /root is not encrypted. After network connect starts you can close the browser and leave the client running in the background. This is from what was mentioned before. Basically have the ...


1

I'd probably look at something as simple as: #!/bin/bash pgrep vpnc STATUS=${?} if [ ${STATUS} -ne 0]; then /usr/sbin/vpnc configname fi That'll then launch vpnc if it isn't already running.


1

If I remember correctly it worked for a while and doesn't anymore. This might be obvious, but sometimes I don't think of it. Did you try reinstallation like: sudo apt-get purge network-manager-vpn sudo apt-get install network-manager-vpnc Then: Now I want this VPN connection to automatically activate when I'm in a certain wireless network. ...


1

vpnc is pretty ancient, try openconnect instead. http://www.infradead.org/openconnect/index.html it supports smartcards


1

Never mind, I installed OpenConnect with the instructions here: http://faq.oit.gatech.edu/content/cisco-anyconnect-installation-instructions-linux Finally, I don't have to deal with that Cisco garbage!


1

Just in case you do want the Ciso Anyconnect client working take a look at this blog. Just disable the Firefox Iced Tea web plugin and go to your VPN site. Have Ubuntu download the VPN installer and run the shell script. In my case Cisco Anyconnect VPN client was installed and available under the Internet section and works fine.


1

sudo apt-­get install network­-manager­-pptp sudo apt­-get install network­-manager­-vpnc sudo apt-­get install network­-manager­-openvpn exit If prompted for your password, type it, and press Enter. If you're told that a package “is already the newest version,” ignore it and continue with the next command. If asked to “continue [Y/n],” press Y, ...


1

Your /etc/resolv.conf looks correct both before and after you connect, assuming that you have a local forwarding nameserver running which listens at 127.0.0.1. In Ubuntu 12.04 Desktop such a nameserver is running by default. To see the nameserver process, run ps -elf|grep dnsmasq The reason your colleague's /etc/resolv.conf looks different is that your ...


1

You are on the right track. the resolv.conf was changed for VPN use and was not changed back for normal use as a result of the crash. Deleting the old resolv.conf may help. You can make a backup copy of the file and delete the original with this single command: sudo mv /etc/resolv.conf /etc/backup.resolv.conf A new resolv.conf will be generated as and ...


1

Alright, hope someone finds this useful and doesn't have to spend hours trying to figure it out. The two clients in question were fixed after lowering their MTU to 1200 (1300 worked but had one hiccup while connecting from a coffee shop, so left it at 1200 for both). So all you have to do is include ifconfig tun0 mtu 1200 in your ...


1

I've just upgraded my system to Ubuntu 12.04 64-bit. Here is my working solution, that does not need any command line magics. So you have to install some packages to work it correctly. vpnc network-manager-vpnc *network-manager-vpnc-gnome (if you're using gnome) Now you can access VPN via clicking Network icon on Notification Area.


1

I saw that this bug was fixed and relased only for Ubuntu Precise and I think you should mark it as affecting you and ask there for a possible solution to the problem in Oneiric (a merge of the released fix in Oneiric or another solution).


1

Download and install HPLIP directly from the HP OPEN SOURCE website. http://hplipopensource.com/hplip-web/downloads.html Click on DOWNLOAD HPLIP. Find the downloaded file and right click on it and select PERMISSIONS. Select MAKE EXECUTABLE. Click OK. Right click on the file again and select OPEN then EXECUTE. Follow the instuctions. *Reason it works is ...


1

hmm i don't use cisco vpn but maybe since its connected if seems strange that it doesn't work even though it claims the vpn is up. could you compare the routing tables when connecting through terminal vs gui? just type route -n in the terminal if they differ paste them here. Another thing to check , what about permissions for certificates etc? I've ...


1

If you've noticed vpnc dies after around the same amount of time being connected, you may want to try to disable DPD: --dpd-idle <0,10-86400> Send DPD packet after not receiving anything for <idle> seconds. Use 0 to disable DPD completely (both ways). Default: 300 conf-variable: DPD idle timeout (our side) ...



Only top voted, non community-wiki answers of a minimum length are eligible