Re: bcm43xx 2.6.17-rc5 problems

2006-05-28 Thread Bernhard Reiter
On Sat, May 27, 2006 at 08:32:16PM +0200, Guido Guenther wrote:
 On Sat, May 27, 2006 at 02:20:59PM +0200, Bernhard Reiter wrote:
  Now that 2.6.17-rc5 is out I gave it a test run.
  Unfortunately the wireless driver bcm43xx does not work,
  it not been working with -rc3 either.
  
  Using the patches (softmac and all this) against 2.6.15.4 
  I got it to work a few times, and now I hoped that the integration into 
  the kernel would have made stuff better, but it didn't.
  
  Any hints appreciated.
 What worked for me is associating with the access point manually,
 i.e., ifconfig the interface, do dhcp (you won't get an address)
 then:
 - iwlist scan
 - iwconfig wireless-interface ap mac-of-ap

Thanks for the hint, 
I have just tried, but it did not help me.

 It seems there's something broken with the ap selection code, but I
 didn't get around to figure out what exactly.

I have several aps in range and setting an essid usually is enough
to have iwconfig show the right one.

Also I have tried a new kernel configuration.

?*   Generic IEEE 802.11 Networking Stack
  ? ?[*] Enable full debugging output

interesting enough I had to compile the above in (_not_ a module)
to make it possible to enable the WEP support as a module.

  ? ?M IEEE 802.11 WEP encryption (802.1x)
  ? ?M IEEE 802.11i CCMP support
  ? ?M IEEE 802.11i TKIP encryption
  ? ?M Software MAC add-on to the IEEE 802.11 networking stack
  ? ?[*]   Enable full debugging output 


May 28 11:06:10 localhost kernel: SoftMAC: Start scanning with channel: 1
May 28 11:06:10 localhost kernel: SoftMAC: Scanning 14 channels
May 28 11:06:10 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
May 28 11:06:11 localhost kernel: SoftMAC: Scanning finished
May 28 11:06:11 localhost kernel: SoftMAC: Queueing Authentication Request to 
00:23:45:67:89:ab
May 28 11:06:11 localhost kernel: SoftMAC: cannot associate without being 
authenticated, requested authentication
May 28 11:06:11 localhost kernel: SoftMAC: Sent Authentication Request to 
00:23:45:67:89:ab.
May 28 11:06:14 localhost kernel: SoftMAC: Can't perform deauthentication, 
network is not authenticated.
May 28 11:06:14 localhost kernel: SoftMAC: Authentication response received 
from 00:13:ce:9f:f8:af but no queue item exists.
May 28 11:06:14 localhost kernel: ieee80211: eth1: IEEE80211_ASSOC_REQ received
May 28 11:06:18 localhost kernel: SoftMAC: cannot associate without being 
authenticated, requested authentication
May 28 11:06:18 localhost kernel: SoftMAC: cannot associate without being 
authenticated, requested authentication
May 28 11:06:22 localhost kernel: SoftMAC: Authentication response received 
from 00:13:ce:9f:f8:af but no queue item exists.
May 28 11:06:22 localhost kernel: ieee80211: eth1: IEEE80211_ASSOC_REQ received
May 28 11:06:23 localhost kernel: SoftMAC: Sent Authentication Request to 
00:23:45:67:89:ab.
May 28 11:06:30 localhost kernel: SoftMAC: Authentication response received 
from 00:13:ce:9f:f8:af but no queue item exists.
May 28 11:06:30 localhost kernel: ieee80211: eth1: IEEE80211_ASSOC_REQ received
May 28 11:06:35 localhost kernel: SoftMAC: Sent Authentication Request to 
00:23:45:67:89:ab.
May 28 11:06:38 localhost kernel: SoftMAC: Authentication response received 
from 00:13:ce:9f:f8:af but no queue item exists.
May 28 11:06:38 localhost kernel: ieee80211: eth1: IEEE80211_ASSOC_REQ received
May 28 11:06:46 localhost kernel: SoftMAC: Authentication response received 
from 00:13:ce:9f:f8:af but no queue item exists.



pgpXkOiBzAmBb.pgp
Description: PGP signature


Re: bcm43xx 2.6.17-rc5 problems

2006-05-27 Thread Guido Guenther
On Sat, May 27, 2006 at 02:20:59PM +0200, Bernhard Reiter wrote:
 Now that 2.6.17-rc5 is out I gave it a test run.
 Unfortunately the wireless driver bcm43xx does not work,
 it not been working with -rc3 either.
 
 Using the patches (softmac and all this) against 2.6.15.4 
 I got it to work a few times, and now I hoped that the integration into 
 the kernel would have made stuff better, but it didn't.
 
 Any hints appreciated.
What worked for me is associating with the access point manually,
i.e., ifconfig the interface, do dhcp (you won't get an address)
then:
- iwlist scan
- iwconfig wireless-interface ap mac-of-ap
- rerun dhcp 
It seems there's something broken with the ap selection code, but I
didn't get around to figure out what exactly.
Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: bcm43xx 2.6.17-rc5 problems

2006-05-27 Thread Børge Holen
On Saturday 27 May 2006 14:20, Bernhard Reiter wrote:
 Now that 2.6.17-rc5 is out I gave it a test run.
 Unfortunately the wireless driver bcm43xx does not work,
 it not been working with -rc3 either.

It's been workin for me since 2.6.17-rc1, I've followed all the rc's but rc5.
rc3 certainly worked with the bcm43xx.
However, I got to try connecting many times and at last (at some point) it 
will connect.
Also it got huge problems connection to a network if the dhclient files for 
the interface in /var/run/ exists.
My rutine have come to be; 
* run a dhcp query to times
* rm /var/run/dhcl*
* dhcp query and I usually get an IP and is connected

THIS NEVER WORKS with the following:

The cursed Cnet routers almost never works and throws me off every so often... 
(once or twice an hour).
Huh anything to come out of dlinks doors seems to follow the same path.

At this stage I must try anything at random, maby a reboot once or twice... 
anythin... but no pattern is available. 


Børge



 Using the patches (softmac and all this) against 2.6.15.4
 I got it to work a few times, and now I hoped that the integration into
 the kernel would have made stuff better, but it didn't.

 Any hints appreciated.


 Powerbook5,6
 Debian Sarge with backported
 ii  wireless-tools   27+28pre13-1

 Doing the ifconfig eth1 and then after a iwlist eth1 scanning
 iwconfig eth1 essid conference channel 8 rate 11M
 First it looks fine, but these are the sort of messages I get a lot:

 May 27 12:59:02 localhost kernel: ieee80211: eth1: IEEE80211_ASSOC_REQ
 received

 May 27 13:00:04 localhost kernel: SoftMAC: Authentication response
 received from 00:XX:XX:XX:XX:XX but no queue item exists.

 (The XX actually having numbers from the right access point.)

 But I cannot do dhclient eth1 or anything else to get the network working.
 Other laptops (non-broadcom) around me can do it without problems.

 Here is a full session:

86  ifconfig eth1 up
87  iwconfig eth1 essid conference channel 8 rate 11M
88  ifconfig
89  iwconfig
90  dhclient eth1
91  ifconfig eth1 down

 eth1  IEEE 802.11b/g  ESSID:conference  Nickname:Broadcom 4306
   Mode:Managed  Frequency=2.447 GHz  Access Point:
 00:xx:xx:xx:xx:xx Bit Rate:11 Mb/s   Tx-Power=15 dBm
   RTS thr:off   Fragment thr:off
   Encryption key:off
   Link Quality:0  Signal level:0  Noise level:0
   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
   Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 I get this signal with iwconfig a few times as well, then it says:

 eth1  IEEE 802.11b/g  ESSID:conference  Nickname:Broadcom 4306
   Mode:Managed  Frequency=2.447 GHz  Access Point:
 00:xx:xx:xx:xx:xx Bit Rate:11 Mb/s   Tx-Power=15 dBm
   RTS thr:off   Fragment thr:off
   Encryption key:off
   Link Quality=100/100  Signal level=2/3  Noise level=187/100
   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
   Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 but this only slightly changes the messsge.


 /var/log/syslog (some anonymisation done), without associations working.

 May 27 14:14:37 localhost kernel: bcm43xx: PHY connected
 May 27 14:14:37 localhost kernel: bcm43xx: Radio turned on
 May 27 14:14:37 localhost kernel: bcm43xx: Chip initialized
 May 27 14:14:37 localhost kernel: bcm43xx: DMA initialized
 May 27 14:14:37 localhost kernel: bcm43xx: 80211 cores initialized
 May 27 14:14:37 localhost kernel: bcm43xx: Keys cleared
 May 27 14:14:37 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not
 ready May 27 14:15:07 localhost kernel: printk: 9 messages suppressed.
 May 27 14:15:07 localhost kernel: SoftMAC: Authentication response received
 from 00:13:ce:9e:a2:f4 but no queue item exists. May 27 14:15:10 localhost
 last message repeated 8 times
 May 27 14:15:17 localhost kernel: printk: 12 messages suppressed.
 May 27 14:15:17 localhost kernel: SoftMAC: Authentication response received
 from 00:13:ce:9e:a2:f4 but no queue item exists. May 27 14:15:20 localhost
 kernel: printk: 124 messages suppressed. May 27 14:15:20 localhost kernel:
 SoftMAC: Authentication response received from 00:13:ce:9e:a2:f4 but no
 queue item exists. May 27 14:15:23 localhost dhclient: Internet Software
 Consortium DHCP Client 2.0pl5 May 27 14:15:23 localhost dhclient: Copyright
 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. May 27
 14:15:23 localhost dhclient: All rights reserved.
 May 27 14:15:23 localhost dhclient:
 May 27 14:15:23 localhost dhclient: Please contribute if you find this
 softwareuseful. May 27 14:15:23 localhost dhclient: For info, please visit
 http://www.isc.org/dhcp-contrib.html May 27 14:15:23 localhost dhclient:
 May 27 14:15:23 localhost dhclient: sit0: unknown hardware address type 776
 May 27 14:15:24 localhost dhclient: sit0: unknown hardware address type 776
 May 27 14:15:24 localhost dhclient: Listening on