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
  •  


Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4 picture

Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4

$800.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



64GB SK Hynix HMAA8GL7MMR4N-UH T2 AA PC4-2400T LRDIMM Server Memory 1093 picture

64GB SK Hynix HMAA8GL7MMR4N-UH T2 AA PC4-2400T LRDIMM Server Memory 1093

$299.99



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Sandisk 32GB 64GB 128GB 256GB Cruzer Glide Flash Drive USB 2.0 Memory Lot picture

Sandisk 32GB 64GB 128GB 256GB Cruzer Glide Flash Drive USB 2.0 Memory Lot

$206.22



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.49



 128GB (8x16GB) DDR4 PC4-2133P-R ECC Server Memory RAM Upgrade HPE Z640 picture

128GB (8x16GB) DDR4 PC4-2133P-R ECC Server Memory RAM Upgrade HPE Z640

$516.26