Find the answer to your Linux question:
Results 1 to 4 of 4
Hey, Trying to install ndiswrapper in Debian etch. Installation instructions state the following: Make sure that /lib/modules/VERSION/build is a link to the kernel source, where VERSION is the version of ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    ndiswrapper - Link to kernel source

    Hey,

    Trying to install ndiswrapper in Debian etch. Installation instructions state the following:

    Make sure that /lib/modules/VERSION/build is a link to the kernel source, where VERSION is the version of the kernel you are running; this should be setup automatically by distribution package. If this path is not valid, kernel modules can’t be compiled.

    Well... this is not setup automatically so I have to do it myself.

    I downloaded the latest kernel source from The Linux Kernel Archives, then bunzipped it to /usr/src/. Then, I created a soft link as follows:

    Code:
    ln -s /usr/src/linux-2.6.... /lib/modules/2.6..../build
    Finally, I went to the nsdiswrapper directory and executed:

    Code:
    make distclean
    At this point, or if I execute any other 'make' command, I get an error saying that it "cannot find the linux version, is it configured?"

    Please help. I am forced to use Windows to get online without ndiswrapper.

    Thanks!

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    Hi!

    You need the source of your actually used kernel not the newest.
    if you are using the original kernel wich deliverd with the distro you need install the kernel source , and kernel header packages

    aptitude install kernel-source-2.6.x.x kernel-header-2.6.x.x

    i'm not sure about the packages names

    than you can compile ndiswrapper

    or just install ndiswrapper from debian repos

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2
    Thanks for the response... I've been on vacations. My big problem is that once I download the kernel source, I have the tar but I don´t understand how or what it means to "install" it. Forgive my ignorance! Thanks again.

  4. #4
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    your distro has packages which contains the kernel source and headers
    as i wrote my previuos post

    install those package unless you use your own kernel

Posting Permissions

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