Re: [ath5k-devel] iwlist scan shows same ap twice

2009-12-04 Thread Florian Engelhardt
On Wed, 18 Nov 2009 12:01:08 -0800, Luis R. Rodriguez mcg...@gmail.com
wrote:
 On Wed, Nov 18, 2009 at 11:42 AM, Bob Copeland m...@bobcopeland.com
wrote:

 Ok, fair enough.  We should try to figure out where the 0x5d and 0x43
 come from.  It could be memory corruption, for example, but 0x5d and
 0x43 aren't poison values.  You may try turning on slub/slab debugging
 just to be sure.
 
 He noted he sees this with iwl drivers though., Florian, please
 correct me if I'm wrong.

You are right. Any news on this?

i attached a new scan from the Laptop with intel chipset (iwlagn module).
The first Cell ist the correct access point the second cell with the same
ESSID doesn't exist. I don't know why iwlist scan finds this AP. The
Problem with all this is very annoying, even unloading iwlagn, iwlcore,
mac80211 and cfg80211 and reloading all these modules does not help.

Kind Regards

Florianwlan0 Scan completed :
  Cell 01 - Address: 00:22:B0:F5:01:59
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=64/70  Signal level=-46 dBm  
Encryption key:on
ESSID:FOOBAR
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
  9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0029e1199181
Extra: Last beacon: 3253ms ago
IE: Unknown: 0006464F4F424152
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 05040001
IE: Unknown: 2A0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32043048606C
IE: Unknown: DD0900037F01010060FF7F
  Cell 02 - Address: 3E:4D:EF:91:F4:53
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=64/70  Signal level=-46 dBm  
Encryption key:on
ESSID:FOOBAR
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
  11 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0029e118a1f0
Extra: Last beacon: 3236ms ago
IE: Unknown: 0006464F4F424152
IE: Unknown: 010882848B0C12961824
IE: Unknown: 030101
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD0900037F01010060FF7F
  Cell 03 - Address: 02:23:76:F9:6C:5B
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=70/70  Signal level=-29 dBm  
Encryption key:off
ESSID:G1Tether
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Mode:Ad-Hoc
Extra:tsf=00f238dc
Extra: Last beacon: 3186ms ago
IE: Unknown: 00084731546574686572
IE: Unknown: 010482848B96
IE: Unknown: 030106
IE: Unknown: 0602
  Cell 04 - Address: 00:15:0C:AB:8A:76
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=22/70  Signal level=-88 dBm  
Encryption key:on
ESSID:A.G.
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
  36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=322bc233
Extra: Last beacon: 3176ms ago
IE: Unknown: 0004412E472E
IE: Unknown: 010482848B96
IE: Unknown: 030106
IE: Unknown: 050C0003
IE: Unknown: 2A0107
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32080C1218243048606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) 

Re: [ath5k-devel] iwlist scan shows same ap twice

2009-12-04 Thread Luis R. Rodriguez
On Fri, Dec 4, 2009 at 1:02 PM, Florian Engelhardt f...@dotbox.org wrote:
 On Wed, 18 Nov 2009 12:01:08 -0800, Luis R. Rodriguez mcg...@gmail.com
 wrote:
 On Wed, Nov 18, 2009 at 11:42 AM, Bob Copeland m...@bobcopeland.com
 wrote:

 Ok, fair enough.  We should try to figure out where the 0x5d and 0x43
 come from.  It could be memory corruption, for example, but 0x5d and
 0x43 aren't poison values.  You may try turning on slub/slab debugging
 just to be sure.

 He noted he sees this with iwl drivers though., Florian, please
 correct me if I'm wrong.

 You are right. Any news on this?

 i attached a new scan from the Laptop with intel chipset (iwlagn module).
 The first Cell ist the correct access point the second cell with the same
 ESSID doesn't exist. I don't know why iwlist scan finds this AP.

Please consider burrying iwlist and iwconfig under some ditch and use iw.

 The
 Problem with all this is very annoying, even unloading iwlagn, iwlcore,
 mac80211 and cfg80211 and reloading all these modules does not help.

Why are you reporting iwlagn stuff on the ath5k devel list?

You also did not provide feedback on the AP, whether you asked its
admin about its config nor if it can be rebooted.

 Luis
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] iwlist scan shows same ap twice

