Bug 1381 - SqueezeBox 2 not able to join madwifi wlan
: SqueezeBox 2 not able to join madwifi wlan
Status: RESOLVED FIXED
Product: SB 2/3
Classification: Unclassified
Component: Wireless
: unspecified
: PC Debian Linux
: P2 normal (vote)
: ---
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-14 14:23 UTC by Lars Chr. Hausmann
Modified: 2008-12-18 11:38 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
airodump capture - open (1.09 KB, application/octet-stream)
2005-07-19 04:49 UTC, Robin Rainton
Details
airodump capture - wep (9.37 KB, application/octet-stream)
2005-07-19 04:50 UTC, Robin Rainton
Details
airodump capture - open - no filter (25.75 KB, application/octet-stream)
2005-07-19 15:26 UTC, Robin Rainton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Chr. Hausmann 2005-04-14 14:23:00 UTC
I have a debian gw which also functions as WLAN AP. It's running an atheros chip
based wifi card in master mode. The gw runs a kernel.org kernel version 2.6.11.5.  

The output from dmesg when the card is detected and modules is loaded is:
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
wlan: 0.8.4.5 (EXPERIMENTAL)
ath_rate_onoe: 1.0
ath_pci: 0.9.4.12 (EXPERIMENTAL)
PCI: Found IRQ 9 for device 0000:02:0d.0
PCI: Sharing IRQ 9 with 0000:02:04.0
PCI: Sharing IRQ 9 with 0000:02:09.0
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M
bps 48Mbps 54Mbps
ath0: mac 5.9 phy 4.3 radio 4.6
ath0: 802.11 address: 00:30:4f:39:30:31
ath0: Use hw queue 0 for WME_AC_BE traffic
ath0: Use hw queue 1 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Atheros 5212: mem=0xf2800000, irq=9

The network is setup like this (SID, and wep key changed - problem also persists
with these settings):auto ath0
iface ath0 inet static
  wireless_essid homewlan
  wireless_mode Master
  wireless_channel 11
  wireless_rate auto
  wireless_key 1122334455aabbddff11223344 #[1]
  address 10.10.11.1
  netmask 255.255.255.0
  wireless_txpower auto
  up /sbin/iwpriv ath0 mode 3

I am using this AP from a linux based pc running wlan in managed mode towards
the AP. The laptop is also using an atheros based card (if you find that
relevant) but have been working with other cards as well.

When I enter the network config, type in the key - it still wont join. If I
remove the key altogether it will join (at least it doesnt complain) but it wont
obtain IP  from DHCP server for the WLAN net.
Comment 1 Blackketter Dean 2005-07-18 08:22:39 UTC
*** Bug 1830 has been marked as a duplicate of this bug. ***
Comment 2 Blackketter Dean 2005-07-18 09:47:59 UTC
Lars & Robin:  Do either of you have the ability to run ethereal and sniff the wlan packets.  We've only 
got one machine here that's capable of being an access point as you describe, but it's also our sniffer!  
A trace of the negotiation might make the solution obvious.
Comment 3 Robin Rainton 2005-07-18 14:10:01 UTC
I have a laptop but it's 11b only, running XP. I have run the Auditor CD on it 
that has wireless sniffer on it. Will lock the AP in that mode, and have a go 
with this later. Unless you can recommend any windoze based tools?
Comment 4 Robin Rainton 2005-07-19 04:49:06 UTC
Created attachment 650 [details]
airodump capture - open

This is a capture with encryption turned off on the access point. The SB2 was
able to connect but not gain an address via DHCP.
Comment 5 Robin Rainton 2005-07-19 04:50:12 UTC
Created attachment 651 [details]
airodump capture - wep

This is a capture with 64 bit WEP encryption turned on. The SB2 was not able to
connect.
Comment 6 Robin Rainton 2005-07-19 04:55:46 UTC
I have attached 2 files. One with WEP on, and the other from an open access 
point.

What I find perculiar is that the open file shows no transmissions from the 
SB2. Perhaps it thinks it's sent something and connected when that really 
hasn't happened at all.

At least on with WEP on I see some packets transmitted by the SB2, although of 
course this didn't even manage to access the network.

I used airodump (from the remote-exploit live CD) running on a centrino laptop 
to get this. If you would like me to try something else, please advise.
Comment 7 Robin Rainton 2005-07-19 15:26:21 UTC
Created attachment 653 [details]
airodump capture - open - no filter

SB2 MAC: 00:04:20:05:ac:a1
 AP MAC: 00:11:95:c3:ef:db

The access point was in open mode.

This is unfiltered traffic from my building. Lots of Wlan action!
Comment 8 Vidur Apparao 2005-07-25 16:41:02 UTC
*** Bug 1830 has been marked as a duplicate of this bug. ***
Comment 9 Richard Titmuss 2006-04-18 11:51:36 UTC
Can you please try firmware 41 available in the nightly releases. In this version most of the wireless connectivity problems have been fixed. If you still are having problems please reopen this bug. Thanks.