MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install a VPN client software on my home PC. After extracting the gz file, I do the following:-
[root@atul vpnclient]# ./vpn_install
Cisco Systems VPN Client Version 4.0.4 (A) 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] no
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 de
fault
Directory containing linux kernel source code [] /usr/src
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.8.1-12mdk/CiscoVPN".
* The VPN service will *NOT* be started automatically at boot time.
* Kernel source from "/usr/src" will be used to build the module.
Is the above correct [y]
Making module
make -C /usr/src SUBDIRS=/home/atul/Desktop/VPN/vpnclient modules
make[1]: Entering directory `/usr/src'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
After this I run the following command:-
******************************
[root@atul vpnclient]# cd /usr/src
[root@atul src]# ls
RPM/
**********************
Am I missing some setup or some files ? I am newbie to Linux and would appreciate if someone can help
thanks for the reply and I tried your suggestions.
Acutally I had installed Mandrake10.1 by burning 3 CDs from a mirror site. I inserted the CDs (one by one and each time typed in the command), every time it says no kernel on the prompt
************************************
[root@atul root]# urpmi kernel -source
Unknown option: o
Unknown option: u
Unknown option: r
Unknown option: c
Unknown option: e
no package named kernel
************************************
i tried urpmi kernel-source and it asked me to install a bunch of rpm files which i did and now my /usr/src/ directory has a link linux
*******************
[root@atul vpnclient]# cd /usr/src
[root@atul src]# ls
linux@ linux-2.4.27-0.pre2.1mdk/ RPM/
************************
But even now I am getting some kind of error. Following is what I am doing
*********************************************************************************************
[root@atul src]# cd /home/atul/Desktop/VPN/vpnclient
[root@atul vpnclient]# ./vpn_install
Cisco Systems VPN Client Version 4.0.4 (A) 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] no
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 [/usr/src/linux]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.8.1-12mdk/CiscoVPN".
* The VPN service will *NOT* be started automatically at boot time.
* Kernel source from "/usr/src/linux" will be used to build the module.
Is the above correct [y]
Making module
make -C /usr/src/linux SUBDIRS=/home/atul/Desktop/VPN/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.4.27-0.pre2.1mdk'
make -C /home/atul/Desktop/VPN/vpnclient CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.27-0.pre2.1mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.27-0.pre2.1mdk/include/linux/modversions.h" MAKING_MODULES=1 modules
make[2]: Entering directory `/home/atul/Desktop/VPN/vpnclient'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/home/atul/Desktop/VPN/vpnclient'
make[1]: *** [_mod_/home/atul/Desktop/VPN/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.27-0.pre2.1mdk'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
[*************************************************************8
I downloaded kernel-source-2.6 2.6.8.1-10mdk.rpm and installed it. That create a new symlink on the /usr/src/ directory and now I was able to work through the installation. I think the kernel-source that I installed earlier was not the right one and now it works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.