Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hello, I have a DLink DWL-122 Wireless USB Adapter, and I'm trying to follow the instructions to install ndiswrapper on my Mandrake Discovery 10. Ii'm having problem with the first ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Location
    The USA
    Posts
    23

    Help with ndiswrapper installation


    Hello, I have a DLink DWL-122 Wireless USB Adapter, and I'm trying to follow the instructions to install ndiswrapper on my Mandrake Discovery 10.

    Ii'm having problem with the first part of the NdisWrapper Installation page

    You need a recent kernel (at least 2.6.6 or 2.4.26) with source. Under Red Hat or Mandrake, the sources can be installed using the package kernel-source<kernel-version>.rpm.

    Make sure there is a link to the kernel source from the modules directory. /lib/modules/VERSION/build should be a link to the kernel source, where VERSION is the version of the kernel you are running. If there is no link, you'll get an error at the make install step. To create a link, assuming the kernel sources are present, use the command

    ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
    I can't find the kernel sources file for my verion (kernel-2.6.3-7mdk-1-1mdk) anywhere on the CDs or on the HD. So I downloaded kernel-2.6.3.7mdk-1-1mdk.src.rpm.

    That's there it all ends. I don't know what to do with this file.

    Also the directories "/usr/src/linux-<put version number here>" and "/lib/modules/<put version number here>/build do not exsist on my system.

    Can anyone help walk me though it? If I can get through the first part, I can follow the rest of the instructions to finish. Thank you!

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035

    Re: Help with ndiswrapper installation

    Quote Originally Posted by TheProducer
    I can't find the kernel sources file for my verion (kernel-2.6.3-7mdk-1-1mdk) anywhere on the CDs or on the HD. So I downloaded kernel-2.6.3.7mdk-1-1mdk.src.rpm.

    That's there it all ends. I don't know what to do with this file.
    try doing this, from the directory where you downloaded the kernel-2.6.3.7mdk-1-1mdk.src.rpm
    Code:
    su -
    rpm --rebuild kernel-2.6.3.7mdk-1-1mdk.src.rpm

  3. #3
    Just Joined!
    Join Date
    Aug 2004
    Location
    The USA
    Posts
    23
    This is what happened:

    [theproducer@localhost Desktop] su
    Password:
    [root@localhost Desktop] rpm --rebuild kernel-2.6.3.7mdk-1-mdk.src.rpm

    /usr/lib/rpm/rpmb: No such file or directory

    [root@localhost Desktop]
    Obviosly it seems to be another case of a missing directory.

    And this is a fresh (as in hours ago), Mandrake Discovery 10 install.


    Any idea of what to do now?

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    why don't you download the regular rpm (i.e. instead of kernel-2.6.3.7mdk-1-mdk.src.rpm download kernel-2.6.3.7mdk-1-mdk.rpm) and run:
    Code:
    su -
    rpm -i kernel-2.6.3.7mdk-1-mdk.src.rpm
    -lakerdonald

  5. #5
    Just Joined!
    Join Date
    Aug 2004
    Location
    The USA
    Posts
    23
    [theproducer@localhost Desktop]$ su
    Password:
    [root@localhost Desktop]# rpm -i kernel-2.6.3.7mdk-1-1mdk.i586.rpm
    package kernel-2.6.3.7mdk-1-1mdk is already installed
    [root@localhost Desktop]#
    Nothing happens?

  6. #6
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    well then:
    Code:
    whereis kernel-2.6.3.7mdk-1-1mdk
    that should point you to where the kernel source is installed
    -lakerdonald

  7. #7
    Just Joined!
    Join Date
    Aug 2004
    Location
    The USA
    Posts
    23
    [theproducer@localhost theproducer]$ su
    Password:
    [root@localhost theproducer]# whereis kernel 2.6.3.7mdk-1-1mdk
    kernel:
    2.6.3:
    [root@localhost theproducer]#




    ????

  8. #8
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    you forgot the '-' between kernel and 2.6.3
    but since it says it's already installed, why don't you get rid of it and reinstall:
    Code:
    rpm -e kernel-2.6.3.7mdk-1-1mdk
    and then
    Code:
    rpm -i kernel-2.6.3.7mdk-1-1mdk.rpm
    -lakerdonald

  9. #9
    Just Joined!
    Join Date
    Aug 2004
    Location
    The USA
    Posts
    23
    It responds saying that there are several dependancies that prevent it from being uninstalled....

    All i'm trying to do is get the kernel-sources set up so that I can run the install for the ndiswrapper.

    Is it just Mandrake?

  10. #10
    Just Joined!
    Join Date
    Aug 2004
    Location
    The USA
    Posts
    23
    OK, i've found the kernel-source-2.6.3.7 rpm. Now when I try to install it, it's fails, saying

    "unsatisfied ncurses-devel"

    Now what's going on??

Page 1 of 2 1 2 LastLast

Posting Permissions

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