2012-01-05 07:30:38

by Linx Zhang

[permalink] [raw]
Subject: ath9k_htc.ko

All,

Anyone knows how to setup Atheros USB wifi card(TP-LINK WN821N) as AP
mode on the linux (Ubuntu 11.10)? I have tested below commands, but
failed:

mypromp#iwconfig
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

mypromp#/wlanconfig ath create wlandev wlan0 wlanmode ap
wlanconfig: ioctl: Operation not supported

mypromp# lsmod
Module Size Used by
ath9k_htc 51280 0
ath9k_common 1661 1 ath9k_htc
ath9k_hw 335589 2 ath9k_htc,ath9k_common
ath 13592 3 ath9k_htc,ath9k_common,ath9k_hw
mac80211 224045 1 ath9k_htc
cfg80211 151788 3 ath9k_htc,ath,mac80211
compat 15880 3 ath9k_htc,mac80211,cfg80211
rfkill 14626 1 cfg80211

mypromp# lsusb
Bus 001 Device 007: ID 0cf3:7015 Atheros Communications, Inc.

Any comments or helps will be appreciated!

Thanks.

Morris


2012-01-05 08:27:10

by Mohammed Shafi

[permalink] [raw]
Subject: Re: ath9k_htc.ko

On Thu, Jan 5, 2012 at 1:00 PM, Linx Zhang <[email protected]> wrote:
> All,
>
> Anyone knows how to setup Atheros USB wifi card(TP-LINK WN821N) as AP
> mode on the linux (Ubuntu 11.10)? I have tested below commands, but
> failed:

please use
http://linuxwireless.org/en/users/Documentation/hostapd
http://linuxwireless.org/en/users/Download/stable#compat-wireless_3.2_stable_releases

>
> mypromp#iwconfig
> 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
>
> mypromp#/wlanconfig ath create wlandev wlan0 wlanmode ap
> wlanconfig: ioctl: Operation not supported
>
> mypromp# lsmod
> Module ? ? ? ? ? ? ? ? ?Size ?Used by
> ath9k_htc ? ? ? ? ? ? ?51280 ?0
> ath9k_common ? ? ? ? ? ?1661 ?1 ath9k_htc
> ath9k_hw ? ? ? ? ? ? ?335589 ?2 ath9k_htc,ath9k_common
> ath ? ? ? ? ? ? ? ? ? ?13592 ?3 ath9k_htc,ath9k_common,ath9k_hw
> mac80211 ? ? ? ? ? ? ?224045 ?1 ath9k_htc
> cfg80211 ? ? ? ? ? ? ?151788 ?3 ath9k_htc,ath,mac80211
> compat ? ? ? ? ? ? ? ? 15880 ?3 ath9k_htc,mac80211,cfg80211
> rfkill ? ? ? ? ? ? ? ? 14626 ?1 cfg80211
>
> mypromp# lsusb
> Bus 001 Device 007: ID 0cf3:7015 Atheros Communications, Inc.
>
> Any comments or helps will be appreciated!
>
> Thanks.
>
> Morris
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html



--
shafi