Find the answer to your Linux question:
Results 1 to 6 of 6
I'm having big problems trying to get this ndiswrapper thing to work. I've tried 2 seperate methods numerous times with no avail. Attempted Method 1: Install ndiswrapper from Yast (Suse ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    3

    ndiswrapper help


    I'm having big problems trying to get this ndiswrapper thing to work. I've tried 2 seperate methods numerous times with no avail.


    Attempted Method 1:
    Install ndiswrapper from Yast (Suse 10.0), but when I get to the step where I do modprobe ndiswrapper, I get the error FATAL: ndiswrapper.ko cannot be found. I tried a "locate ndiswrapper.ko" but it was nowhere to be found.

    Attempted Method 2:
    I downloaded the latest version of ndiswrapper to compile. I first uninstalled the other version with Yast. Then I did this:

    Code:
     linux:~ # ln -s /usr/src/linux-2.6.13-15 /lib/modules/2.6.13-15.8-default/build
    ln: creating symbolic link `/lib/modules/2.6.13-15.8-default/build/linux-2.6.13-15' to `/usr/src/linux-2.6.13-15': File exists
    linux:~ # cd /home/Greg/Desktop/ndiswrapper-1.16/
    linux:/home/Greg/Desktop/ndiswrapper-1.16 # make install
    make -C driver install
    make[1]: Entering directory `/home/Greg/Desktop/ndiswrapper-1.16/driver'
    Can't find kernel build files in /lib/modules/2.6.13-15.8-default/build;
      give the path to kernel build directory with
      KBUILD=<path> argument to make
    make[1]: *** [prereq_check] Error 1
    make[1]: Leaving directory `/home/Greg/Desktop/ndiswrapper-1.16/driver'
    make: *** [install] Error 2
    linux:/home/Greg/Desktop/ndiswrapper-1.16 #

    So for some reason, it can't find the "kernel build files". I don't understand what is happening because the kernel source IS installed.


    Please help!

  2. #2
    Just Joined! tom-tjtech's Avatar
    Join Date
    Apr 2006
    Location
    Scotland
    Posts
    51

    Arrow

    You've screwed up your dependencies when you uninstalled the older version!

    I personally prefer YUM, others Apt, others YaST the choices are debatable..
    but using YUM gives the option to resolvedep and remove packages safely.

    See comments about comparisons at-
    http://www.osnews.com/comment.php?news_id=12264

    So I suggest:
    [root]# yum update resolvedep ndiswrapper

    (or kyum I suppose is the same thing in Suse 10- for those interested in using YUM installer in this Distro see-
    http://liquidat.wordpress.com/2005/1...e-linux-100-3/)

    if you don't have yum then I refer you to
    http://wiki.linuxquestions.org/wiki/NDIS_Wrapper
    for options on installing from source (RedHat here)...

    Alternate Method for Installing ndiswrapper and Kernel Driver

    The ndiswrapper source contains Makefile targets for producing RPM and DEB packages. This makes it convenient to produce an ndiswrapper or kernel-module-ndiswrapper package and to install it as you would any packaged program. If you perform an online security update of the kernel, for example, you will need to produce a new ndiswrapper.ko module. To produce the rpm packages, you can do so as root very simply:

    # cp ndiswrapper-1.1.tar.gz /usr/src/redhat/SOURCES/
    # cd /usr/src/redhat/SOURCES/
    # rpmbuild -tb ndiswrapper-1.1.tar.gz

    The RPMs will be located under /usr/src/redhat/RPMS/<arch>/, where <arch> might be i586 or x86_64. When installing ndiswrapper for the first time you can instead use the -ti option:

    # rpmbuild -ti ndiswrapper-1.1.tar.gz

    This will install ndiswrapper and the kernel module from source.

  3. #3
    Just Joined! Zorre's Avatar
    Join Date
    May 2006
    Posts
    12
    Can you post a direct link to download YUM? I couldn't find one on that site, or I'm not looking for the right thing. I don't have it on my SuSE partition. I did try the link you provided after your YUM suggestion, but it wouldn't work like that, it said I was missing 'Makefile'.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! tom-tjtech's Avatar
    Join Date
    Apr 2006
    Location
    Scotland
    Posts
    51

    Arrow Ndiswrapper install using YUM on SuSE 10.x

    For the source of all thats 'YUMmy' go to:

    http://linux.duke.edu/projects/yum/download.ptml

    and if they can't help you - no one can as they maintain it!

    Firstly...
    simply try

    [root]# yast -i yum

    first to install yum with dependencies (best option)

    else ...
    or download the source directly from duke.edu ftp site, see Download on their site:-
    http://linux.duke.edu/projects/yum/download/2.6/

    choose tar 'yum-2.6.0.tar.gz'.

    do as root

    Code:
    tar zxf yum-2.6.0.tar.gz
    cd yum-2.6.0
    ./configure
    make
    make install
    cd ..
    If you prefer rpm builds (see http://www.linuxnovice.org/main_how....W=VIEW&t_id=52 how to do this.
    -----------------------
    To check yum is there
    [root]# rpm -qa | grep yum
    yum-2.6.0-1.suse

    (or something like that - show yum is installed OK and version)

    for yum options
    [root]# yum

    the repositories are stored at,
    [root]# cd /etc/yum.repos.d
    [root]# ls

    and check they are correct and present.

    Im sure its worth the effort, but others may disagree!

  6. #5
    Just Joined! Zorre's Avatar
    Join Date
    May 2006
    Posts
    12
    The RPM doesn't seem to install, and
    Code:
    tar zxf yum-2.6.0.tar.gz
    cd yum-2.6.0
    ./configure
    make
    make install
    cd ..
    My problem is that make install doesn't work! IS there a simple way of installing ndiswrapper? Isn't there an RPM for ndiswrapper?

  7. #6
    Just Joined! tom-tjtech's Avatar
    Join Date
    Apr 2006
    Location
    Scotland
    Posts
    51

    Arrow

    The RPM doesn't seem to install, and

    Code:
    tar zxf yum-2.6.0.tar.gz
    cd yum-2.6.0
    ./configure
    make
    make install
    cd ..
    My problem is that make install doesn't work! IS there a simple way of installing ndiswrapper? Isn't there an RPM for ndiswrapper?
    Get the latest tar.gz from Sourceforge:

    Download ndiswrapper-1.16.tar.gz

    http://sourceforge.net/project/showf...group_id=93482

    and use the alternative method I stated previously using rpmbuild...

    Alternate Method for Installing ndiswrapper and Kernel Driver

    The ndiswrapper source contains Makefile targets for producing RPM and DEB packages. This makes it convenient to produce an ndiswrapper or kernel-module-ndiswrapper package and to install it as you would any packaged program. If you perform an online security update of the kernel, for example, you will need to produce a new ndiswrapper.ko module. To produce the rpm packages, you can do so as root very simply:

    # cp ndiswrapper-1.1.tar.gz /usr/src/redhat/SOURCES/
    # cd /usr/src/redhat/SOURCES/
    # rpmbuild -tb ndiswrapper-1.1.tar.gz

    The RPMs will be located under /usr/src/redhat/RPMS/<arch>/, where <arch> might be i586 or x86_64. When installing ndiswrapper for the first time you can instead use the -ti option:

    # rpmbuild -ti ndiswrapper-1.1.tar.gz

    This will install ndiswrapper and the kernel module from source.
    If you can't do any of these then you have Kernel corruption which has to be resolved first, update Kernel maybe!

Posting Permissions

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