Openconnect not available [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Openconnect not available [Solved]

Postby pnbalaji » Fri Jun 29, 2012 2:52

Hi,

I just installed sabayon in my desktop as a trial. I am using Arch on my office laptop and it works pretty well (after several config). I plan to switch to sabayon if it works good. So far, it has been good and thanks to the developers for making such a great distro.

I need to connect to my work VPN using Cisco Anyconnect, which I don't prefer. So, I installed openconnect and networkmanager-openconnect packages from Rigo. However, from the networkmanager applet, when I click on Add button under VPN tab, Openconnect option is not listed even though I installed the packages.

Can some one help?

Thanks,
Balaji.
pnbalaji
Baby Hen
 
Posts: 12
Joined: Fri Jun 29, 2012 2:41

Re: Openconnect not available

Postby svantoviit » Fri Jun 29, 2012 7:53

would start with installing these packages:
Code: Select all
[I] net-misc/networkmanager-openvpn (0.9.4.0@04/21/2012): NetworkManager OpenVPN plugin
[I] net-misc/networkmanager-vpnc (0.9.4.0@04/21/2012): NetworkManager VPNC plugin
[U] net-misc/openvpn (2.1.4@02/16/2011 -> 2.2.2): OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.
[U] net-misc/vpnc (0.5.3_p457-r1@06/03/2011 -> (~)0.5.3_p514): Free client for Cisco VPN routing software
User avatar
svantoviit
Technological Hen
 
Posts: 385
Joined: Sun Feb 28, 2010 17:55
Location: Europe

Re: Openconnect not available

Postby pnbalaji » Fri Jun 29, 2012 13:13

Hi,

Thanks for the reply.

I installed all the ones along with the pptp component also. When I click the Add button in VPN tab, I am seeing VPNC and OpenVPN and PPTP, but not the openconnect option.

Thanks,
Balaji.
pnbalaji
Baby Hen
 
Posts: 12
Joined: Fri Jun 29, 2012 2:41

Re: Openconnect not available

Postby pnbalaji » Mon Jul 02, 2012 17:50

Okay, Here is what I did.

It looks like Sabayon is looking for the TUN device at /dev/tun where as it is available in /dev/net/tun. So, I followed the below steps to get openconnect workings.

1. Create a symlink as /dev/tun with the command "sudo ln -s /dev/net/tun /dev/tun".
2. Download the vpnc-script from http://git.infradead.org/users/dwmw2/vp ... pnc-script
3. Run openconnect from command line with the command "sudo openconnect --script=/home/{userid}/vpnc-script {vpn_gateway}" assuming the vpnc-script is available under the user's home folder.
4. If you don't want to be asked for the root password, edit the /etc/sudoers file and uncomment the line with NOPASSWD=ALL with the wheel group. Make sure the user is part of the wheel group (check /etc/group).

Hope this will help some one.

Thanks,
Balaji.
pnbalaji
Baby Hen
 
Posts: 12
Joined: Fri Jun 29, 2012 2:41

Re: Openconnect not available

Postby wraeth » Fri Aug 10, 2012 3:45

Greetings;

While the above post is a good workaround - initiating the VPN client via CLI, the issue lies with a few files that don't exist where they should (they actually aren't included in the Entropy package).

The missing files for this protocol are:
Code: Select all
/usr/lib64/NetworkManager/libnm-openconnect-properties.so
/usr/libexec/nm-openconnect-auth-dialog
/usr/share/gnome-vpn-properties/openconnect/nm-openconnect-dialog.ui


It should be noted that the same relative files are missing in the OpenSWAN plugin.

I got a copy of these files from a Fedora 3.4.4 kernel build, and can provide upon request, but this should be reported to the package distributors as the files should come with the Entropy package.

Hope this helps.
wraeth
Baby Hen
 
Posts: 7
Joined: Tue Jul 31, 2012 5:01

[SOLVED] Re: Openconnect not available

Postby pnbalaji » Tue Oct 09, 2012 12:46

After couple of updates, openconnect option is now available in Network Manager. I am not sure exactly when it started appearing, but it works fine now.
pnbalaji
Baby Hen
 
Posts: 12
Joined: Fri Jun 29, 2012 2:41


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest