I love Ubuntu 8.04 – it just works! (plus, notes on Cisco VPN install)

August 9, 2008

This is totally Off Topic for this blog, but I have to say that I love Ubuntu.  My XP laptop’s networking got completely borked and I decided to shift over to Ubuntu (8.04 Hardy Heron).  We’ve been using it at work for our conference room very smoothly.  It has everything that I needed (Skype, FFox, Email & Office, RDP, VNC, etc) and a faster better (and funner!) user experience than Windoze.

Ubuntu Rockz

Ubuntu Rockz

The only challenge I encountered was getting the VPN to connect.  The nice vpnc client did not give enough feedback to troubleshoot so I dropped back to Cisco’s hacky feeling client.  I wanted to document my experience for others…

Here are my steps:

References (in order of helpfulness):

Error I got w/o the patch:

make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic’
CC [M]  /tmp/vpnclient/linuxcniapi.o
In file included from /tmp/vpnclient/Cniapi.h:15,
from /tmp/vpnclient/linuxcniapi.c:31:
/tmp/vpnclient/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
make[2]: *** [/tmp/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/tmp/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic’
make: *** [default] Error 2
Failed to make module “cisco_ipsec.ko”.

Running the VPN:

rob@rob-laptop:/tmp/vpnclient$ vpnclient connect [pcf file]
Cisco Systems VPN Client Version 4.8.01 (0640)
Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686
Config file directory: /etc/opt/cisco-vpnclient

Initializing the VPN connection.
Initiating TCP to [ip address], port 10000
Contacting the gateway at [ip address]
User Authentication for [pcf file]…

Enter Username and Password.

Username []: rob
Password []:
Authenticating user.
Negotiating security policies.
Securing communication channel.

[company name]

Do you wish to continue? (y/n): y

Your VPN connection is secure.

VPN tunnel information.
Client address: …
Server address: …
Encryption: 168-bit 3-DES
Authentication: HMAC-MD5
IP Compression: None
NAT passthrough is active on port TCP 10000
Local LAN Access is disabled

Disconnecting the VPN connection.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: