Nov 142011
 

OpenConnect is an excellent replacement for Cisco’s AnyConnect VPN client. After a lot of frustration trying to get AnyConnect to work on SliTaz, I finally jumped ship and got OpenConnect working with SliTaz Cooking in no time.

First, open a terminal, switch to root, download OpenConnect from the Debian repository and install it:

wget http://ftp.debian.org/debian/pool/main/o/openconnect/openconnect_3.02-2_i386.deb
tazpkg convert ./openconnect_3.02-2_i386.deb
tazpkg install ./openconnect-3.02-2.tazpkg

OpenConnect requires VPNC which is found in the SliTaz repository:

tazpkg get-install vpnc

This VPNC script works right out of the box:

wget http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
mv ./vpnc-script /etc/vpnc/vpnc-script

Now that OpenConnect and VPNC is installed, you can create a script to connect to your VPN. I named it vpnconnect. My script resembles the following. You may find that you need to add or remove some of the options I’ve shown here. Read the documentation for OpenConnect’s option list. Change the stuff in caps to fit your needs.

#!/bin/sh
openconnect REMOTE.HOST.COM \
--no-dtls \
--auth-group=GROUP_NAME \
-u USERNAME \
--no-cert-check \
-s /etc/vpnc/vpnc-script \
-b

Now run the script, still as root:

./vpnconnect

At this point, you’ll be prompted for your password on the remote system. Once the VPN connection is established it will background itself (the -b option in the script above).

All done!

One note: I originally tried doing all of this on SliTaz 3.0. OpenConnect complained that libssl.so.1.0.0 and libcrypto.so.1.0.0 were not found. I created symlinks to libssl.so.0.9.8 and lib.so.0.9.8 and OpenConnect carried on happily but this isn’t a recommended solution.

May 202009
 

I have been using either Red Hat or Fedora for years on a server I ran at home. I just made the switch to Ubuntu after giving up on RH as a WAP. The problems started with my Prism 2 wireless card requiring firmware be loaded at boot-up. The firmware didn’t always “take” with Fedora sometimes causing multiple reboots before the card would work. On a whim I tried Ubuntu and everything worked right out of the box. I followed the instructions given at Ubuntu’s wiki site and had my card up and running in no time without having to boot over and over.

Ubuntu has been running flawlessly on my old Dell Dimension 4400 doing duty as a file share, data backup, and WAP, and firewall.

Goodbye, Fedora. It was just barely OK while it lasted.