Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
I'm trying to get my wlan to work using ndiswrapper and I have followed the guide here on linuxforums, and made it through every step until Code: Hajo:/wlan# modprobe ndiswrapper ...
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    53

    can't find a solution



    I'm trying to get my wlan to work using ndiswrapper and I have followed the guide here on linuxforums, and made it through every step until

    Code:
    Hajo:/wlan# modprobe ndiswrapper
    FATAL: Module ndiswrapper not found.
    I have found lots of information about this problems in forums and every forum tells me that I need both ndis-utils and ndis-modules, however, the ndis-modules doesn't exist in my world.

    Code:
    Hajo:/wlan# apt-cache search ndiswrapper
    ndiswrapper-common - Common scripts required to use the utilities for ndiswrapper
    ndiswrapper-source - Source for the ndiswrapper linux kernel module
    ndiswrapper-utils - Userspace utilities for ndiswrapper
    ndiswrapper-utils-1.1 - Userspace utilities for ndiswrapper
    ndiswrapper-utils-1.9 - Userspace utilities for the ndiswrapper linux kernel module
    I have the source, utils, common and I tried with utils-1.9 (because it had the word module in the description :P ) but still nothing.

    Code:
    Hajo:/wlan# ndiswrapper -l
    installed drivers:
    w29n51          driver installed, hardware (8086:4224) present
    so the utils part of ndiswrapper seems to be working fine, but I can't get modprobe to notice ndiswrapper and I don't know where I can found this modules.

    I'm using Debian Etch and I have the kernel-headers and the kernel-source but still no luck.

    I'm getting kind of frustrated and would love to get some help with this little problem that I have.

    Any ideas?

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    448
    the name 'ndiswrapper' refers to both a user
    executible--that "ndiswrappeer -l" is it--and a
    loadable kernel module: you have the 1st, but not
    the second.

    go back to get

    > ndiswrapper-source - Source for the ndiswrapper
    > linux kernel module

    and install that. Maybe you'll have to compile it, no
    problem given you have the kernel source installed
    the sun is new every day (heraclitus)

  3. #3
    Just Joined!
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    53
    Quote Originally Posted by tpl
    the name 'ndiswrapper' refers to both a user
    executible--that "ndiswrappeer -l" is it--and a
    loadable kernel module: you have the 1st, but not
    the second.

    go back to get

    > ndiswrapper-source - Source for the ndiswrapper
    > linux kernel module

    and install that. Maybe you'll have to compile it, no
    problem given you have the kernel source installed
    Thank you for that!

    But I tried using the module-assistant instead, I installed ndiswrapper modules and tried to do

    Code:
    modprobe ndiswrapper
    after I installed the driver, and the system rebooted.

    What have I done wrong if modprobe makes my system crash?

  4. #4
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    download the ndiswrapper source and compile it
    download
    untar
    cd /ndiswrapper_directory
    ./configure
    make
    make install

    its not clean , but it's maybe work

  5. #5
    Just Joined!
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    53
    Quote Originally Posted by iwanabeguru
    download the ndiswrapper source and compile it
    download
    untar
    cd /ndiswrapper_directory
    ./configure
    make
    make install

    its not clean , but it's maybe work
    Thank you for your advice, but it doesn't work for me. I have downloaded different sources and headers for the kernel, via the packet manager and via kernel.org and tried different things. Now I don't now where the trouble is and therefore I will reinstall my system and try again.

    If I have a clean system, is it enough to use the module-assistant and check ndiswrapper and let the program install the modules automatically? Or do I still need ndiswrapper source and compiling and so fourth? It should not be that hard according to me.

  6. #6
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    If you are using module-assistant you don't need to download anything (module-assis will do it)
    Brilliant Mediocrity - Making Failure Look Good

  7. #7
    Just Joined!
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    53
    Ok, I finally reinstalled my entire system, but when I do
    Code:
    > modprobe ndiswrapper
    the system reboots and
    Code:
    > iwlist scan
    tells me that eth0 and eth1 doesn't support scanning so it hasn't worked and now I really need help if i'm going to keep using debian

    I have gotten the wireless network to work using the ipw2200 driver but that was the hardest thing I have ever installed on a computer so I will not try that again if I don't have to. Ndiswrapper seems so much easier to install.

    Ok, here is what I have done.

    I ran debian etch live cd and choose to install basic system and laptop environment. After that I downloaded my old xorg.conf file which from my experince works fine.

    I ran
    Code:
    > apt-get install 915resolution
    and edited /etc/default/915resolution to give me widescreen

    After that I did the following.
    Code:
    > apt-get clean
    > apt-get autoclean
    > apt-get update
    > apt-get dist-upgrade
    > apt-get install x-window-system-core gdm gnome
    This gave me the 2.6.18-3-686 kernel

    Then
    Code:
    > apt-get install module-assistant
    Now I started module-assistant and updated the cached package information and choose "prepare" to configure my system to compile modules. Then I choose "select" followed by ndiswrapper. I pressed enter on "get" and then "build" when I got the error
    Code:
    can't find the kernel sources, unable to compile
    so I did
    Code:
    > uname -r
     2.6.18-3-686
    followed by
    Code:
    > apt-get install linux-headers-'uname -r'
    and then I repeated my process in module-assistant and ndiswrapper got compiled and the module installed, and I gave module-assistant permission to run "apt-get install ndiswrapper-utils" which appearently is needed.

    Now I figured that ndiswrapper is correctly installed so I continued with
    Code:
    > cd /wlan/ <- the map where my .inf and .sys files are placed
    
    > ndiswrapper -i w29n51.inf <- this is the driver that the xp-version I have installed is using so it's the correct driver
    
    > ndiswrapper -l
    w29n51           driver installed, hardware present (alternate driver: ipw2200)
    
    > ndiswrapper -m
    creating alias...
    
    > modprobe ndiswrapper
    and my screen goes blank and the system reboots.
    I reinstalled my system about one hour ago and this is all the steps that I have made (except editing my /boot/grub/menu.lst to set vga=791 to the bootloader).

    It didn't work even though I removed everything weard I had before and tried it with a clean system, can someone please try to help me!? What can I do?

    I'm using Debian etch on a Latitude x1.

  8. #8
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by bnei
    I have gotten the wireless network to work using the ipw2200 driver
    That's it, don't bother using NDISWRAPPER with this card.

    The IPW2200 driver is already present in the Linux Kernel. You simply need to extract the IPW2200 firmware.

    You can do it like that :

    1) Download version 3.0 of IPW2200 firmware from http://ipw2200.sourceforge.net/firmware.php
    2) extract the download file and copy the resulting .fw files in /lib/firmware/

    That's all there is to it.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  9. #9
    Just Joined!
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    53
    Quote Originally Posted by antidrugue
    That's it, don't bother using NDISWRAPPER with this card.

    The IPW2200 driver is already present in the Linux Kernel. You simply need to extract the IPW2200 firmware.

    You can do it like that :

    1) Download version 3.0 of IPW2200 firmware from http://ipw2200.sourceforge.net/firmware.php
    2) extract the .fw files in /lib/firmware/

    That's all there is to it.
    Ok, I was expecting an answer with the word "ipw2200" in it , and as I mentioned, it was one of the hardest thing I have ever done. I had to recompile the kernel and a lot of stuff that could go wrong for a rookie debian guy like myself.
    But if it is as you say, that I only have to do thoose 2 steps, then I will go at it right away and forget about ndiswrapper.

    Thank you so much, it's not the first time you help me through the mystery of debian

  10. #10
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by bnei
    Ok, I was expecting an answer with the word "ipw2200" in it , and as I mentioned, it was one of the hardest thing I have ever done. I had to recompile the kernel and a lot of stuff that could go wrong for a rookie debian guy like myself.
    Starting with kernel 2.6.14, the IPW2200 driver is included. As for kernel 2.6.18, it includes ipw2200 driver version 1.1.1, so you need to use firmware version 3.0.

    I explained it in a bit more details in this thread :
    http://www.linuxforums.org/forum/deb...-2-6-17-a.html

    Quote Originally Posted by bnei
    But if it is as you say, that I only have to do thoose 2 steps, then I will go at it right away and forget about ndiswrapper.
    At least that's how I do it.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Page 1 of 3 1 2 3 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
  •