Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page Gentoo 2006.1 - Cisco VPN Client installation issue
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 03-05-2007   #1 (permalink)
Just Joined!
 
Join Date: Jan 2006
Posts: 35
Gentoo 2006.1 - Cisco VPN Client installation issue

Hi all,

I just installed Gentoo for the first time on another computer.
Problem is that I need to install the Cisco VPN Client to get on the internet. But to install I needed the kernel sources.

What I did was "emerge -Fp vanilla-sources" so I get the URLs. I downloaded from one of the mirrors and placed the patch and the kernel source in /usr/portage/distfiles.
After that I did "emerge vanilla-sources".
Then it got installed.
After that I had the sources installed in /usr/src/linux (symlink to the actual directory which is linux-2.6.17.6 or something like that).

Then I started the vpn installer.
It detected the kernelsources good.

But then I get this error which stops the compilation:
Code:
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 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 [no]yes

Directory containing runlevel directories (rcX.d): []/etc/init.d

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 [/usr/src/linux]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.17-gentoo-r7/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/usr/src/linux" will be used to build the module.
* Runlevels will be set in "/etc/init.d".

Is the above correct [y]

Making module
make -C /usr/src/linux SUBDIRS=/home/gvm/Desktop/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.17.6'
Makefile:441: .config: No such file or directory

  WARNING: Symbol version dump /usr/src/linux-2.6.17.6/Module.symvers
             is missing; modules will have no dependencies and modversions.

	       Building modules, stage 2.
	       /usr/src/linux-2.6.17.6/scripts/Makefile.modpost:38: .config: No such file or directory
	       make[2]: *** No rule to make target `.config'.  Stop.
	       make[1]: *** [modules] Error 2
	       make[1]: Leaving directory `/usr/src/linux-2.6.17.6'
	       make: *** [default] Error 2
	       Failed to make module "cisco_ipsec.ko".
Can someone help me with this?
Or can give me some advice?
Keep in mind that I cant get on the internet directly from that computer.(I need to download packages from another computer and copy them with scp).

And I can't use the vpnc or what is it of linux. It does not work on our network.

THanks in advance...
Kind regards!
__________________
www.eurosoccer-degrande.com
root@localdomain is offline   Reply With Quote
Old 05-12-2007   #2 (permalink)
Just Joined!
 
Join Date: May 2007
Posts: 1
why don't you use the net-misc/cisco-vpnclient-3des ebuild?

Place the source file in /usr/portage/disfiles (replace with your own). for my client from my university i had to rebuild the digest.

Why do you installed vanilla-sources? Do you have already a customized KERNEL?

gentoo-sources dependency is imo resolved through vpn ebuild. so you only need kernel version you have installed in /usr/src/linux symlink with same config of current kernel.
tekknokrat is offline   Reply With Quote
Old 05-12-2007   #3 (permalink)
Linux User
 
gruven's Avatar
 
Join Date: Dec 2004
Location: Arkansas
Posts: 380
Send a message via ICQ to gruven Send a message via AIM to gruven Send a message via MSN to gruven Send a message via Yahoo to gruven Send a message via Skype™ to gruven
When you emerge the kernel sources, it "installs" them for you. You have to build and install the kernel itself, but the ebuild will put them in the right spot and unpack them for you. Then, you go patch the sources yourself, then build the kernel.

You could always just download the sources from kernel.org, unpack them, patch them, and build them yourself without using portage. I have done that a few time myself. Then you could install whatever program you want. You don't have to use portage to install the kernel.

Just because you put the patch in /usr/portage/distfiles does not mean it patched your kernel, unless you have written a custom ebuild yourself. It is simple to patch the sources once you get them unpacked. If you want to patch the sources with a patch that isn't included, then you must do it manually. Portage won't autopatch something that isn't written in the ebuild.

Oh, and in case you didn't know, the 2007.0 profile is stable now, and I suggest you use that. You don't have to reinstall, just switch to the new profile. Instructions on how to do it are in the gentoo handbook.
__________________

Linux User #376741
Gentoo Linux
gruven is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 09:12 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0