2011-01-06 16:49:56     Need help configuring TL-WN821N USB Wifi adapter

Document created by Aaronwu Employee on Aug 25, 2013
Version 1Show Document
  • View in full screen mode

2011-01-06 16:49:56     Need help configuring TL-WN821N USB Wifi adapter


Message: 97235   


I'm trying to get a TL-WN821N working with my board.  I have an SL811 USB controller that works fine with USB flash drives.  I'm using 2010R1 uclinux.


I'm following the instructions here:   docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:wifi_over_usb&s[]=usb&s[]=wifi.  In addition to the options listed in the wiki, I've also selected Linux Kernel->Device Drivers->Network device support->Wireless LAN->Atheros Wireless->Atheros wireless debugging and ->Atheros AR9170 802.11n USB support.  This builds a driver called ar9170usb, so I've skipped the "Build TL-WN821N drivers" step in the wiki - is this ok?


I've downloaded the ar9170 drivers from   wireless.kernel.org/en/users/Drivers/ar9170 and put them in /lib/firmware.  Following the steps in the wiki I also put ar7010_1_1.fw in /lib/firmware.  I'll figure out which one(s) I actually need later on.


When I insert the card I see it recognized:


root:/> usb 1-1: USB disconnect, address 2

usb 1-1: new full speed USB device using sl811-hcd and address 3

usb 1-1: New USB device found, idVendor=0cf3, idProduct=7015

usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48

usb 1-1: Product: UB95

usb 1-1: Manufacturer: ATHEROS

usb 1-1: SerialNumber: 12345



Then I do 'modprobe ar9170usb' which replies with 'usbcore: registered new interface driver ar9170usb'.  But it doesn't actually seem to do anything - iwconfig doesn't list any new adapters.


Any help appreciated.




2011-01-06 16:54:18     Re: Need help configuring TL-WN821N USB Wifi adapter

Mike Frysinger (UNITED STATES)

Message: 97236   


did you run `dmesg` to see if there was any info there ?  you might want to try configuring it to work on your desktop Linux system first to work out any random kinks.