From: Wally <wally.yeh@a-trust.com.tw>
To: Sujith Manoharan <sujith@msujith.org>
Cc: Adrian Chadd <adrian@freebsd.org>,
linux-wireless@vger.kernel.org,
ath9k-devel <ath9k-devel@lists.ath9k.org>
Subject: Re: atheros AR5B22, using ath9k, can't switch between inscure and WEP/WPA
Date: Fri, 10 May 2013 11:16:33 +0800 [thread overview]
Message-ID: <1368155793.17674.116.camel@bigdick-desktop> (raw)
In-Reply-To: <20875.9473.525821.266607@gargle.gargle.HOWL>
[-- Attachment #1: Type: text/plain, Size: 3697 bytes --]
於 四,2013-05-09 於 09:54 +0530,Sujith Manoharan 提到:
> Wally wrote:
> > Recently I got a atheros mini-PCIE wifi module AR5B22, so I download
> > the latest version of compat-driver(compat-drivers-2013-03-28.tar.gz),
> > and build it for armel on my arm board, it works great but with one
> > little problem:
> >
> > If I connect to an inscure AP then change to a WEP/WPA AP, I can't
> > connect the inscure one again, I have to run "modprobe -r ath9k;
> > modprobe ath9k" to connect the inscure AP.
> >
> > I think this may be a bug in the ath9k driver, I also search this
> > bug on web but without an answer, so I send this letter for help.
>
> What commands do you use to connect to the APs ? Also, can you post the
> kernel log / wpa_supplicant log when the issue happens ?
>
> Sujith
Hi, Sujjth:
I do following steps to reproduce this problem:
/**********************************************************************/
first step, I connect to an inscure AP
1. sudo iwconfig wlan0 mode managed key off essid "dlink FRANCE"
2. sudo dhclient wlan0
dmesg give these messages:
[ 224.937500] wlan0: authenticate with 00:1c:f0:eb:9a:ed
[ 224.945312] wlan0: send auth to 00:1c:f0:eb:9a:ed (try 1/3)
[ 224.953125] wlan0: authenticated
[ 224.953125] ath9k 0000:01:00.0: wlan0: disabling HT as WMM/QoS is not
supported by the AP
[ 224.953125] ath9k 0000:01:00.0: wlan0: disabling VHT as WMM/QoS is
not supported by the AP
[ 224.960937] wlan0: associate with 00:1c:f0:eb:9a:ed (try 1/3)
[ 224.960937] wlan0: RX AssocResp from 00:1c:f0:eb:9a:ed (capab=0x421
status=0 aid=2)
[ 224.960937] wlan0: associated
second step, I connect to another WEP AP:
1. sudo dhclient -r
2. sudo iwconfig wlan0 mode managed essid "sw-wifi"
3. sudo wpa_supplicant -B -D wext -i wlan0 -c ./auth_file
4. sudo dhclient wlan0
dmesg give these messages:
[ 1425.843750] wlan0: deauthenticating from 00:1c:f0:eb:9a:ed by local
choice (reason=3)
[ 1436.296875] wlan0: authenticate with 00:26:5a:ff:c9:6d
[ 1436.312500] wlan0: send auth to 00:26:5a:ff:c9:6d (try 1/3)
[ 1436.312500] wlan0: deauthenticating from 00:26:5a:ff:c9:6d by local
choice (reason=3)
[ 1436.312500] wlan0: authenticate with 00:26:5a:ff:c9:6d
[ 1436.328125] wlan0: send auth to 00:26:5a:ff:c9:6d (try 1/3)
[ 1436.328125] wlan0: send auth to 00:26:5a:ff:c9:6d (try 2/3)
[ 1436.328125] wlan0: authenticated
[ 1436.328125] ath9k 0000:01:00.0: wlan0: disabling HT/VHT due to
WEP/TKIP use
[ 1436.328125] ath9k 0000:01:00.0: wlan0: disabling HT as WMM/QoS is not
supported by the AP
[ 1436.328125] ath9k 0000:01:00.0: wlan0: disabling VHT as WMM/QoS is
not supported by the AP
[ 1436.335937] wlan0: associate with 00:26:5a:ff:c9:6d (try 1/3)
[ 1436.335937] wlan0: RX AssocResp from 00:26:5a:ff:c9:6d (capab=0x431
status=0 aid=16)
[ 1436.335937] wlan0: associated
third step, I reconnect the inscure AP agian and failed:
1. sudo dhclient -r
2. sudo killall wpa_supplicant
2. sudo iwconfig wlan0 mode managed key off essid "dlink FRANCE"
3. sudo dhclient wlan0 <-- system can't get an IP forever...
dmesg give these messages:
[ 2049.585937] wlan0: deauthenticating from 00:26:5a:ff:c9:6d by local
choice (reason=3)
[ 2049.609375] cfg80211: Calling CRDA to update world regulatory domain
/**********************************************************************/
very weird, at third step, dmesg only print two messages, and not
start to do authenticate anymore. if I retry second step, it still can
connect WEP/WPA APs.
Hope this messages helps. the attach file is my auth_file using in
second step.
Wally
[-- Attachment #2: auth_file --]
[-- Type: text/plain, Size: 144 bytes --]
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=0
ssid="sw-wifi"
key_mgmt=NONE
wep_key0="3616atrust361"
wep_tx_keyidx=0
priority=5
}
prev parent reply other threads:[~2013-05-10 3:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 12:25 atheros AR5B22, using ath9k, can't switch between inscure and WEP/WPA Wally
2013-05-08 22:46 ` Adrian Chadd
2013-05-09 1:28 ` Wally
2013-05-09 5:57 ` Adrian Chadd
2013-05-09 4:24 ` Sujith Manoharan
2013-05-10 3:16 ` Wally [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1368155793.17674.116.camel@bigdick-desktop \
--to=wally.yeh@a-trust.com.tw \
--cc=adrian@freebsd.org \
--cc=ath9k-devel@lists.ath9k.org \
--cc=linux-wireless@vger.kernel.org \
--cc=sujith@msujith.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox