You are going to need three pieces of code, the VPN client, a 64 bit patch, and a patch to work with a 2.6.31+ kernel. I have
To start you will need three pieces of code:
- The VPN client itself
- A 64 bit patch
- A 2.6.31+ patch or as a file from here (thanks Ngo)
# tar -zxvf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
# cd vpnclient
# ./vpn_install
Making module
make -C /lib/modules/2.6.34-12-desktop/build SUBDIRS=/home/mike/cisco/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make -C ../../../linux-2.6.34-12 O=/usr/src/linux-2.6.34-12-obj/x86_64/desktop/. modules
/usr/src/linux-2.6.34-12/scripts/Makefile.build:49: *** CFLAGS was changed in "/home/mike/cisco/vpnclient/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[3]: *** [_module_/home/mike/cisco/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Not so good, lets install the 64 bit patch and see what happens:# patch < ../vpnclient-linux-4.8.02-64bit.patch
patching file Makefile
patching file frag.c
patching file interceptor.c
patching file linuxcniapi.c
patching file linuxkernelapi.c
# ./vpn_install
Making module
make -C /lib/modules/2.6.34-12-desktop/build SUBDIRS=/home/mike/cisco/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make -C ../../../linux-2.6.34-12 O=/usr/src/linux-2.6.34-12-obj/x86_64/desktop/. modules
CC [M] /home/mike/cisco/vpnclient/linuxcniapi.o
/home/mike/cisco/vpnclient/linuxcniapi.c:14:28: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[4]: *** [/home/mike/cisco/vpnclient/linuxcniapi.o] Error 1
make[3]: *** [_module_/home/mike/cisco/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Now we have a strange error message about a missing autoconf.h file. To fix this we need to know what kernel we are running by using uname. In my case it is 2.6.34-12-desktop. It is the desktop portion that is important as under /usr/src/linux-2.6.34-12-obj/x86_64 there are a few directories, default, desktop, and xen. You need to make sure you are working with the correct one. To get around the error just touch an empty file:
# touch /usr/src/linux-2.6.34-12-obj/x86_64/desktop/include/linux/autoconf.h
# ./vpn_install
Making module
make -C /lib/modules/2.6.34-12-desktop/build SUBDIRS=/home/mike/cisco/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make -C ../../../linux-2.6.34-12 O=/usr/src/linux-2.6.34-12-obj/x86_64/desktop/. modules
CC [M] /home/mike/cisco/vpnclient/linuxcniapi.o
CC [M] /home/mike/cisco/vpnclient/frag.o
CC [M] /home/mike/cisco/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/mike/cisco/vpnclient/interceptor.o
/home/mike/cisco/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/mike/cisco/vpnclient/interceptor.c:132:8: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/mike/cisco/vpnclient/interceptor.c:133:8: error: ‘struct net_device’ has no member named ‘get_stats’
/home/mike/cisco/vpnclient/interceptor.c:134:8: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/mike/cisco/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/mike/cisco/vpnclient/interceptor.c:271:33: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/mike/cisco/vpnclient/interceptor.c:272:8: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/mike/cisco/vpnclient/interceptor.c: In function ‘remove_netdev’:
/home/mike/cisco/vpnclient/interceptor.c:294:12: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
make[4]: *** [/home/mike/cisco/vpnclient/interceptor.o] Error 1
make[3]: *** [_module_/home/mike/cisco/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Got rid of that autoconf.h message but now we have an interceptor problem. The 2.6.31 patch will take care of that for us.
# patch < ../vpnclient-linux-2.6.31-final.diff
# ./vpn_install
Making module
make -C /lib/modules/2.6.34-12-desktop/build SUBDIRS=/home/mike/cisco/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make -C ../../../linux-2.6.34-12 O=/usr/src/linux-2.6.34-12-obj/x86_64/desktop/. modules
CC [M] /home/mike/cisco/vpnclient/interceptor.o
/home/mike/cisco/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/mike/cisco/vpnclient/interceptor.c:284:5: error: assignment of read-only location ‘*dev->netdev_ops’
/home/mike/cisco/vpnclient/interceptor.c: In function ‘remove_netdev’:
/home/mike/cisco/vpnclient/interceptor.c:311:9: error: assignment of read-only location ‘*dev->netdev_ops’
make[4]: *** [/home/mike/cisco/vpnclient/interceptor.o] Error 1
make[3]: *** [_module_/home/mike/cisco/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-12-obj/x86_64/desktop'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
One more error to fix. This one involved changing netdevice.h in the kernel source tree from const struct net_device_ops *netdev_ops to just struct net_device_ops *net_device_ops. We can do that with one line as shown below
# sed -i 's/const\ struct\ net_device_ops\ \*netdev_ops;/struct\ net_device_ops\ \*netdev_ops;/' `find /usr/src -name netdevice.h`
# ./vpn_install
Success, the module compiles and installs. Now we just need to run it. To do this you will need a pcf file from your VPN administrator. For me, I took the files from a windows client and modified it slightly by removing the value for the ISPPhonebook entry. Place this in /etc/opt/cisco-vpnclient/Profiles and then connect with vpnclient connect PCF_FILE.
Many thanks, have helped!
ReplyDeleteFrom Russia with love!
The installation works as a charm, but when I try to run the VPN client, the computer crash and restart... :( I have tried installing it on a Acer Aspire 5024 laptop.
ReplyDelete/Edison
I haven't experienced this so really these are just guesses. There have been some reports around a conflict with anti virus programs, do you have one of those installed on your Linux laptop? It may also be something to do with firewall settings. If you have one running, try disabling it for a test.
ReplyDeleteWorking like a charm, thanks a lot :-)
ReplyDelete(OpenSuSE 11.3 64bit, kernel 2.6.34-12-desktop)
Snoofy
I have downloaded the client and the patches, however I get the following:
ReplyDeletesh ./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.
By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.
Directory where binaries will be installed [/usr/local/bin]
Automatically start the VPN service at boot time [yes]
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.34.7-0.4-desktop/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.34.7-0.4-desktop/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.34.7-0.4-desktop/build" will be used to build the module.
Is the above correct [y]
Making module
make -C /lib/modules/2.6.34.7-0.4-desktop/build SUBDIRS=/media/store/Downloads/Install/Cisco VPN Client For Linux/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.34.7-0.3'
make[1]: *** No rule to make target `VPN'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.34.7-0.3'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
I do not know how to proceed, or what is the reason for this. Please help me if you can.
Many many thanks... worked perfectly on 2.6.36 amd64
ReplyDeleteThanks - this worked. The trick was applying the 64-bit patch on top of the package that already claimed to be a 64-bit version. Not sure why that worked, but hey, it finally compiled.
ReplyDeleteThis solve my problem.
ReplyDeleteMany thanks.
i was trouble without 'linux/autoconf.h'.
ReplyDeletei was saved, thankyou mike!
from japan.
uname returns 'Linux' and thats it...in my usr/src/ I have
ReplyDeletelinux-headers-2.6.35.22 (and the same with -generic)
linux-headers-2.6.35-24 (and the same with -generic)
the touch thing did jack for me. I'm still stuck on the autoconf.h problem...
Ubuntu dekstop 10.10 64 bit.
I should also mention that i'm using
ReplyDeletevpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz
Monty,
ReplyDeleteIt sounds like you don't have your kernel source installed. Check with 'rpm -qa | grep kernel'. You should have something like kernel-source-2.6.34.7-0.5.1.noarch like I have for my SuSE system. Also, to find more information about your kernel, try 'uname -a', or for just the kernel version use 'uname -r'.
To find out if you are running a 64 bit OS check the result of uname -a for an x86_64, that is 64 bit. If you are be sure to put in the 64 bit cisco patch as noted in the post.
Lastly, I would recommend downloading from the links I provided. I never really got earlier versions to work properly.
Thanks for this! Hey Monty, I had the same issue as you with the autoconf.h and eventually just removed the INCLUDE that was calling it.. in other words edit all the .c files in the vpnclient directory, and remove the line that mentions autoconf.h
ReplyDeleteDirty, but it works.
K
Hey Michael,
ReplyDeleteThanks a lot. It really works.
Thanks again.
Thanks !!!!
ReplyDeleteMine crashes! I am running ubuntu on VMware server. Any suggestions? - Guru
ReplyDeleteI haven't tried this in VMware server, but I do have VMware desktop on my machine which I've had problems with. My notes say it's because of bridged Ethernet so I'm not sure if that applies to you or not.
ReplyDeleteI was able to see identical results as your post except when you saw it finally work I saw:
ReplyDelete./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.
By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.
Directory where binaries will be installed [/usr/local/bin]
Automatically start the VPN service at boot time [yes]
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.34.7-0.7-desktop/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.34.7-0.7-desktop/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.34.7-0.7-desktop/build" will be used to build the module.
Is the above correct [y]
Making module
make -C /lib/modules/2.6.34.7-0.7-desktop/build SUBDIRS=/home/user/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.34.7-0.7-obj/x86_64/desktop'
make -C ../../../linux-2.6.34.7-0.7 O=/usr/src/linux-2.6.34.7-0.7-obj/x86_64/desktop/. modules
CC [M] /home/usera/vpnclient/linuxcniapi.o
CC [M] /home/user/vpnclient/frag.o
CC [M] /home/user/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/user/vpnclient/interceptor.o
/home/user/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/user/vpnclient/interceptor.c:140:21: warning: assignment from incompatible pointer type
/home/user/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/user/vpnclient/interceptor.c:283:45: error: dereferencing pointer to incomplete type
/home/user/vpnclient/interceptor.c:284:20: error: dereferencing pointer to incomplete type
/home/user/vpnclient/interceptor.c: In function ‘remove_netdev’:
/home/user/vpnclient/interceptor.c:311:24: error: dereferencing pointer to incomplete type
make[4]: *** [/home/user/vpnclient/interceptor.o] Error 1
make[3]: *** [_module_/home/user/vpnclient] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34.7-0.7-obj/x86_64/desktop'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Suggestions??
Thanks!
I realize the error is slightly different but did you apply the vpnclient-linux-2.6.31-final.diff patch?
ReplyDeleteYes. I tried nuking the whole vpnclient folder, re-extracting the tarball, and doing all the steps again from the beginning. On the last step after the sed command I get the exact same output as before except this line is missing now:
ReplyDeleteCC [M] /home/user/vpnclient/IPSecDrvOS_linux.o
I would be interested in seeing a side by side comparison between your version and my version of these two files:
/home/user/vpnclient/interceptor.c
/usr/src/linux-2.6.34.7-0.7/include/linux/netdevice.h
(of course your kernel version will be different)
Is this something that can be arranged?
I am wondering that since I have a slightly different kernel version than you that maybe my netdevice.h is slightly different. I have been staying up to date on all my openSUSE 11.3 patches and updates and I wonder if an update included a change that is causing this trouble.
Thoughts?
Since I'm having issues getting the cisco client to build perhaps I'll just continue using vpnc. The problem I've had with vpnc is that is disconnects every 20 to 90 minutes. ...well it looks like it's still connected but it's broken. I've got to disconnect and reconnect for it to work.
ReplyDeleteThe reason I'm mentioning this is that I just read your post "Cisco VPN Scripts" and am wondering if something similar would fix what I'm seeing with vpnc.
Thoughts?
I doubt the local network route is your problem as it should show up much faster than 20-90 minutes. I have had some interesting machine hangs when the VPN is connected. It seems to be related to the 'extra' applications I am running. Like if I am playing music at the time but I haven't nailed that down yet. Actually I am really hoping it will just go away when I upgrade (bad sysadmin!)
ReplyDeleteA note to those that get a VPN hang. I found that with multiple interfaces up the Cisco client stopped passing traffic after about 30 seconds. I had a wireless adapter connected (without an IP) and a wired connection passing traffic. I changed my wireless startmode = 'auto' to 'manual'. It disappeared from 'ifconfig' output and Cisco was happy again.
ReplyDeleteI've installed vpnclient-linux-x86_64-4.8.02.0030-k9 following Your instructions. When I connect to the net by eth0 it works fine, but when I use my 3G combi pcmcia card it does'n. After connecting to provider and then sudo /etc/init.d/vpnclient_init start
ReplyDeleteand vpnclient connect VIG I only get message The application was unable to communicate with the VPN sub-system. Could You help me, pls.
I'm using ubuntu 10.10 and IPWireless 3G PCCARD combo (UMTS/GPRS/EDGE)
Doing some Google searches, the 3G connectivity may be more of a fundamental issue. Perhaps this is an opportunity to see if an alternative technology works. I wrote a blog about using vpnc here. This seems to work well for my connection, have a look and see if that works for you.
ReplyDeleteThanks a lot, i tried vpnc and it works fine with 3G
ReplyDeleteVery good job.. thx man.
ReplyDeleteI could install Cisco-VPN only with your help,
ReplyDeletethank you so much!
Thank you so much for the great guide. I believe I got all the patches correct - everything installed and initializing works on ubuntu 11.04. When I then try to run my pcf file the computer jumps to a black screen with about 20 lines of output first few lines are:
ReplyDeleteBUG: unable to handle kernel paging request at f811d170
IP: [] add_netdev+0xa5/0xd0 [cisco_ipsec]
*pde = 34022067 *pte = 7d612161
Oops: 0003 [#1] SMP
last sysfs file: /sys/devices/platform/dell-laptop/rfkill0/uevent
...
When getting out of that (only by pressing power button) the terminal says:
Cisco Systems VPN CLient Version 4.8.02 (0030)
...
Running on: Linux 2.6.38-9-generic #43-Ubuntu SMP Thu Apr 28 15:25:15 UTC 2011 i686
Config fule directory: /etc/opt/cisco-vpnclient
The application was unable to communicate with the VPN sub-system
After this I am not able to reinitialize Cisco
Does this sound like an issue with the way the client is installed, the pcf file I'm using (provided from my work) or something else?
This is the same error on two different ubuntu computers...
Thank you a ton!
bg
Ben,
ReplyDeleteSorry to say this I haven't seen anything this harsh before although my kernel is quite as up to date. If you don't have any private certificates, you could try the built in VPN client. I wrote a blog about ithere.
Thanks for the reply. I contacted my network admin and he also recommended VPNC which installed and seems to work with no problems.
ReplyDeletesudo apt-get install vpnc network-manager-vpnc network-manager-vpnc-gnome
Odd that Cisco was having such issues...
bg
Thank you SO much!!
ReplyDeleteFirst of, thanks much for the step by step guide. Everything worked in the compile and installation steps.
ReplyDeleteWhen I tried to connect, it looks like the vpnclient crashes. Not sure what could be the issue.
I am running the following version...
2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
After the crash, it is knocking off my ethernet connection too.
root@siddarth:/home/srini/Downloads/vpnclient# /etc/init.d/vpnclient_init start
Starting /opt/cisco-vpnclient/bin/vpnclient: Done
root@siddarth:/home/srini/Downloads/vpnclient# /etc/init.d/vpnclient_init status
Module Size Used by
cisco_ipsec 596618 0
cipsec0 Link encap:Ethernet HWaddr 00:0b:fc:f8:01:8f
NOARP MTU:1356 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@siddarth:/home/srini/Downloads/vpnclient# vpnclient connect SHC
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.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64
Config file directory: /etc/opt/cisco-vpnclient
The application was unable to communicate with the VPN sub-system.
root@siddarth:/home/srini/Downloads/vpnclient# cvpnd: timeout; process not responding, exiting.
^C
root@siddarth:/home/srini/Downloads/vpnclient# /etc/init.d/vpnclient_init status
Module Size Used by
cisco_ipsec 596618 1
^C
I'm guessing the old 2.6.31 patch isn't working for the newer kernels. You could try the patch / instructions as listed here, or if you aren't using certificates, you could use the open source alternative (my preferred choice) which I wrote a blog entry here
ReplyDeleteThanks ,but after install I got the following error message:
ReplyDeleteRunning on: Linux 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64
Config file directory: /etc/opt/cisco-vpnclient
Could not attach to driver. Is kernel module loaded?
The application was unable to communicate with the VPN sub-system.
Any advise?
Hi!!
ReplyDeleteWorked perfectly on my Ubuntu Linux 2.6.35-30-generic.
Kevin -- Use this script
currdir=`pwd`
cd /etc/CiscoSystemsVPNClient/Profiles/
sudo /etc/init.d/vpnclient_init start
sudo vpnclient connect VPN_PCF_file(without extension)
cd $currdir
exit
Hi i followed Michael England steps below
ReplyDelete* The VPN client itself
* A 64 bit patch
* A 2.6.31+ patch or as a file from here
Output:
***************************************************
root@localhost vpnclient]# ./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.32-131.0.15.el6.x86_64/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.32-131.0.15.el6.x86_64/build" will be used to build the module.
Is the above correct [y]y
Making module
make -C /lib/modules/2.6.32-131.0.15.el6.x86_64/build SUBDIRS=/usr/src/vpnclient modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-131.0.15.el6.x86_64'
CC [M] /usr/src/vpnclient/interceptor.o
/usr/src/vpnclient/interceptor.c: In function ‘interceptor_init’:
/usr/src/vpnclient/interceptor.c:140: warning: assignment discards qualifiers from pointer target type
CC [M] /usr/src/vpnclient/linuxkernelapi.o
LD [M] /usr/src/vpnclient/cisco_ipsec.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /usr/src/vpnclient/.libdriver64.so.cmd for /usr/src/vpnclient/libdriver64.so
CC /usr/src/vpnclient/cisco_ipsec.mod.o
LD [M] /usr/src/vpnclient/cisco_ipsec.ko.unsigned
NO SIGN [M] /usr/src/vpnclient/cisco_ipsec.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-131.0.15.el6.x86_64'
Copying module to directory "/lib/modules/2.6.32-131.0.15.el6.x86_64/CiscoVPN".
Already have group 'bin'
Creating start/stop script "/etc/init.d/vpnclient_init".
/etc/init.d/vpnclient_init
Enabling start/stop script for run level 3,4 and 5.
Creating global config /etc/opt/cisco-vpnclient
Installing license.txt (VPN Client license) in "/opt/cisco-vpnclient/":
/opt/cisco-vpnclient/license.txt
chown: changing ownership of `/opt/cisco-vpnclient/license.txt': Operation not permitted
Installing bundled user profiles in "/etc/opt/cisco-vpnclient/Profiles/":
* New Profiles : sample
Copying binaries to directory "/opt/cisco-vpnclient/bin".
Adding symlinks to "/usr/local/bin".
/opt/cisco-vpnclient/bin/vpnclient
chown: changing ownership of `/opt/cisco-vpnclient/bin/vpnclient': Operation not permitted
******************************************************
please any one help me how to fix the "changing ownership of `/opt/cisco-vpnclient/license.txt': Operation not permitted" issue
HI All,
ReplyDeleteWithout any additional installation i ran the below commands...
***********************************************
[root@localhost vpnclient]# /etc/init.d/vpnclient_init start
Starting /opt/cisco-vpnclient/bin/vpnclient: Done
[root@localhost vpnclient]# /etc/init.d/vpnclient_init status
Module Size Used by
cisco_ipsec 588611 0
cipsec0 Link encap:Ethernet HWaddr 00:0B:FC:F8:01:8F
NOARP MTU:1356 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root@localhost vpnclient]# vpnclient connect Americas_East
bash: /usr/local/bin/vpnclient: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@localhost vpnclient]#
***********************************************
Please tell me how to fix this error "bad ELF interpreter: No such file or directory"....
I waiting for your reply.. Please any one answer me...
A bad ELF interpreter message can be an indicator of a 32bit vs 64bit problem. At least that is where I've seen it before. You could try installing your 32 bit library but you shouldn't need it. Did the 64 bit patch apply correctly.
ReplyDeleteAlternative to all of this is connecting to a Cisco VPN without their software. I wrote a quick blog on it here.
You could also try upgrading to Cisco AnyConnect which I have had success with, although it doesn't offer enough benefit for me to switch away from the native tools.
https://nowhere.dk/articles/installing-cisco-vpn-client-on-ubuntu-11-10-oneiric-ocelot
ReplyDeleteI am using Fedora 20 and cisco vpn. your initial step went fine until I came to the diff. It rejected this file. Denis
ReplyDeleteNice Blog Post !
ReplyDelete