All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
@ 2011-07-23  5:12 Lito Kriara
  2011-07-23 12:28 ` Mihai Moldovan
  2011-07-24 13:21 ` Mohammed Shafi
  0 siblings, 2 replies; 8+ messages in thread
From: Lito Kriara @ 2011-07-23  5:12 UTC (permalink / raw)
  To: ath9k-devel

Hello all,
I have an issue with some AR9380 cards I am using.
* My first issue is that when I try to connect to a specific network
(e.g. iwconfig wlan0 essid OpenWrt), and I then want to see what has
happened by iwconfig wlan0 I get the following result:
wlan0     IEEE 802.11abgn   
ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
           Mode:Managed  Access Point: Not-Associated   Tx-Power=18 dBm
           Retry  long limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:on
Does anyone have any idea on how could I fix that?

* The second problem I am facing is that when I have the laptop in AP  
mode and I have a board as a station that connects to the AP, the  
station shows to have connected to the network, however the two nodes  
cannot ping each other, and on the AP side I get the following:
Using interface wlan0 with hwaddr 00:xx:xx:xx:xx:68 and ssid 'void'
wlan0: STA 00:xx:xx:xx:xx:93 IEEE 802.11: did not acknowledge  
authentication response
unknown mgmt cb frame subtype 10
Data/PS-poll frame from not associated STA 00:0c:42:65:36:93
wlan2: STA 00:0c:42:65:36:93 IEEE 802.11: disassociated due to inactivity
wlan2: STA 00:0c:42:65:36:93 IEEE 802.11: deauthenticated due to inactivity
unknown mgmt cb frame subtype 10

- While when I use both laptops for AP and STA, the station seems to  
associate for just a couple of seconds and then disassociate, and I  
get the following on the AP side:
wlan0: STA 00:xx:xx:xx:xx:41 IEEE 802.11: authenticated
wlan0: STA 00:xx:xx:xx:xx:41 IEEE 802.11: associated (aid 2)
wlan0: STA 00:xx:xx:xx:xx:41 RADIUS: starting accounting session  
4E2A5499-00000000
wlan0: STA 00:xx:xx:xx:xx:41 IEEE 802.11: authenticated
wlan0: STA 00:xx:xx:xx:xx:41 IEEE 802.11: associated (aid 2)
wlan0: STA 00:xx:xx:xx:xx:41 RADIUS: starting accounting session  
4E2A5499-00000001
wlan0: STA 00:xx:xx:xx:xx:41 IEEE 802.11: authenticated
wlan0: STA 00:xx:xx:xx:xx:41 IEEE 802.11: associated (aid 2)
wlan0: STA 00:xx:xx:xx:xx:41 RADIUS: starting accounting session  
4E2A5499-00000002
unknown mgmt cb frame subtype 10

- However when I set the 00:xx:xx:xx:xx:93 (board) as an AP and the  
00:xx:xx:xx:xx:41 (laptop) as the STA I can connect and ping normally.

Does anyone have any clue about that? Does anyone face the same problems?
Any help would be very much appreciated
Kind regards

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
  2011-07-23  5:12 [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid Lito Kriara
@ 2011-07-23 12:28 ` Mihai Moldovan
  2011-07-24 13:21 ` Mohammed Shafi
  1 sibling, 0 replies; 8+ messages in thread
From: Mihai Moldovan @ 2011-07-23 12:28 UTC (permalink / raw)
  To: ath9k-devel

* On 23.07.2011 07:12 AM, Lito Kriara wrote:
> I have an issue with some AR9380 cards I am using.
> [...]
> ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
> [...]
> Does anyone have any idea on how could I fix that?

Wow, interesting. What Kernel version and driver are you using?
In-kernel ath9k? Compat wireless?


> * The second problem I am facing is that when I have the laptop in AP  
> mode and I have a board as a station that connects to the AP,

Just to make that clear, all laptops and boards and whatnot are equipped
with AR9380 cards?
Again the same question... same on OS every machine? :)

Doesn't seem so, especially as laptop <-> laptop is working (though not
for long.)

Btw: do you use several cards in the same machine on the same base
frequency (i.e. 2.4GHz?)

Also please post your hostapd.conf (w/o comments and blank lines.)

