Page 2 of 121 FirstFirst 12341252102 ... LastLast
Results 11 to 20 of 1210

Thread: Comprehensive ndiswrapper troubleshooting guide

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    John164918a,

    I'm not sure exactly what's going on--the errors seem pretty generic--but perhaps the easiest solution would be to write a boot script that would automatically reinstall the Windows driver into ndiswrapper each time you boot your computer, since you say that doing that manually is the trick to getting the connection working.

    To test that that solution would actually work, please try running these commands (before doing anything else) after the next reboot where the wired connection is not working:
    Code:
    sudo rmmod ndiswrapper
    sudo ndiswrapper -r b44win
    sudo ndiswrapper -i /path/to/b44win.inf
    sudo modprobe ndiswrapper
    (note that you have to give the correct path to the location of the b44win.inf file). After that, hopefully the wired connection will work.

    If that doesn't work, please post the output of:
    Code:
    lshw -C Network
    ndiswrapper -l
    By the way, are you sure that you really need ndiswrapper in order to drive your ethernet card? I know it's possible to use ndiswrapper for ethernet, but I've never heard of anyone actually doing so, as virtually every ethernet card in the world should be supported by a native driver (b44 in your case, I think)--although perhaps your problem results from blacklisting issues with b44, which you probably needed to add to the blacklist in order to allow ndiswrapper (and not b43/ssb) to control your wireless card, which also has a Broadcom chip.

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    I tried following this guide but I still cannot get onto my wireless.
    I had gotten on just fine before but when I updated I no longer could and I have no idea why. It's incredibly annoying and very stupid.

    I typed
    ndiswrapper -l
    and got
    bcmwl5 : driver installed
    device (14E4:4311) present (alternative driver: bcm43xx)

    in return.
    I think, according to the guide, that means that I have an alternative driver rather than the ndiswrapper trying to control the card, or something. I tried to blacklist it but when I tried to and then saved I got this message
    "could not save the file /etc/modprobe.c.blacklist.
    you do not have the permissions necessary to save the file.
    please check that you typed the location correctly and try again."

    I also noticed that "bcm43xx" was already blacklisted.

    Why can I not save that and why is "bcm43xx" trying to drive the card if it's already blacklisted?


    ~Zar4

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    I tried following this guide but I still cannot get onto my wireless.
    I had gotten on just fine before but when I updated I no longer could and I have no idea why. It's incredibly annoying and very stupid.

    I typed
    ndiswrapper -l
    and got
    bcmwl5 : driver installed
    device (14E4:4311) present (alternative driver: bcm43xx)
    in return.
    I think, according to the guide, that means that I have an alternative driver rather than the ndiswrapper trying to control the card, or something. I tried to blacklist it but when I tried to and then saved I got this message
    "could not save the file /etc/modprobe.c.blacklist.
    you do not have the permissions necessary to save the file.
    please check that you typed the location correctly and try again."

    I also noticed that "bcm43xx" was already blacklisted.

    Why can I not save that and why is "bcm43xx" trying to drive the card if it's already blacklisted?
    Actually the module that's probably conflicting with ndiswrapper is called b43, not bcm43xx (bcm43xx is an older module; now it's blacklisted by default in Hardy). So open up the blacklist for editing (you couldn't save it before because you didn't use 'sudo' to open it):

    Code:
    sudo gedit /etc/modprobe.d/blacklist
    and add these lines to that file:
    Code:
    blacklist b43
    blacklist ssb
    blacklist b43legacy
    blacklist b43 ssb
    Then save the file, and reboot. Does your wireless work? If not, check lshw -C Network again. Which module is driving the wireless? And does this command return anything:
    Code:
    lshw -C Network | grep b44

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    I tried what pytheas22 suggested and I still do not have wireless.

    I typed in lshw -C Network and only got information for my ethernet interface and network controller. Before when I'd type that in there's be a third catagory for my wireless network. That's no longer there.

    When I type in
    lshw -C Network | grep b44
    I get
    WARNING: you should run this program as super-user.
    configuration: broadcast=yes driver=b44 driverversion=2.0 latency=64 module=ssb multicast=yes


    I still do not understand what my problem is and why it randomly stopped working after I updated.

    ~Zar4

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    I tried what pytheas22 suggested and I still do not have wireless.

    I typed in lshw -C Network and only got information for my ethernet interface and network controller. Before when I'd type that in there's be a third catagory for my wireless network. That's no longer there.

    When I type in
    lshw -C Network | grep b44
    I get
    WARNING: you should run this program as super-user.
    configuration: broadcast=yes driver=b44 driverversion=2.0 latency=64 module=ssb multicast=yes

    I still do not understand what my problem is and why it randomly stopped working after I updated.
    I know what's going on. It's a problem with conflicts caused by the b44 driver (an ethernet driver) and the ssb module, which is a dependency of b43. ssb won't unload if b44 is active, even if ssb is on the blacklist.

    The solution is to rmmod b44 before unloading ssb. If you type these commands, does your wireless work:
    Code:
    sudo rmmod b44
    sudo rmmod b43
    sudo rmmod b43legacy
    sudo rmmod ssb
    sudo rmmod ndiswrapper
    sudo modprobe ndiswrapper
    sudo ifconfig wlan0 up
    If you get any error messages besides "warning: module XXX does not exist in /proc/modules" (this error can be ignored), please post them here. Otherwise, the steps above should allow ndiswrapper to claim your card.

    Note that removing b44 will kill your wired connection, if you have one, until the next reboot.

  6. #16
    Join Date
    Mar 2008
    Location
    Milwaukee
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Comprehensive ndiswrapper troubleshooting guide

    I typed this in
    sudo ifconfig wlan0 up
    and got this error
    wlan0: ERROR while getting interface flags: No such device


    ~Zar4

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    I typed this in
    sudo ifconfig wlan0 up
    and got this error
    wlan0: ERROR while getting interface flags: No such device
    After you type these commands:
    Code:
    sudo rmmod b44
    sudo rmmod b43
    sudo rmmod b43legacy
    sudo rmmod ssb
    sudo rmmod ndiswrapper
    sudo modprobe ndiswrapper
    look at the output of lshw -C Network. You want it to say that, according to lshw, ndiswrapper is claiming the wireless card (there will be a line in the output text that says something like "driver=ndiswrapper+[some windows driver]". You do not want to see any mention of "b43" or "ssb" anywhere.

    If lshw looks alright, then run dmesg | grep -e ndis -e wlan and look at the output. Do you see any errors mentioned?
    Last edited by pytheas22; September 5th, 2008 at 10:57 PM.

  8. #18
    Join Date
    Mar 2008
    Location
    Milwaukee
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Comprehensive ndiswrapper troubleshooting guide

    I typed in

    lshw -C Network

    and I got this reply

    david@Patton:~$ lshw -C Network
    WARNING: you should run this program as super-user.
    *-network
    description: Network controller
    product: BCM94311MCG wlan mini-PCI
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:0b:00.0
    version: 01
    width: 32 bits
    clock: 33MHz
    capabilities: bus_master cap_list
    configuration: driver=b43-pci-bridge latency=0 module=ssb
    *-network
    description: Ethernet interface
    product: BCM4401-B0 100Base-TX
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:03:00.0
    logical name: eth0
    version: 02
    serial: 00:1c:23:a0:0a:55
    width: 32 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=b44 driverversion=2.0 latency=64 module=ssb multicast=yes
    david@Patton:~$



    There's no mention of a wireless network or the ndiswrapper anywhere.
    I've typed that in before and there was always a third catagory for the wireless network after the ethernet one. I do not know what happened.

    It still mentions "b43" and ssb" and so on.


    ~Zar4

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    There's no mention of a wireless network or the ndiswrapper anywhere.
    I've typed that in before and there was always a third catagory for the wireless network after the ethernet one. I do not know what happened.

    It still mentions "b43" and ssb" and so on.
    Yes, b43 is still preventing ndiswrapper from claiming the card.

    Please reboot. Immediately after rebooting, run these commands:
    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
    And please post all of the output here. I was trying to avoid making you do that since I'm sure it's inconvenient, as you don't seem to have any Internet connection on Ubuntu right now, so I'm assuming that you have to copy and paste the text out to another computer in order to post it here. But please post all of that stuff so that we can figure out concretely what's going on. I'm sorry it's not working as well as it should, but thanks for staying positive.

  10. #20
    Join Date
    Mar 2008
    Location
    Milwaukee
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Comprehensive ndiswrapper troubleshooting guide

    THANK YOU!
    THANK YOU, THANK YOU!
    It worked like a charm.
    Thank you very much for going that extra bit to help me out with this. I sure the communuty would be very different if there weren't people willing to help.

    FYI, this was the printout from the terminal.

    david@Patton:~$ sudo rmmod b44
    [sudo] password for david:
    david@Patton:~$ sudo rmmod b43
    ERROR: Module b43 does not exist in /proc/modules
    david@Patton:~$ sudo rmmod b43legacy
    ERROR: Module b43legacy does not exist in /proc/modules
    david@Patton:~$ sudo rmmod ssb
    david@Patton:~$ sudo rmmod ndiswrapper
    david@Patton:~$ sudo modprobe ndiswrapper
    david@Patton:~$ sudo ifconfig wlan0 up
    wlan0: ERROR while getting interface flags: No such device
    david@Patton:~$ dmesg | grep -e wlan -e ndis
    [ 51.561921] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
    [ 51.673907] usbcore: registered new interface driver ndiswrapper
    [ 336.749100] usbcore: deregistering interface driver ndiswrapper
    [ 346.997018] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
    [ 347.098975] ndiswrapper (link_pe_images:576): fixing KI_USER_SHARED_DATA address in the driver
    [ 347.104622] ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
    [ 347.112975] ndiswrapper: using IRQ 17
    [ 347.478786] 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
    [ 347.478896] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
    [ 347.488045] ndiswrapper: changing interface name from 'wlan0' to 'eth1'
    [ 347.488562] udev: renamed network interface wlan0 to eth1
    [ 347.491222] usbcore: registered new interface driver ndiswrapper
    david@Patton:~$ iwlist scan
    lo Interface doesn't support scanning.

    eth1 Scan completed :
    Cell 01 - Address: 00:16:B6:F5:A9:7F
    ESSID:"linksys"
    Protocol:IEEE 802.11g
    Mode:Managed
    Frequency:2.412 GHz (Channel 1)
    Quality:45/100 Signal level:-67 dBm Noise level:-96 dBm
    Encryption keyff
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
    11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
    48 Mb/s; 54 Mb/s
    Extra:bcn_int=100
    Extra:atim=0
    Cell 02 - Address: 00:1C:10:39:07:4F
    ESSID:"Jerofkehome"
    Protocol:IEEE 802.11g
    Mode:Managed
    Frequency:2.462 GHz (Channel 11)
    Quality:3/100 Signal level:-94 dBm Noise level:-96 dBm
    Encryption keyn
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
    24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
    12 Mb/s; 48 Mb/s
    Extra:bcn_int=100
    Extra:atim=0
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (1) : TKIP
    Authentication Suites (1) : PSK

    david@Patton:~$


    Now I just need to get my sound working...
    ^_^;

    Thanks again.


    ~Zar4

Page 2 of 121 FirstFirst 12341252102 ... 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
  •