LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2012, 01:45 PM   #1
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Rep: Reputation: Disabled
AR9271 driver


Hello, is there any driver developed in Slackware for wifi cards with this chipset (Atheros-AR9271?? Thanks!
 
Old 10-02-2012, 05:03 PM   #2
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
Talking

Eh sorry I saw this thread, I'll read it to find out something about, thanks!
http://www.linuxquestions.org/questi...-a-4175419786/
 
Old 10-03-2012, 05:33 PM   #3
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
Talking

Well, I have downloaded compat-wireless, and when execute "./driver-select ath9k" it gives me an error "Must run ./driver-select from the compat-drivers top level directory" that I do not understand how to resolve it. Any help??

I tried this thread but I could not get good result:

http://www.ubuntu-es.org/node/168087#.UGy6UmMxyVs
 
Old 10-03-2012, 08:49 PM   #4
gobo7
Member
 
Registered: Aug 2012
Posts: 38

Rep: Reputation: Disabled
Quote:
Originally Posted by slackunix View Post
Well, I have downloaded compat-wireless, and when execute "./driver-select ath9k" it gives me an error "Must run ./driver-select from the compat-drivers top level directory" that I do not understand how to resolve it. Any help??

I tried this thread but I could not get good result:

http://www.ubuntu-es.org/node/168087#.UGy6UmMxyVs
i messed with an ar9271 usb adapter a month or so ago. it looks like i'm missing a page from my notes, but it went something like --

download ar9271.fw from http://git.kernel.org/?p=linux/kerne...are.git;a=tree

copy ar9271.fw into /lib/firmware.

restart and look at ifconfig -a to see if wlan0 is now listed. if it is, then you can start to configure rc.inet1.conf.

i think i'm missing a step. but i did get it to work with that firmware. maybe this will help a little.
 
Old 10-04-2012, 05:30 AM   #5
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
Question

download ar9271.fw from http://git.kernel.org/?p=linux/kerne...are.git;a=tree

Thanks, I did it, but nothing, the interface is not visible (with "iwconfig" from console), although the system recognizes it:

root@darkstar:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0cf3:b002 Atheros Communications, Inc. Ubiquiti WiFiStation 802.11n [Atheros AR9271]


root@darkstar:~# dmesg | grep usb
.......
.......
[ 4.368187] usb 1-5: Product: WiFiStation
[ 4.368278] usb 1-5: Manufacturer: UBIQUITI
[ 4.368368] usb 1-5: SerialNumber: 11111
[ 159.078875] usbcore: registered new interface driver ath9k_hif_usb


Although I load driver:

root@darkstar:~# modprobe ath9k
root@darkstar:~# modprobe ath9k_hif_usb

Nothing of nothing

Last edited by slackunix; 10-04-2012 at 05:32 AM.
 
Old 10-04-2012, 10:28 AM   #6
gobo7
Member
 
Registered: Aug 2012
Posts: 38

Rep: Reputation: Disabled
Quote:
Originally Posted by slackunix View Post
download ar9271.fw from http://git.kernel.org/?p=linux/kerne...are.git;a=tree

Thanks, I did it, but nothing, the interface is not visible (with "iwconfig" from console), although the system recognizes it:

root@darkstar:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0cf3:b002 Atheros Communications, Inc. Ubiquiti WiFiStation 802.11n [Atheros AR9271]


root@darkstar:~# dmesg | grep usb
.......
.......
[ 4.368187] usb 1-5: Product: WiFiStation
[ 4.368278] usb 1-5: Manufacturer: UBIQUITI
[ 4.368368] usb 1-5: SerialNumber: 11111
[ 159.078875] usbcore: registered new interface driver ath9k_hif_usb


Although I load driver:

root@darkstar:~# modprobe ath9k
root@darkstar:~# modprobe ath9k_hif_usb

Nothing of nothing
ok, a couple of things.

first, grab a copy of this document:
http://alien.slackbook.org/dokuwiki/...ckware:network
there are lots of little details in it that need to be known.

make sure the modules are not already loaded with lsmod.
Code:
# lsmod | grep ath9
ath9k                  73302  0
mac80211              181473  1 ath9k
ath9k_common            1497  1 ath9k
ath9k_hw              251635  2 ath9k,ath9k_common
ath                    11089  2 ath9k,ath9k_hw
cfg80211              122542  3 ath9k,mac80211,ath
i'm not sure, but i don't think iwconfig, iwlist, etc. will work until the interface is UP. see what interfaces your system believes are installed with ifconfig -a. dmesg | grep -i wlan may also give some clues.
Code:
# ifconfig -a                                              
eth0      Link encap:Ethernet  HWaddr 00:23:24:18:B9:EE                         
          BROADCAST MULTICAST  MTU:1500  Metric:1                               
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)                                
          Interrupt:17                                                          

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:760 (760.0 b)  TX bytes:760 (760.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:1D:6A:5F:DD:7A
          inet addr:192.168.1.52  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:6aff:fe5f:dd7a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2357 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2364 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:222847 (217.6 Kb)  TX bytes:431373 (421.2 Kb)
notice that eth0 is found but not doing anything. it is not configured. your wireless interface would look similar.

lastly, i tried the ar9271 adapter on two different systems. slackware 13.37 and ubuntu server 12.04. i know that under ubuntu i had to get the firmware. but under slack 13.37, it may have worked out of the box. just can't remember. i know how to keep better notes, but i didn't in this case.
 
Old 10-04-2012, 03:48 PM   #7
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
Talking

Firt thing, the driver ath9k is not loaded automaticly, but I load it manually, as I have said before "modprobe ath9k", but the interface is not showed with "iwconfig", when I run "ifconfig -a", it shows me:
eth0
lo
wlan0 (it is pci card ipw3945)

May be, when I installed slackware 13.37 (32bit), clicked off the installation of driver AR9271, is the raison is not working "out of the box", so is difficult to find out the solution more if I am newbie with linux.

Last edited by slackunix; 10-04-2012 at 03:49 PM.
 
Old 10-04-2012, 04:22 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
I think that the good kernel module for you card is ath9k_htc, not ath9k, see here vs there. To make sure type the following command and send back here the output:
Code:
lspci -knn|grep -iA3 net
This will also give the device id, allowing us to check that your chipset be supported looking for it there as well as with following command: "modinfo ath9k_htc|grep -i <device_id>"

Also, if I am right the good firmware that you should put in /lib/firmware is htc_9271.fw that you can download.

EDIT As noticed by the OP (see his next post), the lspci command is irrelevant in that case, should have been "lsusb".

Last edited by Didier Spaier; 10-04-2012 at 05:03 PM. Reason: EDIT added
 
Old 10-04-2012, 04:52 PM   #9
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
Hi, the device is not pci is usb, so this command is not valid (lspci), I downloaded driver htc_9271.fw and cut and paste en "lib/firmware". I tried with "lsusb -v | grep ubiqui" and it gives me:
Code:
root@darkstar:/# lsusb -v | grep Ubiqui  
Bus 001 Device 003: ID 0cf3:b002 Atheros Communications, Inc. Ubiquiti WiFiStation 802.11n [Atheros AR9271]
  idProduct          0xb002 Ubiquiti WiFiStation 802.11n [Atheros AR9271]
root@darkstar:/#
So, I think is not supported?? I see the first 4 keys "0cf3" but I do not see the second half "b002" in "http://www.linuxwireless.org/en/users/Drivers/ath9k_htc/devices"


Is correct my conclusion?? Thanks in advance all people ( Didier Spaier and gobo7). It was a pleasure!

Last edited by slackunix; 10-04-2012 at 05:24 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware USB wireless (TL-WN722N) using [ar9271.fw] nincsolyan Linux - Wireless Networking 1 04-25-2019 12:55 PM
AWUS 036NHA (AR9271 Chipset) for Slack 13.37 Mercury305 Slackware 7 08-01-2012 03:52 PM
[SOLVED] TP-WN722n [ AR9271 Chipset ] + ath_htc driver PROBLEM . free_f0x Linux - Hardware 3 07-16-2010 08:53 PM
[SOLVED] USB stick TP-Link TL-WN422g V.2 ar9271 ukiuki Linux - Wireless Networking 0 05-29-2010 01:35 PM
Looking for AR9271 driver nakarake Linux - Wireless Networking 1 03-13-2010 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration