Test kernel with Broadcom BCM43xx wireless support.

David Woodhouse dwmw2 at infradead.org
Thu Jan 5 10:19:16 UTC 2006


On Wed, 2006-01-04 at 20:23 -0500, Andrew Overholt wrote:
> I made it through the fwcutter stuff no problem but I'm a bit unsure as to
> where to go from here.  At first I tried adding a device with s-c-n but
> that seems like it should be unnecessary.  Do I need to do this to be able
> to use ifup?  NetworkManager seems to be a bit broken for me ATM so I've
> been playing with iwconfig.

Hm. What's wrong with NetworkManager? It's working here.

> Immediately after boot, iwconfig shows the Airport Extreme device as eth0
> but when I actually start up wired networking (with ifup eth0), iwconfig
> changes to list the device as "dev#####" where the #s seem to be the device
> number.  Is this what I should expect? 

Possibly. I think this happens because it knows your wired Ethernet card
by its MAC address and knows it should be 'eth0', but the bcm43xx driver
is getting loaded first and hence getting the name 'eth0', so it has to
be renamed out of the way. I'm surprised it's left with such a silly
name though, rather than getting renamed to 'eth1'. I'd file a bug
against whatever's doing the renaming... although I'm not entirely sure
what that is. Hotplug, perhaps, or initscripts?

>  Is putting alias eth1 bcm43xx in
> /etc/modprobe.conf all I need to do?

You shouldn't even need to do that -- it should just get loaded
automatically when we detect the appropriate PCI device.

If it has a silly name, fix that with 'ip link set <dev> name <name>':

 ip link set devXXXXX name eth1

You'll need to make sure it's down (ip link set devXXXXX down) first,
but it probably will be anyway. Or you could just unload the bcm43xx
module and reload it, and hopefully it won't get renamed again.

Bring it up, set the WEP key if any, set the ESSID. Look in dmesg and
you should see that it's associated. That is:

	ip link set eth1 up
	iwconfig eth1 enc your-wep-key-here
	iwconfig eth1 essid your-essid-here
	dmesg

You should see something like this...

bcm43xx driver 0.0.1
bcm43xx: Chip ID 0x4306, rev 0x2
bcm43xx: Number of cores: 6
bcm43xx: Core 0: ID 0x800, rev 0x2, vendor 0x4243, enabled
bcm43xx: Core 1: ID 0x812, rev 0x4, vendor 0x4243, enabled
bcm43xx: Core 2: ID 0x80d, rev 0x1, vendor 0x4243, enabled
bcm43xx: Core 3: ID 0x807, rev 0x1, vendor 0x4243, disabled
bcm43xx: Core 4: ID 0x804, rev 0x7, vendor 0x4243, enabled
bcm43xx: Core 5: ID 0x812, rev 0x4, vendor 0x4243, disabled
bcm43xx: Ignoring additional 802.11 core.
bcm43xx: PHY connected
bcm43xx: Detected PHY: Version: 1, Type 2, Revision 1
bcm43xx: Detected Radio:  ID: 2205017f (Manuf: 17f Ver: 2050 Rev: 2)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: PHY connected
bcm43xx: PHY disconnected
bcm43xx: PHY connected
bcm43xx: InitVals written
bcm43xx: Radio turned on
bcm43xx: Chip initialized
bcm43xx: DMA initialized
bcm43xx: 80211 cores initialized
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1447
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1449
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1449
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1449
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1449
bcm43xx: Keys cleared
bcm43xx: set security called
bcm43xx:    .active_key = 0
bcm43xx:    .level = 1
bcm43xx:    .enabled = 1
bcm43xx:    .encrypt = 1
SoftMAC: net/ieee80211/softmac/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
SoftMAC: Queueing Authentication Request to 00:06:25:4b:55:f8
SoftMAC: cannot associate without being authenticated, requested authentication
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
SoftMAC: Sent Authentication Request to 00:06:25:4b:55:f8.
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
SoftMAC: Open Authentication completed with 00:06:25:4b:55:f8
SoftMAC: net/ieee80211/softmac/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
SoftMAC: net/ieee80211/softmac/ieee80211softmac_assoc.c:15:ieee80211softmac_assoc()
SoftMAC: sent association request!
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
SoftMAC: Authentication response received from 00:06:25:4b:55:f8 but no queue item exists.
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
SoftMAC: Authentication response received from 00:06:25:4b:55:f8 but no queue item exists.
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
SoftMAC: Authentication response received from 00:06:25:4b:55:f8 but no queue item exists.
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
SoftMAC: Authentication response received from 00:06:25:4b:55:f8 but no queue item exists.
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
SoftMAC: Authentication response received from 00:06:25:4b:55:f8 but no queue item exists.
SoftMAC: net/ieee80211/softmac/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
SoftMAC: Authentication response received from 00:06:25:4b:55:f8 but no queue item exists.
SoftMAC: associated!


At this point, you should be associated with the AP, and you should be
able to see network traffic. Assuming you run an IPv6 route
advertisement dæmon (radvd) running, you should already have an IPv6
address on the card and it should be working. If you also need legacy
IP, then also run 'dhclient eth1'.

-- 
dwmw2





More information about the ppc mailing list