Page 10 of 121 FirstFirst ... 891011122060110 ... LastLast
Results 91 to 100 of 1210

Thread: Comprehensive ndiswrapper troubleshooting guide

  1. #91
    Join Date
    Feb 2007
    Beans
    127

    Re: Comprehensive ndiswrapper troubleshooting guide

    PS Is there be a command line entry to turn the wifi card on and off?

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    i'm on. i tried wicd and network settings and find wicd easier and faster.
    much thanks for your very very helpful and knowledgable service, pytheas22!!
    Glad to hear that!
    PS Is there be a command line entry to turn the wifi card on and off?
    If you remove the ndiswrapper module by typing:
    Code:
    sudo rmmod ndiswrapper
    the card should effectively turn off. To turn it back on, reinsert ndiswrapper:
    Code:
    sudo modprobe ndiswrapper

  3. #93
    Join Date
    Feb 2007
    Beans
    127

    Re: Comprehensive ndiswrapper troubleshooting guide

    Many thanks again. This allows me to move further to 100% linux.

  4. #94
    Join Date
    Oct 2008
    Beans
    5

    Re: Comprehensive ndiswrapper troubleshooting guide

    I have spent countless hours, trying to get wireless working with no luck.

    can some souls out here help me figure this out?
    I use 8.04. I have a HP dv6707us notbook. My wired network works.

    I have downloaded ndiswrapper-1.53.tar.gz and installed it fresh with no problem.
    I have also downloaded the net5211 driver for atheros AR242x.

    I can see the wireless connection when setting up network. but it does nto work. The LED for wireless is yellow (not blue. blue indicates working when i boot my notebook in vista).

    here is the output of lshw -C network:

    ------------------------
    $ lshw -C network
    WARNING: you should run this program as super-user.
    *-network
    description: Ethernet interface
    product: MCP67 Ethernet
    vendor: nVidia Corporation
    physical id: a
    bus info: pci@0000:00:0a.0
    logical name: eth0
    version: a2
    serial: 00:1e:68:07:7a:32
    width: 32 bits
    clock: 66MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=forcedeth driverversion=0.61 ip=192.168.1.5 latency=0 maxlatency=20 mingnt=1 module=forcedeth multicast=yes
    *-network
    description: Wireless interface
    product: AR242x 802.11abg Wireless PCI Express Adapter
    vendor: Atheros Communications Inc.
    physical id: 0
    bus info: pci@0000:03:00.0
    logical name: wlan0
    version: 01
    serial: 00:1f:3a:21:eb:f2
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=ndiswrapper+net5211 driverversion=1.52+,11/15/2006,5.1.1.9 latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g
    ----------------------------------


    Anyone can help?

    thank you,
    Dan

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    I have spent countless hours, trying to get wireless working with no luck.

    can some souls out here help me figure this out?
    I use 8.04. I have a HP dv6707us notbook. My wired network works.

    I have downloaded ndiswrapper-1.53.tar.gz and installed it fresh with no problem.
    I have also downloaded the net5211 driver for atheros AR242x.
    Dan,

    If the issue seems to be simply that you can see wireless networks but can't connect, there are two things to try. First, can you connect if you disable security on your network? Second, try connecting using wicd instead of Network Manager (you will have to uninstall NM to install wicd).

    If that doesn't help, please reboot your computer, try to connect a few times, then run the following commands and post the output here:
    Code:
    sudo iwlist scan
    iwconfig
    dmesg | grep -e ndis -e wlan -e net52
    uname -m
    ndiswrapper -l
    lspci -nn | grep -i atheros
    Also, have you tried multiple versions of the Windows drivers (if you've been able to find more than one version) but get the same behavior under each version?

    EDIT: also, I realized that your card should have native support using the madwifi drivers--meaning that ndiswrapper isn't necessary for you--but you need to compile the latest version of madwifi from source because the version that ships with Ubuntu Hardy is too old. There's a script that will easily do that for you available here. You may want to give that a try; it should work (remember that you'll need to remove 'ath_pci' from your /etc/modprobe.d/blacklist file first).
    Last edited by pytheas22; October 10th, 2008 at 05:26 PM.

  6. #96
    Join Date
    Oct 2008
    Beans
    5

    Re: Comprehensive ndiswrapper troubleshooting guide

    Thank you for your msg. I have blacklisted ath_pci.

    I have tried to disable the security and rebooted many times, in last a few days. Still no luck.

    Can I ask you a few specific questions?
    1. I have installed ndiswrapper-1.53. However, lshw -C network seems indicating i still use 1.52 version. is this right?

    also, lshw says 64bits for atheros driver. but i was advised by other posts in this forum to use 32bit driver (net5211). is this right?

    2. dmesg | grep -e ndis -e wlan: it has an odd line "closing hanle not implemented...". any idea?
    -------------
    dmesg | grep -e ndis -e wlan
    [ 42.314710] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
    [ 42.756755] ndiswrapper: driver net5211 (,11/15/2006,5.1.1.9) loaded
    [ 42.757440] ndiswrapper (ZwClose:2227): closing handle 0xf707d628 not implemented
    [ 43.169087] ndiswrapper: using IRQ 20
    [ 43.369142] wlan0: ethernet device 00:1f:3a:21:eb:f2 using serialized NDIS driver: net5211, version: 0x50001, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 168C:001C.5.conf
    [ 43.373393] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
    [ 43.373572] usbcore: registered new interface driver ndiswrapper
    [ 67.305079] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 145.638627] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 148.234270] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 152.724103] wlan0: no IPv6 routers present
    -----------------------

    3. sudo iwlist scan:
    -----------------------
    sudo iwlist scan
    [sudo] password for danguo:
    lo Interface doesn't support scanning.

    eth0 Interface doesn't support scanning.

    wlan0 Scan completed :
    Cell 01 - Address: 00:1E:2A:581:0C
    ESSID:"GDY48"
    Protocol:IEEE 802.11g
    Mode:Managed
    Frequency:2.412 GHz (Channel 1)
    Quality:100/100 Signal level:-23 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
    Cell 02 - Address: 00:18:01:EC:56:18
    ESSID:"9H462"
    Protocol:IEEE 802.11g
    Mode:Managed
    Frequency:2.437 GHz (Channel 6)
    Quality:9/100 Signal level:-90 dBm Noise level:-96 dBm
    Encryption keyn
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
    9 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

    ---------------------

    4. iwconfig:
    -----------
    iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    wlan0 IEEE 802.11g ESSIDff/any
    Mode:Managed Frequency:2.412 GHz Access Point: 00:1E:2A:581:0C
    Bit Rate=54 Mb/s
    Power Managementff
    Link Quality:100/100 Signal level:-19 dBm Noise level:-96 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    --------------

    5. uname -m
    -------
    uname -m
    i686
    -----------

    6. ndiswrapper -l
    net5211 : driver installed
    device (168C:001C) present (alternate driver: ath_pci)

    7. lspci -nn|grep -i atheros
    03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)


    Thank you very much. I really appreciate your help.

    -Dan

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

    Re: Comprehensive ndiswrapper troubleshooting guide

    For the record: duanyang's issue was resolved. He just needed to use wicd instead of Network Manager. He let me know via private message that the problem was fixed.

  8. #98
    Join Date
    Sep 2008
    Beans
    43

    Re: Comprehensive ndiswrapper troubleshooting guide

    Quote Originally Posted by pytheas22 View Post
    sagesparrow,

    It is possible that turning off the radio in XP causes it to remain disabled in Ubuntu. ndiswrapper should be able to turn the radio on, but in some cases Linux drivers have trouble doing that, and since we're dealing with ndiswrapper (which depends on closed-source Windows drivers), it's difficult to troubleshoot the problem. Maybe using a different version of the Windows driver would help, but maybe not. Your best bet may be to leave the radio enabled permanently. It will waste a bit of battery I suppose, but not that much really--and anyway if you just remove the ndiswrapper module in Ubuntu ('sudo rmmod ndiswrapper') when you don't need wireless, your card should not use any energy at all.

    The eth1:avahi interface gets created usually when you can't get a valid IP address for some reason and instead get assigned an internal one. Does the IP address for eth1:avahi look like 169.254.x.x 'lo' is an internal virtual interface (used to connect to 'localhost'); it's not relevant to this situation.

    I'm not sure why you're seeing different networks in Ubuntu than in Windows, but it could just be that differences in the signal strength are causing you to see different ones. Or the card could be operating on a different frequency (e.g. 11b vs. 11g mode).

    Let us know if you're actually able to connect to a network from Ubuntu once you have one with better signal strength. After all, that's the essential objective.



    edyeeh,

    Yes, you can write a script to do this. First, open up a blank file by typing:
    Code:
    sudo gedit /etc/init.d/wifi-fix.sh
    Add to the files these lines:
    Code:
    #!/bin/bash
    
    rmmod ndiswrapper
    ndiswrapper -r net5211
    ndiswrapper -i /path/to/net5211.inf
    modprobe ndiswrapper
    ifconfig wlan0 up
    Be sure to replace '/path/to/net5211.inf' with the correct location of the net5211.inf file on your system (and also make sure that the .sys file is in that same folder). For example, if net5211.inf is on your desktop, you should write 'ndiswrapper -i /home/<username>/Desktop/net5211.inf'

    Once you've filled in the script, save and close the file, then run these commands so that it will be run at boot:
    Code:
    cd /etc/init.d
    sudo -s
    chmod +x wifi-fix.sh
    update-rc.d wifi-fix.sh
    That should cause the Windows driver to be reinstalled automatically each time you boot, which will hopefully solve the problem. If it doesn't, let me know.
    Thanks so much! I will add this with wicd which I have installed.

  9. #99
    Join Date
    Jun 2006
    Beans
    14

    Re: Comprehensive ndiswrapper troubleshooting guide

    Thank you thank you thank you.

    My WUSB54G v4 quit working 2 days ago, this is the same adapter I've used on multiple installs of Dapper/Edgy/etc over years. I still am not sure what happened, but the final thing that fixed it was compiling from source, reinstalling the Windows driver and rebooting.

    Great guide, thanks.

  10. #100
    Join Date
    Mar 2008
    Location
    grand rapids, mi.
    Beans
    328
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Comprehensive ndiswrapper troubleshooting guide

    im about to use this method to see if i can get my atheros 5007 card to work "fully" ? if i load a xp driver for it why the heck won't the led and switch work too ? makes no sense to me at all, it works in xp and vista. the led and switch itself are part of the wifi card so the driver should enable them both. this seems to be an ongoing issue with several types of laptops and it needs to be resolved.
    When life tosses you lemons.... Throw them at stupid people !!!!

Page 10 of 121 FirstFirst ... 891011122060110 ... 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
  •