Page 3 of 121 FirstFirst 123451353103 ... LastLast
Results 21 to 30 of 1210

Thread: Comprehensive ndiswrapper troubleshooting guide

  1. #21
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Comprehensive ndiswrapper troubleshooting guide

    I'm glad it worked

    You should now write a boot script so that those commands get run automatically each time you start your computer (otherwise you would have to run them manually after each reboot). To write the script, first type:

    Code:
    sudo gedit /etc/init.d/wifi-fix.sh
    A blank file will open. Add these lines to it:

    Code:
    #!/bin/bash
    
    rmmod b44
    rmmod b43
    rmmod b43legacy
    rmmod ssb
    rmmod ndiswrapper
    modprobe ndiswrapper
    ifconfig wlan0 up
    Then save and close the file.

    Now run this so that the script will get run at boot:
    Code:
    cd /etc/init.d
    sudo -s
    chmod +x wifi-fix.sh
    update-rc.d wifi-fix.sh
    That should allow you to reboot your computer and have your wireless going with no problems. Let me know if you have any more trouble; otherwise, enjoy Ubuntu!

    Also as for sound: I don't know very much about sound on Linux myself, but a good place to start if you have problems is the community-documentation guide to sound troubleshooting.

  2. #22
    Join Date
    Mar 2008
    Location
    Milwaukee
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Comprehensive ndiswrapper troubleshooting guide

    So...
    I restarted my computer before reading your post on what to type in before I restart. >_<

    I tried typing in what you said in you last post, post # 21, and it did not seem to do the trick.

    I went back to your post before that, post #19, and everything was going well until I entered

    iwlist scan

    the response was

    lo Interface doesn't support scanning.
    Wlan0 No scan results


    Sorry to be a pain...


    ~Zar4
    n00bie

    everything's working on the new lappy other than some funtastic emulators :/

  3. #23
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Comprehensive ndiswrapper troubleshooting guide

    Sorry it broke again; I'm sure it's disappointing. Maybe there was a problem with the script.

    To sort out the problem, please reboot, then (before doing anything else) run these commands and post the output:

    Code:
    lsmod | grep -e b43 -e b44 -e ssb -e ndis
    sudo /etc/init.d/wifi-fix.sh
    cat /etc/init.d/wifi-fix.sh
    ls -al /etc/init.d/wifi-fix.sh
    dmesg | grep -e wlan -e ndis
    If your wireless still doesn't work at this point, please also run this and post the output:

    Code:
    sudo rmmod b44
    sudo rmmod b43
    sudo rmmod b43legacy
    sudo rmmod ssb
    sudo rmmod ndiswrapper
    sudo modprobe ndiswrapper
    sudo ifconfig wlan0 up
    dmesg | grep -e wlan -e ndis
    iwlist scan
    Sorry to make you post so much, but this should help figure out why it doesn't want to work.

  4. #24
    Join Date
    Mar 2008
    Location
    Milwaukee
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Comprehensive ndiswrapper troubleshooting guide

    Thank you very much, again. That did the trick!

    Question, will I need to re-run the script from post #21 to have the wireless work after I restart or am I good to go for good?

    Oh, and for good measure, what I entered and the results.

    david@Patton:~$ lsmod | grep -e b43 -e b44 -e ssb -e ndis
    ndiswrapper 243872 0
    b44 33168 0
    mii 7552 1 b44
    ssb 37252 1 b44
    usbcore 169904 4 ndiswrapper,ehci_hcd,ohci_hcd
    david@Patton:~$ sudo /etc/init.d/wifi-fix.sh
    [sudo] password for david:
    ERROR: Module b43 does not exist in /proc/modules
    ERROR: Module b43legacy does not exist in /proc/modules
    wlano: ERROR while getting interface flags: No such device
    david@Patton:~$ cat /etc/init.d/wifi-fix.sh
    #!/bin/bash

    rmmod b44
    rmmod b43
    rmmod b43legacy
    rmmod ssb
    rmmod ndiswrapper
    modprobe ndiswrapper
    ifconfig wlano up
    david@Patton:~$ ls -al /etc/init.d/wifi-fix.sh
    -rwxr-xr-x 1 root root 116 2008-09-09 15:37 /etc/init.d/wifi-fix.sh
    david@Patton:~$ dmesg | grep -e wlan -e ndis
    [ 51.032677] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
    [ 51.076648] usbcore: registered new interface driver ndiswrapper
    [ 198.128410] usbcore: deregistering interface driver ndiswrapper
    [ 198.182453] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
    [ 198.215523] ndiswrapper (link_pe_images:576): fixing KI_USER_SHARED_DATA address in the driver
    [ 198.217430] ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
    [ 198.219770] ndiswrapper: using IRQ 17
    [ 198.385924] wlan0: ethernet device 00:1d:60:96:ee:ee using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
    [ 198.385968] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
    [ 198.390703] usbcore: registered new interface driver ndiswrapper
    [ 198.405341] ndiswrapper: changing interface name from 'wlan0' to 'eth1'
    [ 198.405447] udev: renamed network interface wlan0 to eth1
    david@Patton:~$
    n00bie

    everything's working on the new lappy other than some funtastic emulators :/

  5. #25
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Comprehensive ndiswrapper troubleshooting guide

    Aha, I see what's wrong and it was a mistake on my part--sorry. The script was not being run because it wasn't correctly initialized. Please run this so that the system will know to run the script automatically each time the computer boots:

    Code:
    cd /etc/init.d
    sudo -s
    chmod +x wifi-fix.sh
    update-rc.d wifi-fix.sh defaults
    (previously I had forgotten the word 'defaults' in the last command, which would screw things up).

    After you run those commands once, you should be able to reboot and have the wireless work automatically from now on. Let me know.

  6. #26
    Join Date
    Sep 2007
    Location
    Wales, UK
    Beans
    175
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Comprehensive ndiswrapper troubleshooting guide

    That's a brilliant post to fall back on should you have ndiswrapper problems.

    I had trouble with ndiswrapper locking up the system in the not so distance past. For added annoyance, there were no logs to fall back on and figure the problem. Mine was a Broadcom chipset should that narrow things down.

    So if anyone else is having that problem, I found it was down to a dodgy driver (perhaps using the wrong revision etc). Ndiswrapper still counted a wrong driver as valid and locked the system as a result when loaded. Trying different drivers eventually solved the problem.

    DFlame

  7. #27
    Join Date
    Mar 2008
    Beans
    26

    Re: Comprehensive ndiswrapper troubleshooting guide

    Pytheas22, thanks for replying, I am the guy who tried to install a wired ethernet driver under ndiswrapper. You were of course right, I had b44 blacklisted, so I unblacklisted it and still my wired ethernet wont work unless I use b44win under ndiswrapper. What is ssb? Should it be blacklisted?

    Also thanks for showing me how to write a boot script, it works when I run the commands once so I'll use it if I cant get the linux wired driver to work!

  8. #28
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Comprehensive ndiswrapper troubleshooting guide

    ssb is a module upon which b44, among other drivers, depends. To be honest I'm not sure exactly what ssb does and Google doesn't say much about it, but I know that if you want to use b44, ssb also has to be loaded. I guess for you b44 doesn't work, though, for some reason. At least you have it working using the Windows driver--I am a bit impressed by that, as I'd never heard of anyone using ndiswrapper on an ethernet card before.

  9. #29
    Join Date
    Jul 2007
    Location
    Florida
    Beans
    40
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Comprehensive ndiswrapper troubleshooting guide

    I am having problems on my wireless and am trying to follow your post here but I run into trouble at step 1. When I got to the terminal and type in ndiswrapper -l I get returned immediately to my desktop. Attached is the terminal output along with what may be helpful clues you can use to tell me what I'm not doing or doing wrong.
    Attached Images Attached Images

  10. #30
    Join Date
    Aug 2007
    Location
    Paris
    Beans
    5,538
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Comprehensive ndiswrapper troubleshooting guide

    Rodney,

    It looks like you have some kind of strange problem with your ndiswrapper installation (or you never loaded a Windows driver). You could try reinstalling it:
    Code:
    sudo apt-get remove --purge ndiswrapper*
    sudo apt-get install ndiswrapper*
    After that, you would need to install the Windows driver again.

    HOWEVER, your card has an rt73 chipset (unless that's a different card--you don't have more than one wireless card in this computer, do you?), which should not need ndiswrapper to work. You can install a very good Linux driver for rt73 by running these commands (you will need to be connected to the Internet in some way first):
    Code:
    sudo -s
    echo 'blacklist rt2500usb' >> /etc/modprobe.d/blacklist
    echo 'blacklist rt2500pci' >> /etc/modprobe.d/blacklist
    echo 'blacklist rt61pci' >> /etc/modprobe.d/blacklist
    echo 'blacklist rt2x00pci' >> /etc/modprobe.d/blacklist
    echo 'blacklist rt2400pci' >> /etc/modprobe.d/blacklist
    echo 'blacklist rt2x00lib' >> /etc/modprobe.d/blacklist
    echo 'blacklist rt2x00usb' >> /etc/modprobe.d/blacklist
    apt-get install build-essential
    wget http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz
    tar -xzvf rt73*
    cd rt73*
    cd Module
    make
    make install
    Then reboot, and the card should work. If not, please post the output of:
    Code:
    lshw -C Network
    lsmod | grep rt

Page 3 of 121 FirstFirst 123451353103 ... LastLast

Bookmarks

Posting Permissions

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