LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-16-2004, 12:49 AM   #1
ganewton
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Rep: Reputation: 0
enterprise linux ws, cisco vpn client, install kernel source


Hi. I'm running enterprise linux version 3 WS, and trying to install cisco vpn client.
I have found several websites that allow download of cisco vpn client for linux without
any passwords or pins. However, upon running install, the installation is halted
at a point where it asks for the kernel source code to be installed. There appears
two brackets [ ] where the location of the kernel source code should be located,
but the brackets are always empty. I have tried to install 3 or 4 cisco vpn client
downloads, and they all get hung up at this point. I tried searching for the kernel
source but can't be sure if i've found it, or what to do with it once found.
I don't know the theory behind this...I am supposing the source code is the
non-binary version of the linux kernel that folks could hack to make new
distributions of linux, and is compiled to get it into binary form. But I don't
know what an "installation" of the kernel source code would mean, as opposed
to say a "compile". Also, I don't understand why the vpn client would need
the kernel source code, and also to have it "installed".
I have the 8 or 9 cd's for installing the linux, but don't know where the
kernel source would be on them.
Thanks for any help. Apologies if this same situation is on another thread.
 
Old 09-17-2004, 09:49 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
You are correct, the software likely needs to be compilied against the kernel source code which is usually in /usr/src/linux if installed. The kernel sources are included on the installation CDs, though if you've updated through up2date, that source will not be the same as the current compiled kernel you're running. However, you can download the current kernel source directly from redhat (using up2date should work).
 
Old 09-19-2004, 11:35 PM   #3
ganewton
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for the reply Cap'm. I don't think that i have changed the source in any way, and so it still should be the same as on the discs. There was no directory named /usr/src/linux that i could find on my machine. However, there was /usr/src/redhat, under which were the directories; BUILD RPMS SOURCES SPECS SRPMS. All of these looked empty except for RPMS, which contained the directories: athlon i386 i486 i586 i686 noarch, all of which looked empty. I wonder if i should re-install with the discs, or try to find the source on the discs. I wouldn't know where on the discs to find it though. If I were to find and download the source from the redhat site, would it be the same as my installed version? I still do not understand why cisco vpn client needs the source code, and i don't know what it means to "install the source code",...does that just mean to unzip it?
Thanks!
 
Old 09-20-2004, 12:43 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
I don't think that i have changed the source in any way, and so it still should be the same as on the discs.
No, I meant if you've upgraded the kernel at all (like a security update) then the system will be using a different kernel version than the one originally installed on the system. If you haven't upgraded the kernel, then you really should as there have been several recent kernel vulnerabilities.

There was no directory named /usr/src/linux that i could find on my machine.
The kernel source is probably not installed then.

I wonder if i should re-install with the discs, or try to find the source on the discs.
Nah, assuming that you've registered with RHN, install the most recent kernel sources with:

up2date install kernel-source

this should download/dependency-resolve/install automatically for you. This will create the /usr/src/linux-2.4.21-20.EL directory for you.

If I were to find and download the source from the redhat site, would it be the same as my installed version?
If you have applied the security upgrades, then it should match your kernel version. If you haven't applied the updates, then you should do so immediately.

I still do not understand why cisco vpn client needs the source code
I don't know specifically, but I'm assuming that it requires kernel-specific settings in order to configure the VPN properly. In order to find these settings it has to look at the kernel source code. This is not that uncommon for networking related software.

and i don't know what it means to "install the source code"
If you use the up2date command, it will install the RPM for you. You could do the same manually by installing the RPM directly or by unzipping/untarring a gzipped-tarball kernel source, though you would still need to get it from RHN in order to remain supported by Redhat.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CISCO VPN client install solution daehenoc Linux - Software 3 10-17-2005 09:55 PM
cisco vpn client with kernel 2.6.3 (mdk10) works C++Boar Mandriva 34 12-27-2004 08:56 AM
Trying to install VPN client from cisco Oxyacetylene Linux - Networking 9 08-05-2004 04:58 PM
Cisco VPN Client on Debian with kernel 2.6.4 stephanhuiser Linux - Networking 1 06-17-2004 11:34 AM
Cisco VPN Client 3.5.2 won't install on RH9.1 PenguinPwrdBox Linux - Software 0 10-10-2003 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration