How to fix “Module ndiswrapper not found"

34,988

Solution 1

The main reason for this error is bug in ndiswrapper 1.57 version. Check out this.

Download ndiswrapper 1.58 rc build here with better code than 1.57. It will work. Good luck

Solution 2

I had to run echo ndiswrapper >> /etc/modules

Solution 3

EDIT: Run this first:

sudo rm -f /lib/modules/3.5.0-*-generic/updates/dkms/ndiswrapper.ko

Then run this:

sudo apt-get install --reinstall ndiswrapper-dkms ndiswrapper-source

This will recompile the ndiswrapper so that it will work on your kernel. See if it works for you.

Solution 4

Based on what you have installed, this may seem silly, but have you installed ndiswrapper-dkms? That should allow you to sudo modprobe ndiswrapper.

Share:
34,988

Related videos on Youtube

thank_you
Author by

thank_you

Updated on September 18, 2022

Comments

  • thank_you
    thank_you over 1 year

    I have Ubuntu 12.10 and whenever I run sudo modprobe ndiswrapper, I get the following error.

    FATAL: Module ndiswrapper not found.
    

    The command dkms status returns with...

    ndiswrapper, 1.57, 3.2.0-32-generic, i686: installed
    

    When I run ndiswrapper -v I am returned with this...

    jason@jason:~$ ndiswrapper -v
    utils version: '1.9', utils version needed by module: '1.9'
    module details:
    filename:       /lib/modules/3.5.0-18-generic/updates/dkms/ndiswrapper.ko
    version:        1.58rc1
    vermagic:       3.5.0-18-generic SMP mod_unload modversions 686 
    

    I have installed commons, utils-1.9, dkms, source but it's still returning this error. How do I fix this?

    • Will Daniels
      Will Daniels over 11 years
      please post output of dkms status to check whether the ndiswrapper module has been built...
    • Sam
      Sam over 11 years
      what wifi card are you trying to get running? can you post the output of "lspci | grep Network"
    • smskelley
      smskelley over 11 years
      Note that this seems to already have been asked and answered here: askubuntu.com/questions/132894/how-to-fix-ndiswrapper-not-fo‌​und
    • thank_you
      thank_you over 11 years
      Yeah, I already tried that. Whenever I get to sudo modprobe ndiswrapper it returns with FATAL: Module ndiswrapper not found, using both ways.
    • thank_you
      thank_you over 11 years
      @Sam I'm using a USB wireless connector, not a wifi card per say. Specifically, it is a NetGear WG111U.
  • thank_you
    thank_you over 11 years
    Yes, I installed it already. Still not working.
  • thank_you
    thank_you over 11 years
    The console returned when I tried either code with this make KERNELRELEASE=3.5.0-18-generic KVERS=3.5.0-18-generic.......(bad exit status: 2) Error! Bad return status for module build on kernel: 3.5.0-18-generic (i686) Consult /var/lib/dkms/ndiswrapper/1.57/build/make.log for more information.
  • thank_you
    thank_you over 11 years
    The make.log can be found in my question.
  • Will Daniels
    Will Daniels over 11 years
    So we have a winner: LP Bug #1023645
  • thank_you
    thank_you over 11 years
    I followed the instructions and it built and installed correctly. However, now whenever I run modprobe ndiswrapper, I get no response from the terminal. It just acts like it is loading something, but nothing comes up.
  • chili555
    chili555 over 11 years
    When you issue a command and there is no response, it means, roughly, 'command executed as requested and there are no warnings or errors to report.' That's the expected behavior.
  • thank_you
    thank_you over 11 years
    Well, what happens when it doesn't return with this jason@jason:~$? Because that is what is happening.
  • chili555
    chili555 over 11 years
    I see, it hangs and never returns to the command prompt. I'd open a terminal and do: sudo tail -f /var/log/syslog. Open a second terminal and do sudo modprobe ndiswrapper. See what messages appear in the first. I suspect you have a version mismatch. I suggest you go into Synaptic and remove everything ndiswrapper. Then go to your terminal again and cd Downloads/ndiswrapper-1.58rc1 (or wherever you downloaded it) and then sudo su, make clean, make, make install. Now can you modprobe ndiswrapper?
  • nanofarad
    nanofarad over 11 years
    This should be run as root, or with sudo tee.
  • Admin
    Admin over 11 years
    Oh yeah, (I had ran sudo -i)
  • thank_you
    thank_you over 11 years
    Tried it and it didn't work.
  • thank_you
    thank_you over 11 years
    I did as you say and created the two terminals, however whenever I run sudo tail -f /var/log/syslog no messages return when I run modprobe ndiswrapper.
  • thank_you
    thank_you over 11 years
    Tried it and it didn't work. Thanks for the try though.
  • foodiepanda
    foodiepanda over 11 years
    Edited my post. See if that will work :)
  • thank_you
    thank_you over 11 years
    Returned with an error that was caused from nothing having ndiswrapper 1.58. Will redo it all see what it returns.