You are not logged in.

#1 2011-01-19 15:51:00

mibadt
Member
Registered: 2009-09-25
Posts: 396

802.11n USB adapter in Arch

Hi,
I'm on  a fully updated Arch 64b.
Just bought this http://www.tp-link.com/products/product … =TL-WN821N 802.11n USB adater which works fine under Windows.
How can I configure my Arch accordingly?

thanks


Best regards,
Michael Badt

Offline

#2 2011-01-19 15:52:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: 802.11n USB adapter in Arch

What have you tried yourself so far? Linking to manufacturer pages doesn't help, 99% of the time they don't mention the chip they use. You need to find out what chip is in it and go from there.

Tip: lsusb


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-01-19 16:01:54

ferda
Member
Registered: 2010-02-05
Posts: 67

Re: 802.11n USB adapter in Arch

According to this
http://en.gentoo-wiki.com/wiki/TL-WN821N
it has an atheros chipset.
Try to load ar9170usb, it is in the kernel.
After that it should show up with ifconfig/iwconfig.

Offline

#4 2011-01-19 16:05:18

FarmerF
Member
From: Netherlands
Registered: 2009-06-08
Posts: 76

Re: 802.11n USB adapter in Arch

Possibly easiest is to install networkmanager and see if it works out of the box.

Also as mentioned above output of lsusb might help others help you.

Last edited by FarmerF (2011-01-19 16:05:40)

Offline

#5 2011-01-19 16:22:54

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: 802.11n USB adapter in Arch

I have one of those. It worked out of the box (using wicd, but plain iwconfig / ifoncfig / wpa_supplicant tested & working too).  Don't even have madwifi or anything installed.

Last edited by whoops (2011-01-19 16:25:19)

Offline

#6 2011-01-20 04:16:29

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: 802.11n USB adapter in Arch

Thanks all.
lsusb confirmed chip type as:
Bus 003 Device 004: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 [Atheros AR9001U-(2)NG]

Here's a copy from terminal:

modprobe ar9170usb
[root@myhost miki]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

I've been using KDE's network manager in the first place, yet, even after loading above module, NM still displays the interface as unavailable.

I've the latest Arch kernel -see here:

uname -a
Linux myhost 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 14:15:27 CET 2011 x86_64 AMD Phenom(tm) II X6 1055T Processor AuthenticAMD GNU/Linux


Any ideas?


Best regards,
Michael Badt

Offline

#7 2011-01-20 07:56:03

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: 802.11n USB adapter in Arch

See if dmesg contains any errors regarding your driver, this will tell us more about the issue.
You can also try carl9170 driver: https://wiki.archlinux.org/index.php/Wireless#carl9170 , it also supports USB Atheros chips.

Last edited by kaszak696 (2011-01-20 08:05:22)


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#8 2011-01-20 11:24:06

ferda
Member
Registered: 2010-02-05
Posts: 67

Re: 802.11n USB adapter in Arch

Try

ifconfig wlan0 up
iwlist wlan0 scan

Offline

#9 2011-01-21 08:36:41

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: 802.11n USB adapter in Arch

thanks all!


Best regards,
Michael Badt

Offline

Board footer

Powered by FluxBB