LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vpn client on fadora 5 (https://www.linuxquestions.org/questions/linux-software-2/vpn-client-on-fadora-5-a-434974/)

mikeyt_333 04-25-2006 07:22 PM

Let's rewind:
  • What path are you providing for your kernel source...
  • Please copy and paste the exact error you're seeing, "still no luck" isn't communicating enough detail to figure this out. I'd really like to help you out, but every time I ask for more detail you respond with just as little as before, I need to know exactly what the system is saying when it fails.
  • What kernel version are you running (please give numbers, not "the newest one"), is this a distro kernel, or a build from scratch kernel?
  • Do you have all of the necessary tools to compile packages installed?
  • What distribution are you running?
  • etc. etc.

Mike.

P.S.
I suggest you read this: http://www.linuxquestions.org/linux/...Ask_a_Question my intentions are not to reject your requests in anyway, I am sincerely trying to help you, but I think this could go faster if you understood a little better what I need to help you... Help me, help you. ;-)

brianmay27 04-25-2006 09:08 PM

Sorry...
This is my screen it will give you most of what you asked...

[root@localhost ~]# /root/Desktop/vpnclient/vpn_install
Cisco Systems VPN Client Version 4.0.5 (Rel) Linux Installer
Copyright (C) 1998-2001 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.

For RedHat 6.x users these files are installed in /usr/src/linux by default
For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default

Directory containing linux kernel source code [/lib/modules/2.6.16-1.2080_FC5/build]
########This is the kernel source it gives me and the one ndiswrapper used.###########Also that is my kernel version#########Also.... I tryed the /usr/src/kernel....##########

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

Is the above correct [y]

Making module
sh: ./driver_build.sh: No such file or directory
Failed to make module "cisco_ipsec.ko".
[root@localhost ~]#

Also i do not know what my kernal is i just got it from the up2date program. and i got this of the redhat page i dont know if that is all you need but thanks

mikeyt_333 04-25-2006 09:17 PM

Ahha!

Quote:

Making module
sh: ./driver_build.sh: No such file or directory
We're making progress! What does a directory listing in the vpnclient directory show? Try removing the source directory, and untarring again, maybe that will fix this problem. You're missing the file driver_build.sh which runs everything necessary to build kernel mods etc. Post the dir listing and let's get this fixed!

Mike.

brianmay27 04-25-2006 09:44 PM

Ok i got closer...


Is the above correct [y]

Making module
make -C /lib/modules/2.6.16-1.2080_FC5/build SUBDIRS=/root/Desktop/vpnclient modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
CC [M] /root/Desktop/vpnclient/linuxcniapi.o
/root/Desktop/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/root/Desktop/vpnclient/linuxcniapi.c:315: error: ‘struct sk_buff’ has no member named ‘stamp’
/root/Desktop/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/root/Desktop/vpnclient/linuxcniapi.c:452: error: ‘struct sk_buff’ has no member named ‘stamp’
make[2]: *** [/root/Desktop/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/root/Desktop/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
[root@mcnamara vpnclient]#
but now i do not know what is wrong. Also i dont get what your asking above.

paragn 04-26-2006 12:07 AM

hi,
from 2.6.15 struct sk_buff's variable stamp changed to tstamp so change it and recompile

brianmay27 04-26-2006 01:06 AM

WOWThanks so much it worked!


All times are GMT -5. The time now is 07:53 PM.