2009-12-04 Thread John W. Linville
On Fri, Dec 04, 2009 at 01:16:54PM -0800, Luis R. Rodriguez wrote:
 On Fri, Dec 4, 2009 at 1:02 PM, Florian Engelhardt f...@dotbox.org wrote:
  On Wed, 18 Nov 2009 12:01:08 -0800, Luis R. Rodriguez mcg...@gmail.com
  wrote:
  On Wed, Nov 18, 2009 at 11:42 AM, Bob Copeland m...@bobcopeland.com
  wrote:
 
  Ok, fair enough.  We should try to figure out where the 0x5d and 0x43
  come from.  It could be memory corruption, for example, but 0x5d and
  0x43 aren't poison values.  You may try turning on slub/slab debugging
  just to be sure.
 
  He noted he sees this with iwl drivers though., Florian, please
  correct me if I'm wrong.
 
  You are right. Any news on this?
 
  i attached a new scan from the Laptop with intel chipset (iwlagn module).
  The first Cell ist the correct access point the second cell with the same
  ESSID doesn't exist. I don't know why iwlist scan finds this AP.
 
 Please consider burrying iwlist and iwconfig under some ditch and use iw.

Someone suggested reimplementing iwlist, iwconfig, etc as scripts
around iw -- any takers? :-)

John
-- 
John W. LinvilleSomeday the world will need a hero, and you
linvi...@tuxdriver.com  might be all we have.  Be ready.
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] iwlist scan shows same ap twice

2009-12-04 Thread Luis R. Rodriguez
On Fri, Dec 4, 2009 at 1:49 PM, John W. Linville linvi...@tuxdriver.com wrote:
 On Fri, Dec 04, 2009 at 01:16:54PM -0800, Luis R. Rodriguez wrote:
 On Fri, Dec 4, 2009 at 1:02 PM, Florian Engelhardt f...@dotbox.org wrote:
  On Wed, 18 Nov 2009 12:01:08 -0800, Luis R. Rodriguez mcg...@gmail.com
  wrote:
  On Wed, Nov 18, 2009 at 11:42 AM, Bob Copeland m...@bobcopeland.com
  wrote:
 
  Ok, fair enough.  We should try to figure out where the 0x5d and 0x43
  come from.  It could be memory corruption, for example, but 0x5d and
  0x43 aren't poison values.  You may try turning on slub/slab debugging
  just to be sure.
 
  He noted he sees this with iwl drivers though., Florian, please
  correct me if I'm wrong.
 
  You are right. Any news on this?
 
  i attached a new scan from the Laptop with intel chipset (iwlagn module).
  The first Cell ist the correct access point the second cell with the same
  ESSID doesn't exist. I don't know why iwlist scan finds this AP.

 Please consider burrying iwlist and iwconfig under some ditch and use iw.

 Someone suggested reimplementing iwlist, iwconfig, etc as scripts
 around iw -- any takers? :-)

This may help:

http://wireless.kernel.org/en/users/Documentation/iw/replace-iwconfig

I think the *only* command missing is 'iwconfig wlan0 power off'. And
maybe a generic 'iw link' which lists all link information for all
wiphy interfaces, but that should be easy to implement, just have to
get around to it.

  Luis
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] iwlist scan shows same ap twice

2009-11-22 Thread Florian Engelhardt
On Wed, 18 Nov 2009 14:42:51 -0500, Bob Copeland m...@bobcopeland.com
wrote:

 Ok, fair enough.  We should try to figure out where the 0x5d and 0x43
 come from.  It could be memory corruption, for example, but 0x5d and
 0x43 aren't poison values.  You may try turning on slub/slab debugging
 just to be sure.
 
 Does this happen frequently enough that you'd be able to capture some
 packets before it happens?  Something like:
 
 $ sudo su
 # iw dev wlan0 interface add monitor wlan0.mon
 # ifconfig wlan0.mon up
 # wireshark -i wlan0.mon 
 # iw dev wlan0 scan

I did that, but as i am no expert in wireshark, i just attached the
complete log. i see three MA-WLAN APs (:43, :48, :5d). Hope this helps. 

Kind regards

Florian___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] iwlist scan shows same ap twice

