Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
I recently installed the ndiswrapper utility to use my Windows wireless driver. The program asks for the .inf driver file. The driver listed in device manager is athr.sys which the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    18

    Atheros AR5B91 Wireless Config


    I recently installed the ndiswrapper utility to use my Windows wireless
    driver. The program asks for the .inf driver file. The driver listed in device
    manager is athr.sys which the utility will not accept as valid. I have searched
    the whole drive and can find nothing. Any ideas ???
    Last edited by waterhead; 08-07-2009 at 11:41 PM.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Most atheros cards are well supported by linux. You shouldn't need to use ndiswrapper at all.

    Please read this thread and post the requested info so we can confirm the chipset and find out what drivers are loading.

    I think you need either the ath5k or ath9k module.

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    18

    Requested Data

    Atheros AR5B91 wireless adaper info. lsmod.txt

    lspci.txt

    uname.txt

  4. #4
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    NDISwrapper is good for wireless cards with no Linux drivers. There is no need to use it, because your wireless uses the Linux driver ath9k:

    Linux Kernel Driver Database: CONFIG_ATH9K: Atheros 802.11n wireless cards support

    This driver is available in kernels 2.6.27 and newer. Since you have a 2.6.24 kernel, you will have to manually install the driver. A wired internet connection is needed to do this. It is part of the compat-wireless package, which contains many Linux wireless drivers.

    First, you need to install a few things.
    Code:
    sudo apt-get install linux-source linux-headers build-essential
    Then you need to download the driver source. Go to this site, and click the link to download the compat-wireless-old package.

    compat-wireless-old - Linux Wireless

    Download it to your home folder (not your Desktop), then you can unpack it by opening a terminal and entering this command.
    Code:
    tar jxvf compat-wireless-old.tar.bz2
    This creates a folder named compat-wireless-2.6-old. Direct the terminal to that folder with this command.
    Code:
    cd compat-wireless-2.6-old
    You then build the driver modules with this command.
    Code:
    make
    This may take a little while, as there are quite a few modules to build. When it is done, you install the modules with this command. You need root permissions, so the sudo prefix is used.
    Code:
    sudo make install
    Give your password, and it will install all of the modules. When done, run this command.
    Code:
    sudo make unload
    Now reboot the system. It may take the system a bit before it realizes it now has a driver for the wireless. You may even want to reboot a second time. I recommend also removing NDISwrapper, as it can only interfere with the Linux driver. If you are have trouble with the new Linux driver, remove NDISwrapper and reboot.
    Please do not send Private Messages to me with requests for help. I will not reply.

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    18

    ar5b91 saga

    Great instructions. I got all the way to "sudo make install" in the
    the terminal and it would not input my sudo password. Cursor
    just blinks but will not accept keystrokes.
    Ideas?

  6. #6
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    When you use sudo, it asks for your password. When you enter the password, it remains hidden (security feature?). Just hit the Enter key after you have typed in the password.
    Please do not send Private Messages to me with requests for help. I will not reply.

  7. #7
    Just Joined!
    Join Date
    Aug 2009
    Posts
    18
    Got the sudo make install command to work. Have rebooted several times
    and system still doesn't seem to recognize the driver. The network app
    shows wired connection but nothing for wireless.

  8. #8
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Is the ath9k module loading? Post the output of these commands.
    Code:
    lsmod
    Code:
    ifconfig
    Code:
    iwconfig
    Please do not send Private Messages to me with requests for help. I will not reply.

  9. #9
    Just Joined!
    Join Date
    Aug 2009
    Posts
    18

    ar5b91

    ifconfig.txt

    lsmod.txt

    iwconfig wouldn't attach - stated no extensions
    also, i removed ndis before make file

  10. #10
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    I still see NDISwrapper loading. Try manually removing the ndiswrapper module, and loading the ath9k module.
    Code:
    sudo modprobe -r ndiswrapper
    Code:
    sudo modprobe ath9k
    See if iwconfig will now list a wireless interface.
    Please do not send Private Messages to me with requests for help. I will not reply.

Page 1 of 2 1 2 LastLast

Posting Permissions

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