Results 1 to 10 of 29

Thread: Atheros ar9285 Driver

Hybrid View

  1. #1
    Member mixit's Avatar
    Join Date
    Jan 2010
    Posts
    104

    Default Atheros ar9285 Driver

    I'm trying to get wireless capabilities going on my new laptop in backtrack and I'm having some problems. I have googled around a bit and I ended up installing the ath9k drivers. I successfully installed it and recompiled the kernel with the Ath9k module. I can verify this was successfuly by producing no errors with the command: modprobe ath9k.

    When I do iwconfig however, I still see no wireless device. Does anyone have any information on how to get my wireless card working in backtrack? I used this tutorial to install this:

    How to install the development version of atk9k - ThinkWiki

    Thanks in advance for any helpful info. I'd really like to get my wireless up and running

    EDIT***

    ***I actually have the AR9287 wireless card. Could one of the mods change the title of this post to reflect that? Thank you.***



    PROBLEM SOLVED:

    Turns out it wasn't that difficult. Just needed the newer compat wireless driver from here

    http://www.orbit-lab.org/kernel/comp...2.6.33.tar.bz2

    Then, follow the instructions of dusty boner. I skipped the make unload step because I forgot and my internet was working. Didn't want to mess with it anymore. Anyways, here are the commands I used:

    Code:
    tar -xf /root/compat-wireless-2.6.33.tar.bz2
    cd compat-wireless-2.6.33
    make
    make install
    shutdown now -r
    Once rebooted
    Code:
    start-network
    Then, Wicd Manager=>Preferences=>Wireless Interface: wlan0

    Refresh and you should see some wireless networks. Hope this works for everyone else.
    Last edited by mixit; 03-30-2010 at 09:05 AM.

  2. #2
    Member dustyboner's Avatar
    Join Date
    Jan 2010
    Posts
    98

    Default Re: Atheros ar9285 Driver

    Download compat-wireless-2.6.32.3.tar.bz2

    Open a terminal and run:
    Code:
    tar -xf /root/compat-wireless-2.6.32.3.tar.bz2
    cd compat-wireless-2.6.32.3
    make
    make install
    make unload
    reboot
    *If you get a "No such file or directory" error when you run make, run this command:
    Code:
    ln -s /usr/src/linux /lib/modules/2.6.30.9/build

  3. #3
    Member mixit's Avatar
    Join Date
    Jan 2010
    Posts
    104

    Default Re: Atheros ar9285 Driver

    Thanks for the advice, but no success. I installed that no problem and still no wireless devices found with iwconfig. If I run lspci | grep Atheros, it finds the hardware at least. Also, I realized that my card is an ar9287. Probably the same set of drivers, but I thought I would mention it. Does anyone else have any ideas on how to get my wireless up and running?

  4. #4
    Member dustyboner's Avatar
    Join Date
    Jan 2010
    Posts
    98

    Default Re: Atheros ar9285 Driver

    try
    Code:
    ~# /root/compat-wireless-2.6.32.3/scripts/athenable

  5. #5
    Member mixit's Avatar
    Join Date
    Jan 2010
    Posts
    104

    Default Re: Atheros ar9285 Driver

    Thanks for the response, but iwconfig still shows no wireless devices. Here was the output of that command:

    Code:
    Module ath_pci not detected -- this is fine
    That was the full extent of the response. I'm not sure if there's a way to make it more verbose.


    **EDIT

    Here is the portion of the dmesg log that seem to be of relevance...duh

    Code:
    11 21:41:46 PST 2010
    cfg80211: Calling CRDA to update world regulatory domain
    input: ImPS/2 Generic Wheel Mouse as /class/input/input7
    ath9k 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    ath9k 0000:02:00.0: setting latency timer to 64
    cfg80211: World regulatory domain updated:
    ath: EEPROM regdomain: 0x65
    ath: EEPROM indicates we should expect a direct regpair map
    ath: Country alpha2 being used: 00
    ath: Regpair used: 0x65
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    HDA Intel 0000:00:1b.0: setting latency timer to 64
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
        (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
        (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
        (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    ath9k 0000:02:00.0: Failed to initialize device
    ath9k 0000:02:00.0: PCI INT A disabled
    ath9k: probe of 0000:02:00.0 failed with error -17
    lp: driver loaded but no devices found
    I also tried using insmod to insert the ath_pci.ko module myself, but to no avail. Here was dmesg from that attempt.


    Code:
    ath_pci: Unknown symbol ieee80211_check_mic
    ath_pci: Unknown symbol ieee80211_encap
    ath_pci: Unknown symbol ieee80211_input
    ath_pci: Unknown symbol ieee80211_ifattach
    ath_pci: Unknown symbol _ath_hal_attach
    ath_pci: Unknown symbol ieee80211_beacon_update
    ath_pci: Unknown symbol ath_hal_process_noisefloor
    ath_pci: Unknown symbol ieee80211_find_rxnode
    ath_pci: Unknown symbol ieee80211_skb_track
    ath_pci: Unknown symbol ieee80211_dev_kfree_skb_list
    ath_pci: Unknown symbol ieee80211_ref_node
    ath_pci: Unknown symbol ieee80211_vap_setup
    ath_pci: Unknown symbol ieee80211_ifdetach
    ath_pci: Unknown symbol ieee80211_input_monitor
    ath_pci: Unknown symbol ieee80211_dev_kfree_skb
    ath_pci: Unknown symbol ieee80211_unref_node
    ath_pci: Unknown symbol ath_hal_computetxtime
    ath_pci: Unknown symbol ieee80211_crypto_newkey
    ath_pci: Unknown symbol ieee80211_crypto_setkey
    ath_pci: Unknown symbol ieee80211_dump_pkt
    ath_pci: Unknown symbol ieee80211_ioctl_create_vap
    ath_pci: Unknown symbol ieee80211_dev_alloc_skb
    ath_pci: Unknown symbol ath_hal_mhz2ieee
    ath_pci: Unknown symbol ieee80211_stop_running
    ath_pci: Unknown symbol ieee80211_cipher_none
    ath_pci: Unknown symbol _ath_hal_detach
    ath_pci: Unknown symbol ieee80211_crypto_delkey
    ath_pci: Unknown symbol ath_debug_global
    ath_pci: Unknown symbol ieee80211_skb_untrack
    ath_pci: Unknown symbol ieee80211_media_change
    ath_pci: Unknown symbol ieee80211_beacon_miss
    ath_pci: Unknown symbol ieee80211_beacon_alloc
    ath_pci: Unknown symbol ieee80211_iterate_nodes
    ath_pci: Unknown symbol ieee80211_vap_attach
    ath_pci: Unknown symbol ieee80211_wme_updateparams
    ath_pci: Unknown symbol ieee80211_ibss_merge
    ath_pci: Unknown symbol ieee80211_mhz2ieee
    ath_pci: Unknown symbol ath_hal_probe
    ath_pci: Unknown symbol ieee80211_rate_attach
    ath_pci: Unknown symbol ath_hal_print_decoded_register
    ath_pci: Unknown symbol ieee80211_rate_detach
    ath_pci: Unknown symbol ieee80211_send_qosnulldata
    ath_pci: Unknown symbol ieee80211_create_vap
    ath_pci: Unknown symbol ieee80211_wme_acnames
    ath_pci: Unknown symbol ieee80211_input_all
    ath_pci: Unknown symbol ieee80211_media_status
    ath_pci: Unknown symbol ieee80211_start_running
    ath_pci: Unknown symbol ieee80211_vap_detach
    ath_pci: Unknown symbol ieee80211_announce
    ath_pci: Unknown symbol ieee80211_mark_dfs
    ath_pci: Unknown symbol ieee80211_chan2ieee
    ath_pci: Unknown symbol ieee80211_state_name
    ath_pci: Unknown symbol ath_hal_init_channels
    ath_pci: Unknown symbol ieee80211_dturbo_switch
    ath_pci: Unknown symbol ieee80211_crypto_encap
    ath_pci: Unknown symbol ieee80211_chan2mode
    ath_pci: Unknown symbol ieee80211_getrssi
    ath_pci: Unknown symbol ieee80211_find_txnode
    ath_pci: Unknown symbol ieee80211_cancel_scan
    ath_pci: Unknown symbol ath_hal_getwirelessmodes
    ath_pci: version magic '2.6.30.5 SMP mod_unload 686 ' should be '2.6.30.9 SMP mod_unload 686 '

    So it looks like the ath9k kernel module isnt recognizing the device and I'm unable to insert the ath_pci module due to an unknown symbol error. Not sure where to go from here...
    Last edited by mixit; 03-29-2010 at 11:08 AM.

  6. #6
    Member dustyboner's Avatar
    Join Date
    Jan 2010
    Posts
    98

    Default Re: Atheros ar9285 Driver

    You did install compat-wireless-2.6.32.3, right? or did you install a newer version. If you installed a newer version, its the reason your getting:
    Code:
    ath9k 0000:02:00.0: Failed to initialize device
    ath9k 0000:02:00.0: PCI INT A disabled
    ath9k: probe of 0000:02:00.0 failed with error -17

  7. #7
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    3

    Default Re: Atheros ar9285 Driver

    Quote Originally Posted by dustyboner View Post
    Download compat-wireless-2.6.32.3.tar.bz2

    Open a terminal and run:
    Code:
    tar -xf /root/compat-wireless-2.6.32.3.tar.bz2
    cd compat-wireless-2.6.32.3
    make
    make install
    make unload
    reboot
    *If you get a "No such file or directory" error when you run make, run this command:
    Code:
    ln -s /usr/src/linux /lib/modules/2.6.30.9/build
    I had small issue with my ath9k driver. Wireless signal was weak and even when I managed to connect for some reason I couldn't ping the router. After following dustyboner's advice everything works perfectly.
    Thank you

Similar Threads

  1. HELP! No interface Atheros AR9285
    By dezzz in forum Beginners Forum
    Replies: 5
    Last Post: 07-01-2010, 03:24 PM
  2. atheros driver problem
    By fredo in forum Beginners Forum
    Replies: 3
    Last Post: 03-06-2010, 12:51 AM
  3. Is My Atheros AR9285 Wireless Card Compatible With BackTrack 4?
    By kYerYokuzeN in forum Beginners Forum
    Replies: 1
    Last Post: 02-16-2010, 10:11 AM
  4. My K40AB Atheros AR9285 wireless adapter
    By kYerYokuzeN in forum Beginners Forum
    Replies: 1
    Last Post: 02-15-2010, 04:24 PM

Tags for this Thread

Posting Permissions

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