Announcement

Collapse
No announcement yet.

Trouble Installing Cisco VPN

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trouble Installing Cisco VPN

    The package came with a file called vpn_install, so I just type ./vpn_install and this is what I got:

    Directory where binaries will be installed [/usr/local/bin]

    Automatically start the VPN service at boot time [yes]y

    In order to build the VPN kernel module, you must have the
    kernel headers for the version of the kernel you are running.


    Directory containing linux kernel source code [/lib/modules/2.6.24-16-generic/build]

    * Binaries will be installed in "/usr/local/bin".
    * Modules will be installed in "/lib/modules/2.6.24-16-generic/CiscoVPN".
    * The VPN service will be started AUTOMATICALLY at boot time.
    * Kernel source from "/lib/modules/2.6.24-16-generic/build" will be used to build the module.

    Is the above correct [y]y

    Making module
    make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/mattbracewell/vpn modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
    CC [M] /home/mattbracewell/vpn/linuxcniapi.o
    /home/mattbracewell/vpn/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
    In file included from /home/mattbracewell/vpn/Cniapi.h:15,
    from /home/mattbracewell/vpn/linuxcniapi.c:27:
    /home/mattbracewell/vpn/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
    include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
    /home/mattbracewell/vpn/linuxcniapi.c: In function ‘CniInjectReceive’:
    /home/mattbracewell/vpn/linuxcniapi.c:297: error: implicit declaration of function ‘skb_set_timestamp’
    /home/mattbracewell/vpn/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’
    /home/mattbracewell/vpn/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’
    /home/mattbracewell/vpn/linuxcniapi.c: In function ‘CniInjectSend’:
    /home/mattbracewell/vpn/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’
    /home/mattbracewell/vpn/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’
    /home/mattbracewell/vpn/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’
    /home/mattbracewell/vpn/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’
    make[2]: *** [/home/mattbracewell/vpn/linuxcniapi.o] Error 1
    make[1]: *** [_module_/home/mattbracewell/vpn] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
    make: *** [default] Error 2
    Failed to make module "cisco_ipsec.ko".

    Any ideas? Please be gentle...I"m a newbie

    #2
    Re: Trouble Installing Cisco VPN

    You need to be root to install the application. Open a console and type sudo su and after typing in your password, you will be running as root. CD into the directory where the installer file is (/usr/src/vpnclient) and then type ./vpn_install
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Trouble Installing Cisco VPN

      bracemg:

      If you still have problems then you may have an older version of the Cisco VPN client. Even the latest version needs to be patched to work with the 2.6.24 Linux kernel.

      Here is a good article with detailed instructions on how to patch the latest VPN client. The article's author has even hosted the VPN client file and his patch.

      I've been using Cisco's VPN client (need it to access the work network) for several years. Every time there is a new kernel version the app breaks until either Cisco fixes it or someone publishes a fix. After you do this a couple of times you will get pretty good at it! By the way, the latest fix works well with Kubuntu Hardy.
      Mark<br />Kubuntu 8.04 on IBM X41T/ Pentium M LV 1.5 GHz/1GB DDR2/60GB HDD/Dual-boot with Windows XP Tablet Edition<br />Kubuntu 6.06 on Shuttle SD11G5 mini-server/ Pentium M 2 GHz/1 GB DDR2/80 GB notebook HD/500 GB SATA II HD

      Comment

      Working...
      X