Best regards,


Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4369 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110723/9a282fbd/attachment.bin 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
  2011-07-23  5:12 [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid Lito Kriara
  2011-07-23 12:28 ` Mihai Moldovan
@ 2011-07-24 13:21 ` Mohammed Shafi
  2011-07-25  1:56   ` Adrian Chadd
  1 sibling, 1 reply; 8+ messages in thread
From: Mohammed Shafi @ 2011-07-24 13:21 UTC (permalink / raw)
  To: ath9k-devel

On Sat, Jul 23, 2011 at 10:42 AM, Lito Kriara <L.Kriara@sms.ed.ac.uk> wrote:
> Hello all,
> I have an issue with some AR9380 cards I am using.
> * My first issue is that when I try to connect to a specific network
> (e.g. iwconfig wlan0 essid OpenWrt), and I then want to see what has
> happened by iwconfig wlan0 I get the following result:
> wlan0 ? ? IEEE 802.11abgn
> ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
> ? ? ? ? ? Mode:Managed ?Access Point: Not-Associated ? Tx-Power=18 dBm
> ? ? ? ? ? Retry ?long limit:7 ? RTS thr:off ? Fragment thr:off
> ? ? ? ? ? Encryption key:off
> ? ? ? ? ? Power Management:on
> Does anyone have any idea on how could I fix that?

please disable the Network-manager if you are using iwconfig/iw to
connect to an AP.
or connect to the network using Network manager without any commands.

-- 
shafi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
  2011-07-24 13:21 ` Mohammed Shafi
@ 2011-07-25  1:56   ` Adrian Chadd
  2011-07-25 14:20     ` Lito Kriara
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Chadd @ 2011-07-25  1:56 UTC (permalink / raw)
  To: ath9k-devel

I occasionally get this with my older ubuntu install, on an AR2427
(AR9285 without 11n.)

So I don't think it's chipset specific.


Adrian


On 24 July 2011 21:21, Mohammed Shafi <shafi.wireless@gmail.com> wrote:
> On Sat, Jul 23, 2011 at 10:42 AM, Lito Kriara <L.Kriara@sms.ed.ac.uk> wrote:
>> Hello all,
>> I have an issue with some AR9380 cards I am using.
>> * My first issue is that when I try to connect to a specific network
>> (e.g. iwconfig wlan0 essid OpenWrt), and I then want to see what has
>> happened by iwconfig wlan0 I get the following result:
>> wlan0 ? ? IEEE 802.11abgn
>> ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
>> ? ? ? ? ? Mode:Managed ?Access Point: Not-Associated ? Tx-Power=18 dBm
>> ? ? ? ? ? Retry ?long limit:7 ? RTS thr:off ? Fragment thr:off
>> ? ? ? ? ? Encryption key:off
>> ? ? ? ? ? Power Management:on
>> Does anyone have any idea on how could I fix that?
>
> please disable the Network-manager if you are using iwconfig/iw to
> connect to an AP.
> or connect to the network using Network manager without any commands.
>
> --
> shafi
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
  2011-07-25  1:56   ` Adrian Chadd
@ 2011-07-25 14:20     ` Lito Kriara
  2011-07-25 14:41       ` Mohammed Shafi
  0 siblings, 1 reply; 8+ messages in thread
From: Lito Kriara @ 2011-07-25 14:20 UTC (permalink / raw)
  To: ath9k-devel

Hello,
from the beginning I had no network manager procedure working, and I  
double-checked now and still the same issue.
I am using the following:
Ubuntu with kernel version 2.6.38-10-generic
the latest compat-wireless (from about the end of last week).

I would really appreciate any help.
Thank you very much,
Lito

Quoting Adrian Chadd <adrian@freebsd.org> on Mon, 25 Jul 2011 09:56:02 +0800:

> I occasionally get this with my older ubuntu install, on an AR2427
> (AR9285 without 11n.)
>
> So I don't think it's chipset specific.
>
>
> Adrian
>
>
> On 24 July 2011 21:21, Mohammed Shafi <shafi.wireless@gmail.com> wrote:
>> On Sat, Jul 23, 2011 at 10:42 AM, Lito Kriara <L.Kriara@sms.ed.ac.uk> wrote:
>>> Hello all,
>>> I have an issue with some AR9380 cards I am using.
>>> * My first issue is that when I try to connect to a specific network
>>> (e.g. iwconfig wlan0 essid OpenWrt), and I then want to see what has
>>> happened by iwconfig wlan0 I get the following result:
>>> wlan0 ? ? IEEE 802.11abgn
>>> ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
>>> ? ? ? ? ? Mode:Managed ?Access Point: Not-Associated ? Tx-Power=18 dBm
>>> ? ? ? ? ? Retry ?long limit:7 ? RTS thr:off ? Fragment thr:off
>>> ? ? ? ? ? Encryption key:off
>>> ? ? ? ? ? Power Management:on
>>> Does anyone have any idea on how could I fix that?
>>
>> please disable the Network-manager if you are using iwconfig/iw to
>> connect to an AP.
>> or connect to the network using Network manager without any commands.
>>
>> --
>> shafi
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>
>



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
  2011-07-25 14:20     ` Lito Kriara
@ 2011-07-25 14:41       ` Mohammed Shafi
  2011-07-25 14:50         ` Lito Kriara
  2011-07-25 20:23         ` Lito Kriara
  0 siblings, 2 replies; 8+ messages in thread
From: Mohammed Shafi @ 2011-07-25 14:41 UTC (permalink / raw)
  To: ath9k-devel

On Mon, Jul 25, 2011 at 7:50 PM, Lito Kriara <L.Kriara@sms.ed.ac.uk> wrote:
> Hello,
> from the beginning I had no network manager procedure working, and I
> double-checked now and still the same issue.
> I am using the following:
> Ubuntu with kernel version 2.6.38-10-generic
> the latest compat-wireless (from about the end of last week).

ok are you saying that the station is not even getting connected (or)
the iwconfig thing showing some junk SSID?
>
> I would really appreciate any help.
> Thank you very much,
> Lito
>
> Quoting Adrian Chadd <adrian@freebsd.org> on Mon, 25 Jul 2011 09:56:02
> +0800:
>
>> I occasionally get this with my older ubuntu install, on an AR2427
>> (AR9285 without 11n.)
>>
>> So I don't think it's chipset specific.
>>
>>
>> Adrian
>>
>>
>> On 24 July 2011 21:21, Mohammed Shafi <shafi.wireless@gmail.com> wrote:
>>>
>>> On Sat, Jul 23, 2011 at 10:42 AM, Lito Kriara <L.Kriara@sms.ed.ac.uk>
>>> wrote:
>>>>
>>>> Hello all,
>>>> I have an issue with some AR9380 cards I am using.
>>>> * My first issue is that when I try to connect to a specific network
>>>> (e.g. iwconfig wlan0 essid OpenWrt), and I then want to see what has
>>>> happened by iwconfig wlan0 I get the following result:
>>>> wlan0 ? ? IEEE 802.11abgn
>>>>
>>>> ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
>>>> ? ? ? ? ? Mode:Managed ?Access Point: Not-Associated ? Tx-Power=18 dBm
>>>> ? ? ? ? ? Retry ?long limit:7 ? RTS thr:off ? Fragment thr:off
>>>> ? ? ? ? ? Encryption key:off
>>>> ? ? ? ? ? Power Management:on
>>>> Does anyone have any idea on how could I fix that?
>>>
>>> please disable the Network-manager if you are using iwconfig/iw to
>>> connect to an AP.
>>> or connect to the network using Network manager without any commands.
>>>
>>> --
>>> shafi
>>> _______________________________________________
>>> ath9k-devel mailing list
>>> ath9k-devel at lists.ath9k.org
>>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>>
>>
>>
>
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
>



-- 
shafi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
  2011-07-25 14:41       ` Mohammed Shafi
@ 2011-07-25 14:50         ` Lito Kriara
  2011-07-25 20:23         ` Lito Kriara
  1 sibling, 0 replies; 8+ messages in thread
From: Lito Kriara @ 2011-07-25 14:50 UTC (permalink / raw)
  To: ath9k-devel

Quoting Mohammed Shafi <shafi.wireless@gmail.com> on Mon, 25 Jul 2011  
20:11:45 +0530:

> On Mon, Jul 25, 2011 at 7:50 PM, Lito Kriara <L.Kriara@sms.ed.ac.uk> wrote:
>> Hello,
>> from the beginning I had no network manager procedure working, and I
>> double-checked now and still the same issue.
>> I am using the following:
>> Ubuntu with kernel version 2.6.38-10-generic
>> the latest compat-wireless (from about the end of last week).
>
> ok are you saying that the station is not even getting connected (or)
> the iwconfig thing showing some junk SSID?


I try to connect via
# iw wlan0 connect -w OpenWrt
and I get
wlan0 (phy0): connected to 00:xx:xx:xx:xx:93
which is correct, but when I try to do iwconfig I get the junk ssid  
and when I try to ping I get "Destination Host Unreachable"

thanx



>>
>> I would really appreciate any help.
>> Thank you very much,
>> Lito
>>
>> Quoting Adrian Chadd <adrian@freebsd.org> on Mon, 25 Jul 2011 09:56:02
>> +0800:
>>
>>> I occasionally get this with my older ubuntu install, on an AR2427
>>> (AR9285 without 11n.)
>>>
>>> So I don't think it's chipset specific.
>>>
>>>
>>> Adrian
>>>
>>>
>>> On 24 July 2011 21:21, Mohammed Shafi <shafi.wireless@gmail.com> wrote:
>>>>
>>>> On Sat, Jul 23, 2011 at 10:42 AM, Lito Kriara <L.Kriara@sms.ed.ac.uk>
>>>> wrote:
>>>>>
>>>>> Hello all,
>>>>> I have an issue with some AR9380 cards I am using.
>>>>> * My first issue is that when I try to connect to a specific network
>>>>> (e.g. iwconfig wlan0 essid OpenWrt), and I then want to see what has
>>>>> happened by iwconfig wlan0 I get the following result:
>>>>> wlan0 ? ? IEEE 802.11abgn
>>>>>
>>>>> ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
>>>>> ? ? ? ? ? Mode:Managed ?Access Point: Not-Associated ? Tx-Power=18 dBm
>>>>> ? ? ? ? ? Retry ?long limit:7 ? RTS thr:off ? Fragment thr:off
>>>>> ? ? ? ? ? Encryption key:off
>>>>> ? ? ? ? ? Power Management:on
>>>>> Does anyone have any idea on how could I fix that?
>>>>
>>>> please disable the Network-manager if you are using iwconfig/iw to
>>>> connect to an AP.
>>>> or connect to the network using Network manager without any commands.
>>>>
>>>> --
>>>> shafi
>>>> _______________________________________________
>>>> ath9k-devel mailing list
>>>> ath9k-devel at lists.ath9k.org
>>>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>>>
>>>
>>>
>>
>>
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>>
>>
>
>
>
> --
> shafi
>
>



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid
  2011-07-25 14:41       ` Mohammed Shafi
  2011-07-25 14:50         ` Lito Kriara
@ 2011-07-25 20:23         ` Lito Kriara
  1 sibling, 0 replies; 8+ messages in thread
From: Lito Kriara @ 2011-07-25 20:23 UTC (permalink / raw)
  To: ath9k-devel

Hello all!
It seems like the problem was in /lib
I re-installed the latest ubuntu version and it worked fine!

Quoting Mohammed Shafi <shafi.wireless@gmail.com> on Mon, 25 Jul 2011  
20:11:45 +0530:

> On Mon, Jul 25, 2011 at 7:50 PM, Lito Kriara <L.Kriara@sms.ed.ac.uk> wrote:
>> Hello,
>> from the beginning I had no network manager procedure working, and I
>> double-checked now and still the same issue.
>> I am using the following:
>> Ubuntu with kernel version 2.6.38-10-generic
>> the latest compat-wireless (from about the end of last week).
>
> ok are you saying that the station is not even getting connected (or)
> the iwconfig thing showing some junk SSID?
>>
>> I would really appreciate any help.
>> Thank you very much,
>> Lito
>>
>> Quoting Adrian Chadd <adrian@freebsd.org> on Mon, 25 Jul 2011 09:56:02
>> +0800:
>>
>>> I occasionally get this with my older ubuntu install, on an AR2427
>>> (AR9285 without 11n.)
>>>
>>> So I don't think it's chipset specific.
>>>
>>>
>>> Adrian
>>>
>>>
>>> On 24 July 2011 21:21, Mohammed Shafi <shafi.wireless@gmail.com> wrote:
>>>>
>>>> On Sat, Jul 23, 2011 at 10:42 AM, Lito Kriara <L.Kriara@sms.ed.ac.uk>
>>>> wrote:
>>>>>
>>>>> Hello all,
>>>>> I have an issue with some AR9380 cards I am using.
>>>>> * My first issue is that when I try to connect to a specific network
>>>>> (e.g. iwconfig wlan0 essid OpenWrt), and I then want to see what has
>>>>> happened by iwconfig wlan0 I get the following result:
>>>>> wlan0 ? ? IEEE 802.11abgn
>>>>>
>>>>> ESSID:"\x05\xEF\xF7\x00\xE9\xA1:\xE5\xCA\x0B\xCB\xD0HGd\xBD\x1F#\x1E\xA8\x1C{d\xC5\x14sZ\xC5^Kyc"
>>>>> ? ? ? ? ? Mode:Managed ?Access Point: Not-Associated ? Tx-Power=18 dBm
>>>>> ? ? ? ? ? Retry ?long limit:7 ? RTS thr:off ? Fragment thr:off
>>>>> ? ? ? ? ? Encryption key:off
>>>>> ? ? ? ? ? Power Management:on
>>>>> Does anyone have any idea on how could I fix that?
>>>>
>>>> please disable the Network-manager if you are using iwconfig/iw to
>>>> connect to an AP.
>>>> or connect to the network using Network manager without any commands.
>>>>
>>>> --
>>>> shafi
>>>> _______________________________________________
>>>> ath9k-devel mailing list
>>>> ath9k-devel at lists.ath9k.org
>>>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>>>
>>>
>>>
>>
>>
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>>
>>
>
>
>
> --
> shafi
>
>



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-25 20:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-23  5:12 [ath9k-devel] AR9380 unable to connect via hostapd - wrong essid Lito Kriara
2011-07-23 12:28 ` Mihai Moldovan
2011-07-24 13:21 ` Mohammed Shafi
2011-07-25  1:56   ` Adrian Chadd
2011-07-25 14:20     ` Lito Kriara
2011-07-25 14:41       ` Mohammed Shafi
2011-07-25 14:50         ` Lito Kriara
2011-07-25 20:23         ` Lito Kriara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.