Page 12 of 121 FirstFirst ... 210111213142262112 ... LastLast
Results 111 to 120 of 1210

Thread: Comprehensive ndiswrapper troubleshooting guide

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    Hmmm -- just wondering how this particular sticky survived when all the others died! I would vote for a conspiracy
    If there was a conspiracy, I'm afraid I wasn't party to it

  2. #112
    Join Date
    Dec 2005
    Beans
    63

    Re: Can't get ndiswrapper installed....

    From distro, i get this......

    cbrown@cbrown-laptop:~$ sudo apt-get install ndiswrapper*
    ...snip...
    Setting up ndiswrapper-common (1.52-1ubuntu1) ...
    Setting up ndiswrapper-utils-1.9 (1.52-1ubuntu1) ...
    cbrown@cbrown-laptop:~$ sudo modprobe ndiswrapper
    FATAL: Module ndiswrapper not found.


    From source, I get this;

    ndiswrapper-1.53$ sudo apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.

    ndiswrapper-1.53$ sudo make install
    make -C driver install
    make[1]: Entering directory `/home/cbrown/MyDocuments/MyDownloads/ndiswrapper-1.53/driver'
    make -C /usr/src/linux-headers-2.6.25-2-386 M=/home/cbrown/MyDocuments/MyDownloads/ndiswrapper-1.53/driver
    make[2]: Entering directory `/usr/src/linux-headers-2.6.25-2-386'
    make[2]: Makefile: No such file or directory
    make[2]: *** No rule to make target `Makefile'. Stop.
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.25-2-386'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/home/cbrown/MyDocuments/MyDownloads/ndiswrapper-1.53/driver'
    make: *** [install] Error 2


    Any ideas on either one?

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    cnkbrown: the 'module not found' message after you installed ndiswrapper from the repositories is weird. Maybe something strange happened with the package manager and it installed the module for the wrong kernel. What is the output of:
    Code:
    locate ndiswrapper
    You could also try installing it again, but updating your sources list first:
    Code:
    sudo apt-get update
    sudo apt-get remove --purge ndiswrapper*
    sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
    As for the failure to compile by source, did you type 'make' before you typed 'sudo make install'? 'make' needs to come first, because that's the command that actually compile the modules; 'make install' just copies them to the system directories where they need to live.

  4. #114
    Join Date
    Dec 2005
    Beans
    63

    Re: Comprehensive ndiswrapper troubleshooting guide

    Here is output from locate after apt-gets. I would have expected something in /lib/modules/.... maybe?

    /etc/ndiswrapper
    /usr/sbin/ndiswrapper
    /usr/sbin/ndiswrapper-1.9
    /usr/share/doc/ndiswrapper-common
    /usr/share/doc/ndiswrapper-utils-1.9
    /usr/share/doc/ndiswrapper-common/NEWS.Debian.gz
    /usr/share/doc/ndiswrapper-common/README.Debian
    /usr/share/doc/ndiswrapper-common/changelog.Debian.gz
    /usr/share/doc/ndiswrapper-common/changelog.gz
    /usr/share/doc/ndiswrapper-common/copyright
    /usr/share/doc/ndiswrapper-utils-1.9/NEWS.Debian.gz
    /usr/share/doc/ndiswrapper-utils-1.9/changelog.Debian.gz
    /usr/share/doc/ndiswrapper-utils-1.9/changelog.gz
    /usr/share/doc/ndiswrapper-utils-1.9/copyright
    /usr/share/man/man8/ndiswrapper-1.9.8.gz
    /usr/share/man/man8/ndiswrapper.8.gz
    /var/cache/apt/archives/ndiswrapper-common_1.52-1ubuntu1_all.deb
    /var/cache/apt/archives/ndiswrapper-utils-1.9_1.52-1ubuntu1_i386.deb
    /var/lib/dpkg/info/ndiswrapper-common.list
    /var/lib/dpkg/info/ndiswrapper-common.md5sums
    /var/lib/dpkg/info/ndiswrapper-utils-1.9.list
    /var/lib/dpkg/info/ndiswrapper-utils-1.9.md5sums

  5. #115
    Join Date
    Dec 2005
    Beans
    63

    Re: Comprehensive ndiswrapper troubleshooting guide

    I did a search of ubuntu packages for ndiswrapper.ko, and it came back with linux-image-2.6.27-7. which seem to be 64 bit kernels. uname -r on my box says; 2.6.25-2-386. Not sure what to think of that.

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    Yeah, it looks like the ndiswrapper module doesn't exist anywhere on your system, although it's not clear why. I've seen problems like this before and was never able to solve them without reinstalling Ubuntu. So if possible, the easiest thing for you to do may be to wipe your system and do a fresh install.

    If you can't or don't want to reinstall Ubuntu, I would try compiling from source again (grab a fresh copy of the source code from ndiswrapper's site so that it won't be tainted by any half-baked build that you attempted with your previous code). If the compilation fails, please post the total command line output for the whole process.

    Also, you're on 8.10, right? If you post the output of the following commands (with your card plugged in), maybe we can come up with an alternative way to get your card going, without using ndiswrapper:
    Code:
    uname -m
    lspci -nn
    lsusb

  7. #117
    Join Date
    Dec 2005
    Beans
    63

    Re: Comprehensive ndiswrapper troubleshooting guide

    here's output from the commands you suggested. I'll try a buidl from source, and post results on that separately.

    cbrown@cbrown-laptop:~$ uname -m
    i686
    cbrown@cbrown-laptop:~$ lspci -nn
    00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 03)
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 03)
    00:02.1 Display controller [0380]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2792] (rev 03)
    00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 03)
    00:1d.0 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 [8086:2658] (rev 03)
    00:1d.1 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 [8086:2659] (rev 03)
    00:1d.2 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 [8086:265a] (rev 03)
    00:1d.3 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 [8086:265b] (rev 03)
    00:1d.7 USB Controller [0c03]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller [8086:265c] (rev 03)
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev d3)
    00:1e.2 Multimedia audio controller [0401]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller [8086:266e] (rev 03)
    00:1e.3 Modem [0703]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller [8086:266d] (rev 03)
    00:1f.0 ISA bridge [0601]: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge [8086:2641] (rev 03)
    00:1f.2 IDE interface [0101]: Intel Corporation 82801FBM (ICH6M) SATA Controller [8086:2653] (rev 03)
    00:1f.3 SMBus [0c05]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller [8086:266a] (rev 03)
    02:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express [14e4:1677] (rev 01)
    03:01.0 CardBus bridge [0607]: Texas Instruments PCI6515 Cardbus Controller [104c:8036]
    03:01.5 Communication controller [0780]: Texas Instruments PCI6515 SmartCard Controller [104c:8038]
    03:03.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
    cbrown@cbrown-laptop:~$ lsusb
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  8. #118
    Join Date
    Dec 2005
    Beans
    63

    Re: Comprehensive ndiswrapper troubleshooting guide

    OK - when I try a build from source, it has trouble with the kernel headers (which I've re-installed), as follows;

    cbrown@cbrown-laptop:~/MyDocuments/MyDownloads/ndiswrapper-1.53$ locate ndiswrapper | grep -v cbrown
    cbrown@cbrown-laptop:~/MyDocuments/MyDownloads/ndiswrapper-1.53$
    cbrown@cbrown-laptop:~/MyDocuments/MyDownloads/ndiswrapper-1.53$ make
    make -C driver
    make[1]: Entering directory `/home/cbrown/MyDocuments/MyDownloads/ndiswrapper-1.53/driver'
    make -C /usr/src/linux-headers-2.6.25-2-386 M=/home/cbrown/MyDocuments/MyDownloads/ndiswrapper-1.53/driver
    make[2]: Entering directory `/usr/src/linux-headers-2.6.25-2-386'
    make[2]: Makefile: No such file or directory
    make[2]: *** No rule to make target `Makefile'. Stop.
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.25-2-386'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/home/cbrown/MyDocuments/MyDownloads/ndiswrapper-1.53/driver'
    make: *** [all] Error 2
    cbrown@cbrown-laptop:~/MyDocuments/MyDownloads/ndiswrapper-1.53$ ls /usr/src/linux-headers-2.6.25-2-386/Makefile
    /usr/src/linux-headers-2.6.25-2-386/Makefile
    cbrown@cbrown-laptop:~/MyDocuments/MyDownloads/ndiswrapper-1.53$ ls -l !$
    ls -l /usr/src/linux-headers-2.6.25-2-386/Makefile
    lrwxrwxrwx 1 root root 34 2008-10-31 01:46 /usr/src/linux-headers-2.6.25-2-386/Makefile -> ../linux-headers-2.6.25-2/Makefile
    cbrown@cbrown-laptop:~/MyDocuments/MyDownloads/ndiswrapper-1.53$ ls -l /usr/src/linux-headers-2.6.25-2/Makefile
    ls: cannot access /usr/src/linux-headers-2.6.25-2/Makefile: No such file or directory

    Seems like the install of the headers isn't providing a complete package.

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    cnkbrown: you have a Broadcom-based wireless card (PCI ID 14e4:4318 ), which shouldn't really require ndiswrapper, since there are good native Linux drivers for Broadcom chips. Your card should actually have worked out-of-the-box; did you go to System>Administration>Hardware Drivers to enable it? If you did and it still doesn't work, what is the output of:
    Code:
    lshw -C Network
    dmesg | grep -e wlan -e b43 -e bcm
    And are you using Ubuntu 8.10 or 8.04?

    We can still try to deal with ndiswrapper if you want to go that route, but really I think that using the native driver is a lot better, as it has more features, better support, etc.

  10. #120
    Join Date
    Dec 2005
    Beans
    63

    Re: Comprehensive ndiswrapper troubleshooting guide

    native sounds good. Upgraded 8.04 to 8.10 the other day - all worked fine before then.

    System>Administration>Hardware Drivers says "No Proprietary Drivers are in use on this system".

    output of the commands you suggest is;

    cbrown@cbrown-laptop:~$ sudo lshw -C Network
    *-network
    description: Ethernet interface
    product: NetXtreme BCM5751 Gigabit Ethernet PCI Express
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:02:00.0
    logical name: eth0
    version: 01
    serial: 00:12:3f:f3:bf:98
    size: 100MB/s
    capacity: 1GB/s
    width: 64 bits
    clock: 33MHz
    capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.91 duplex=full firmware=5751-v3.29a ip=172.17.3.128 latency=0 link=yes module=tg3 multicast=yes port=twisted pair speed=100MB/s
    *-network UNCLAIMED
    description: Network controller
    product: BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
    vendor: Broadcom Corporation
    physical id: 3
    bus info: pci@0000:03:03.0
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: bus_master
    configuration: latency=64
    *-network DISABLED
    description: Ethernet interface
    physical id: 3
    logical name: pan0
    serial: 72:79:13:39:10:1b
    capabilities: ethernet physical
    configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
    cbrown@cbrown-laptop:~$ dmesg | grep -e wlan -e b43 -e bcm
    cbrown@cbrown-laptop:~$

    sudo modprobe b43
    cbrown@cbrown-laptop:~$ dmesg | grep -e wlan -e b43 -e bcm
    [ 2387.617147] b43-phy0: Broadcom 4318 WLAN found
    [ 2387.685383] b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7
    [ 2387.685406] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 8
    [ 2387.850109] udev: renamed network interface wlan0 to eth1
    [ 2391.910768] input: b43-phy0 as /class/input/input12
    [ 2392.216661] b43-phy0: Loading firmware version 351.126 (2006-07-29 05:54:02)
    [ 2392.216669] b43-phy0 warning: You are using an old firmware image. Support for old firmware will be removed in July 2008.
    [ 2392.216672] b43-phy0 warning: You must go to http://linuxwireless.org/en/users/Dr...devicefirmware and download the latest firmware (version 4).
    [ 2393.262712] b43-phy0 debug: Chip initialized
    [ 2393.263304] b43-phy0 debug: 32-bit DMA initialized
    [ 2393.282692] Registered led device: b43-phy0::tx
    [ 2393.283111] Registered led device: b43-phy0::rx
    [ 2393.283498] Registered led device: b43-phy0::radio
    [ 2393.283534] b43-phy0 debug: Wireless interface started
    [ 2393.337068] b43-phy0 debug: Adding Interface type 2
    cbrown@cbrown-laptop:~$

    need to make that permanent
    Last edited by cnkbrown; November 5th, 2008 at 09:33 PM.

Page 12 of 121 FirstFirst ... 210111213142262112 ... 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
  •