Results 1 to 10 of 16

Thread: Wireless network card drivers installed with ndiswrapper, but wont connect?

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Beans
    Hidden!

    Wireless network card drivers installed with ndiswrapper, but wont connect?

    Hello all,

    When I initially installed Ubuntu a few days ago, I eventually managed to connect to my wireless network for internet access with little problems, using the drivers that came with the distro.


    After that, I went about the task of installing my video drivers. After much installing and uninstalling of various restricted drivers and offical NVIDIA drivers, I managed to get it working following the instructions from this thread. After rebooting and finding the drivers working (and my desktop in a nice resolution for once ;p) I noticed that I could no longer connect to the internet. I did lshc -C network or whatever it is, and found my wireless card was now unclaimed, with no drivers.

    There was nothing in the restricted drivers list, so I was forced to use ndiswrapper to install the windows drivers for my card. ndiswrapper -l shows "drivers installed, device present", and the network probe command shows my card with the drivers installed.

    However, my distro still refuses to connect to the network and internet. I have tried using both admin --> network and iwconfig to insert the info needed, but still nothing: sudo dhclient wlan0 does not show my card responding, as it did before.


    This is very frustrating after how easy it was to get it working in the first place. Is there anybody who could lend me a helping hand?

    Thanks

    (I am using a Texas Instruments U.S. Robotics 22Mpbs Wireless PCI card)

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

    Re: Wireless network card drivers installed with ndiswrapper, but wont connect?

    If the card worked initially, there's no reason it shouldn't still be working; graphics drivers shouldn't have anything to do with it. I suspect that the "restricted drivers" utility just made some mistake; quite possibly it removed the firmware for your wireless card.

    Instead of trying to troubleshoot ndiswrapper, I'd advise you to try to get the card working again with the native Linux driver. Please post the output of these commands so that we'll have a better idea of what to do:
    Code:
    lspci
    iwconfig
    cat /etc/modprobe.d/options

  3. #3
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: Wireless network card drivers installed with ndiswrapper, but wont connect?

    Hi there, thanks much for lending a hand


    lspci:

    Code:
    00:00.0 Host bridge: ATI Technologies Inc Radeon 9100 IGP Host Bridge
    00:01.0 PCI bridge: ATI Technologies Inc Radeon 9100 IGP PCI/AGP Bridge
    00:13.0 USB Controller: ATI Technologies Inc Unknown device 4367 (rev 01)
    00:13.1 USB Controller: ATI Technologies Inc Unknown device 4368 (rev 01)
    00:13.2 USB Controller: ATI Technologies Inc Unknown device 4365 (rev 01)
    00:14.0 SMBus: ATI Technologies Inc SMBus (rev 03)
    00:14.1 IDE interface: ATI Technologies Inc Unknown device 4369 (rev 01)
    00:14.2 RAID bus controller: ATI Technologies Inc 436E Serial ATA Controller (rev 01)
    00:14.3 ISA bridge: ATI Technologies Inc Unknown device 436c (rev 01)
    00:14.4 PCI bridge: ATI Technologies Inc Unknown device 4362 (rev 01)
    00:14.5 Multimedia audio controller: ATI Technologies Inc Unknown device 4361 (rev 03)
    01:05.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)
    02:07.0 Multimedia audio controller: Creative Labs SB Audigy LS
    02:0a.0 Network controller: Texas Instruments ACX 100 22Mbps Wireless Interface
    02:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    02:0c.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)

    iwconfig;

    Code:
    wlan0     IEEE 802.11b  ESSID:"BTHomeHub-8937"  
              Mode:Managed  Channel:0  Access Point: Not-Associated   
              Bit Rate:11 Mb/s   Tx-Power:0 dBm   Sensitivity=1/3  
              RTS thr=2432 B   Fragment thr=2346 B   
              Power Management:off
              Link Quality:43/100  Signal level:-68 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


    cat /etc/modprobe.d/options

    Code:
    # Enable double-buffering so gstreamer et. al. work
    options quickcam compatible=2
    
    # Default hostap to managed mode
    options hostap_pci iw_mode=2
    options hostap_cs iw_mode=2

    All of the info for iwconfig seems to be in order - the router mode is Managed and channel 0.... it just refuses to associate, as you can see.


    It certainly seems to be a driver issue.

    I look forward to your next response, thankyou

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

    Re: Wireless network card drivers installed with ndiswrapper, but wont connect?

    Thanks for the information. I'm going to ask for a little more, however. Please run these commands:
    Code:
    sudo -s
    echo 'blacklist ndiswrapper' >> /etc/modprobe.d/blacklist
    exit
    And then post the output of these commands:
    Code:
    iwconfig
    ls /lib/firmware/$(uname -r)/acx/1.0.9
    iwlist wlan0 scan
    cat /etc/modprobe.d/blacklist
    Also, the card definitely worked when you first installed Ubuntu, right? i.e. you were able to connect to networks and load web pages?

  5. #5
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: Wireless network card drivers installed with ndiswrapper, but wont connect?

    Yes, the card worked without much effort, allowing me to browse the internet with the firefox client.

    It's important to note that initially I had some difficulty, as network manager would keep locking up the entire OS whenever I attempted to connect (A problem other users experienced), and so I had to enter the details through the terminal with iwconfig. I initiated the connection by making the card get an ip from the DHCP configuration with "sudo dhclient wlan0", which usually sends the packet and immediately receives the sufficient data, allowing me to browse the web, download packages through the terminal etc.


    However, as I stated, when I installed the graphics card drivers, the card then had no drivers for some reason, forcing me to use ndiswrapper.

    Anyway, I typed in the commands as you requested, and here are the outputs from the second lot of commands you asked for:

    iwconfig

    Code:
    wlan0     IEEE 802.11b  ESSID:"BTHomeHub-8937"  
              Mode:Managed  Channel:0  Access Point: Not-Associated   
              Bit Rate:11 Mb/s   Tx-Power:0 dBm   Sensitivity=1/3  
              RTS thr=2432 B   Fragment thr=2346 B   
              Power Management:off
              Link Quality:45/100  Signal level:-67 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


    ls /lib/firmware/2.6.24-18-generic/acx/1.0.9

    Code:
    ls: cannot access /lib/firmware/2.6.24-18-generic/acx/1.0.9: No such file or directory

    iwlist wlan0 scan

    Code:
    wlan0     Scan completed :
              Cell 01 - Address: 00:14:7F:38:4D:3E
                        ESSID:"BTHomeHub-8937"
                        Protocol:IEEE 802.11FH
                        Mode:Managed
                        Channel:0
                        Quality:100  Signal level:0  Noise level:160
                        Encryption key:on
                        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
                        Extra:bcn_int=0
                        Extra:atim=0
              Cell 02 - Address: 02:14:7F:38:4D:3F
                        ESSID:"BTOpenzone"
                        Protocol:IEEE 802.11FH
                        Mode:Managed
                        Channel:0
                        Quality:100  Signal level:0  Noise level:160
                        Encryption key:off
                        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
                        Extra:bcn_int=0
                        Extra:atim=0

    cat /etc/modprobe.d/blacklist

    Code:
    cat /etc/modprobe.d/blacklist
    
    # This file lists those modules which we don't want to be loaded by
    # alias expansion, usually so some other driver will be loaded for the
    # device instead.
    
    # evbug is a debug tool that should be loaded explicitly
    blacklist evbug
    
    # these drivers are very simple, the HID drivers are usually preferred
    blacklist usbmouse
    blacklist usbkbd
    
    # replaced by e100
    blacklist eepro100
    
    # replaced by tulip
    blacklist de4x5
    
    # causes no end of confusion by creating unexpected network interfaces
    blacklist eth1394
    
    # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
    # hardware on its own (Ubuntu bug #2011, #6810)
    blacklist snd_intel8x0m
    
    # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
    blacklist i2c_i801
    
    # replaced by p54pci
    blacklist prism54
    
    # replaced by b43 and ssb.
    blacklist bcm43xx
    
    # most apps now use garmin usb driver directly (Ubuntu: #114565)
    blacklist garmin_gps
    
    # replaced by asus-laptop (Ubuntu: #184721)
    blacklist asus_acpi
    
    blacklist ndiswrapper

    Please say if I entered the incorrect firmware directory; although, I did poke about /lib/firmware/ and could not find any sort of acx file or folder myself, though it was just a brief scan.

    Also, I am not sure what exactly BTOpenZone is - a neighbour's network perhaps - I have attempted to connect to that, but again it yielded no success.


    Sorry for the late response, it was getting late over here and I decided to call it a night

    Thankyou very much for your help, I look forward to your next response!

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

    Re: Wireless network card drivers installed with ndiswrapper, but wont connect?

    Thanks again for the information. The potential source of your problem is that your card is in 11b mode, which would explain why it's not seeing your home network, which is probably on 11g mode (almost all are these days; you can access your router's configuration page to check). Try running:
    Code:
    sudo iwpriv wlan0 mode 11g
    and then check the output of "iwconfig" again. You want the first line to start with "wlan0 IEEE 802.11g ..." not "wlan0 IEEE 802.11b." Hopefully changing the mode will be as simple as using the command above; different kinds of cards require different procedures, however, so I'm not sure. If it doesn't work for your acx chipset, we can figure out what does.

    A second problem is that you don't seem to have the firmware where it should be. To see if it exists at all, please post the output of:
    Code:
    ls -R /lib/firmware/$(uname -r)
    I have the acx firmware on my machine, which has never come close to a wireless card with an acx chipset, so apparently the acx firmware should come by default with every Ubuntu system. If yours got lost somehow, that would explain a lot, but so would the 11b mode issue. Once we deal with both of these things, you should be all set.

    Also, you're running Ubuntu 8.04 (Hardy Heron), right?
    Last edited by pytheas22; June 7th, 2008 at 05:26 PM.

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
  •