Results 1 to 6 of 6

Thread: Linux Header Files for Knoppix 5.3

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    8

    Linux Header Files for Knoppix 5.3

    Hello,

    I'm trying to remaster the 5.3 DVD with various applications and I'm having trouble installing the Cisco VPN client. It requires the Linux header files, unfortunately, the 5.3 DVD I downloaded does not seem to include them. The 5.11 DVD, on the other hand, included them. Is there something I'm missing here?

    Thanks for any help you can provide.

  2. #2
    Junior Member
    Join Date
    Nov 2008
    Posts
    8
    Bump: does anyone know if there's a way to do this without the header files? I mean, it appears that the full kernel source code is there. I just don't know how to use it in place of the headers. Sorry for my ignorance.

  3. #3
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    Quote Originally Posted by Kupe
    Bump: does anyone know if there's a way to do this without the header files? I mean, it appears that the full kernel source code is there. I just don't know how to use it in place of the headers. Sorry for my ignorance.
    Knoppix uses a standard kernel so just download the kernel source from kernel.org and decompress it in /usr/src/Linux-2.6.xx make sure you set a symlink called linux pointing to /usr/src/linux-2.6.xx and you should be able to recompile the kernel.

  4. #4
    Junior Member
    Join Date
    Nov 2008
    Posts
    8

    Knoppix Header files - Solved

    I tried to post what I thought would be a very useful set of steps for someone who wanted to regenerate the linux kernel header files for 5.3 but I was stopped by the filter; something about there being spam in my post and an unauthorized term. Not sure what that's all about about, but if someone is interested in the solution they can email me at [email protected]

    Barry

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: Knoppix Header files - Solved

    Quote Originally Posted by Kupe
    ... but I was stopped by the filter; something about there being spam ....
    Sorry about that. We occasionally do see a false positive. I'll send you a private message about the details and suggest some work-arounds.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  6. #6
    Junior Member
    Join Date
    Nov 2008
    Posts
    8

    Full Post

    Here's the full post.

    I just wanted to share my success with the rest of you. I was able to successfully create the kernel header files from the kernel source and install the Cisco VPN client on a customized LiveCD of Knoppix version 5.3. I took the 4gb DVD and after an arduous process of uninstalling/purging/removing software I now have a working LiveCD of Knoppix 5.3 that is just over 400mb!

    Here's the process I used to install the Cisco VPN client. Hopefully someone else who needs to recreate the kernel header files to install something (a driver, etc.) on Knoppix 5.3 will find this useful:

    NOTE: all these steps are done within the CHROOT environment. Do an "apt-get update" before you install anything.

    1. Install linux-headers and build-essential.

    If you don't have access to the headers for your kernel version, follow the instructions at this web page to generate them from the kernel source. http://www.howtoforge.com/kernel_com...on_debian_etch

    NOTE: You don't need to include the kernel_image option on the make-kpkg command line; just the kernel_headers option.

    2. Check to see if you have an EXTRAVERSION mis-match. Compare:

    uname -r

    to the value in the /usr/src/Makefile for EXTRAVERSION.

    If they don't match, change the value of EXTRAVERSION in the Makefile file so it matches.


    3. In the /usr/src/linux sub-directory run these commands:

    make clean
    make oldconfig
    make modules_prepare
    make prepare

    This web site was helpful: http:// aivipi.blog spot.com/2008/09/installing-cisco-vpn-on-mandriva-2008.html

    4. Extract the Cisco vpnclient tar file to tmp.

    5. The rest of the steps are standard for the Cisco vpnclient

    6. Before you exit the CHROOT environment to recompress the distro, start and stop the vpnclient a couple of times:

    /etc/init.d/vpnclient_init start
    /etc/init.d/vpnclient_init stop
    /etc/init.d/vpnclient_init start

    You can also uninstall build-essential and the linux-headers at this point. To really get the size of the ISO down you can delete everything in the /usr/src directory (save off a copy of the linux-headers.deb file you created in step 1 first!!).

    Enjoy!

Similar Threads

  1. could not find linux kernel header file for version 19
    By dtzxdtzx1 in forum General Support
    Replies: 4
    Last Post: 06-29-2007, 08:28 AM
  2. KDE header files???
    By ku637 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 12-15-2005, 07:05 PM
  3. where can i get header files for knoppix runnign kernel
    By paradigm_shift in forum General Support
    Replies: 0
    Last Post: 07-17-2005, 11:22 AM
  4. Knoppix 3.8.1 HDD Install - Where are the Linux source files
    By Ranger24 in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-21-2005, 03:26 PM
  5. Knoppix-3.4 and kernel-header-version?
    By Ish Rattan in forum General Support
    Replies: 0
    Last Post: 06-01-2004, 02:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$145.00



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$147.00



Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot picture

Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot

$95.99



OPNsense Firewall 16-Core Atom C3958 16GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI picture

OPNsense Firewall 16-Core Atom C3958 16GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI

$195.00



Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN picture

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN

$229.99



Fortinet FortiGate 60F FG-60F Firewall Tested Reset Deregistered OEM PSU picture

Fortinet FortiGate 60F FG-60F Firewall Tested Reset Deregistered OEM PSU

$99.99



OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN picture

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN

$258.00



Netgate SG-2100 pfSense Plus 26.07 Firewall VPN Router - Wiped, Fresh Install picture

Netgate SG-2100 pfSense Plus 26.07 Firewall VPN Router - Wiped, Fresh Install

$174.99



Unfi Security Gateway Pro picture

Unfi Security Gateway Pro

$170.00



Alta Labs Route10 10Gbps Router Firewall 2x SFP+ 4x 2.5GbE 2x PoE+ picture

Alta Labs Route10 10Gbps Router Firewall 2x SFP+ 4x 2.5GbE 2x PoE+

$174.99