2009-11-18 Thread Luis R. Rodriguez
On Wed, Nov 18, 2009 at 08:31:56PM +0100, Florian Engelhardt wrote:
 On Wed, 18 Nov 2009 11:18:01 -0800
 Luis R. Rodriguez mcg...@gmail.com wrote:
 
  On Wed, Nov 18, 2009 at 11:09 AM, Florian Engelhardt f...@dotbox.org
  wrote:
   On Tue, 17 Nov 2009 13:35:24 -0800, Luis R. Rodriguez
   mcg...@gmail.com wrote:
  
   That's wild. What kernel are you using?
  
   # uname -a
   Linux eka 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009
   i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
  
   Have you tried:
   http://wireless.kernel.org/en/users/Download/stable
   or
   http://wireless.kernel.org/en/users/Download
  
   Tried both, no change.
  
   Can you provide the output of 'iw list', your dmesg, and your 'iw
   dev wlan0 scan'.
  
   See attached files. Despite that i can add one additional
   information: I have a second Laptop with Intel WLAN Chip, and it
   shows exactly the same behaviour, MA-WLAN two, sometimes three
   times, with none of the addresses being correct.
  
   Somehow, i can not reproduce this kind of behaviour with my own
   wlan. It shows up only one time, not multiple, but it did two days
   ago on the ath5k chipset based netbook
  
  As Bob pointed out your scan shows two beacons received on different
  BSSes:
  
  00:80:48:5c:86:5d
  00:80:48:5c:86:48
  
  The TSF on the second one seems odd though. Do you have access to the
  AP? Can you change the channel to see if you see the two beacons on a
  new channel?
  Can you try rebooting it?
 
 Sorry, no. I have no access to that AP, but i can ask the owner if he
 may reboot it, or if he faces any problems with it.

Yeah ask him for the actual MAC address of the BSS you are supposed to
be connecting to. Did you tell him your cards are seeing two beacons
from it?

Might want to get a sniffer an capture two beacons to show this info.

  Luis
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] iwlist scan shows same ap twice

2009-11-18 Thread Luis R. Rodriguez
On Wed, Nov 18, 2009 at 11:42 AM, Bob Copeland m...@bobcopeland.com wrote:
 On Wed, Nov 18, 2009 at 08:14:10PM +0100, Florian Engelhardt wrote:
 On Tue, 17 Nov 2009 17:11:05 -0500, Bob Copeland m...@bobcopeland.com
 wrote:

  Hmm, the mac addresses are different and they have at least a valid
  OUI:
 
  00:80:48:5C:86:5D
  00:80:48:5C:86:43

 Nope, this is not my AP, but i had the same behavior with my AP, but as
 [added Luis,list back to cc]

 Ok, fair enough.  We should try to figure out where the 0x5d and 0x43
 come from.  It could be memory corruption, for example, but 0x5d and
 0x43 aren't poison values.  You may try turning on slub/slab debugging
 just to be sure.

He noted he sees this with iwl drivers though., Florian, please
correct me if I'm wrong.

  Luis
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] iwlist scan shows same ap twice

2009-11-17 Thread Luis R. Rodriguez
On Tue, Nov 17, 2009 at 11:29 AM, Florian Engelhardt f...@dotbox.org wrote:
 Hello list,

 i recently have a problem with my ath5k wireless card in my Acer Aspire One
 Netbook. Executing iwlist scan shows some Wifi`s twice, but with different
 address and signal quality, which leads to me not being able to connect to
 this wlan.
 I attached an example output of iwlist scan.
 The WLAN MA-WLAN exists twice in the list, none of the Addresses is
 correct. I had the same problem with my WLAN (FOOBAR) until i moved it from
 channel 6 to channel 1.

 Can you please help me, what is going on here?

 This bug is realy annoying to me, couse every few days i have to change the
 wlan channel for it to work. Unloading an reloading the ath5k module does
 not help.

 Kind regards

 Florian

 PS: Please CC me, couse i am not on the list

That's wild. What kernel are you using? Have you tried:

http://wireless.kernel.org/en/users/Download/stable

or

http://wireless.kernel.org/en/users/Download

Can you provide the output of 'iw list', your dmesg, and your 'iw dev
wlan0 scan'.

  Luis
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel