| View previous topic :: View next topic |
| Author |
Message |
ruben Guru

Joined: 04 Jul 2003 Posts: 462
|
Posted: Sun Jan 08, 2006 8:31 pm Post subject: |
|
|
| bz31 wrote: | Maybe you should retry dhcp using the latest svn bcm43xx_dscape.
I have just re-tested dhcp. It woks for the first time for me ! (AP D-Link DI 624+). |
I patched vanilla 2.6.15 with devicescape patch ds060105 and used the dscape driver from svn, but still no go
It's a bit frustrating since yesterday I tested both softmac and devicescape and none of them works with dhcp.
It does work however with a fixed ip and for now I'm just gonna leave it like that for awhile. |
|
| Back to top |
|
 |
Sertinell Guru

Joined: 19 May 2004 Posts: 582
|
Posted: Sun Jan 08, 2006 10:15 pm Post subject: |
|
|
| zeuss1414 wrote: | Hello everybody,
I made the first version without WEP working but I don't understant what to do to use WEP ou WAP.
Can anyone make a little how to install and use step by step the driver with WPA or WEP ,??
Thanks in advance. |
Are you changed your AP ?? Have you a solution for 0x13 error ??
thanks |
|
| Back to top |
|
 |
Havin_it l33t

Joined: 17 Jul 2005 Posts: 941 Location: Edinburgh, UK
|
Posted: Mon Jan 09, 2006 12:46 pm Post subject: |
|
|
Okay, a couple things (really to condense my earlier questions into one place):
1 - What effect does it have when a fwcutter operation reports some parts can't be extracted?
2 - Can anyone recommend a version of the bcmwl5.sys driver that gives none of these errors?
3 - Can anyone suggest why the initscript for net.eth1 fails, with identical configs to those previously used for net.wlan0/ndiswrapper? I've no idea how to troubleshoot this...
4 - Is there anything in the current code dealing with the power/status LEDs? If so, does anyone have it working?
TIA |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2762
|
Posted: Mon Jan 09, 2006 2:01 pm Post subject: |
|
|
1. It doesn't matter unless your card uses those firmware files, which it most likely does not.
2. http://forums.gentoo.org/viewtopic-p-2936474.html#2936474
3. The init script won't work at all with devicescape, with softmac, the order each action occurs in is really important, so I don't expect that it'll work either. If you want it to start on boot add the commands you want to use to local.start
4. No, these do not work yet _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
dgulotta n00b

Joined: 09 Jan 2006 Posts: 43 Location: Chicago, IL
|
Posted: Tue Jan 10, 2006 6:06 am Post subject: |
|
|
I am able to see the network when I run iwlist, but I cannot connect to the network with either dhcp or a static IP.
lspci output:
0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
dhcpcd -d messages:
dhcpcd[7376]: broadcasting DHCP_REQUEST for 18.241.5.81
dhcpcd[7376]: timed out waiting for DHCP_ACK response
dhcpcd[7376]: broadcasting DHCP_DISCOVER
dhcpcd[7376]: timed out waiting for a valid DHCP server response
commands I ran, along with corresponding dmesg output:
modprobe ieee80211
> ieee80211_crypt: registered algorithm 'NULL'
> ieee80211: 802.11 data/management/control stack, git-1.1.7
> ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
insmod sources/softmac/source/ieee80211softmac.ko
modprobe firmware_class
insmod sources/bcm43xx/trunk/driver/bcm43xx.ko
> bcm43xx: no version for "ieee80211softmac_wx_set_rate" found: kernel tainted.
> bcm43xx driver 0.0.1
> PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
> bcm43xx: Chip ID 0x4318, rev 0x2
> bcm43xx: Number of cores: 4
> bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
> bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
> bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
> bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
> bcm43xx: PHY connected
> bcm43xx: Detected PHY: Version: 3, Type 2, Revision 7
> bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev:
> bcm43xx: Radio turned off
> bcm43xx: Radio turned off
> bcm43xx: PHY connected
> bcm43xx: Radio turned on
> bcm43xx: Chip initialized
> bcm43xx: DMA initialized
> bcm43xx: 80211 cores initialized
> bcm43xx: Keys cleared
> bcm43xx: set security called
> bcm43xx: .level = 0
> bcm43xx: .enabled = 0
> bcm43xx: .encrypt = 0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: Queueing Authentication Request to 00:11:88:05:e4:30
> SoftMAC: cannot associate without being authenticated, requested authentication
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: Start scanning with channel: 1
> SoftMAC: Scanning 13 channels
> SoftMAC: Scanning finished
> bcm43xx: Radio turned off
> bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
> bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0220 (TX) max used slots: 1/512
> bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
> bcm43xx: Radio turned on
> bcm43xx: Chip initialized
> bcm43xx: DMA initialized
> bcm43xx: 80211 cores initialized
> bcm43xx: Keys cleared
> bcm43xx: set security called
> bcm43xx: .level = 0
> bcm43xx: .enabled = 0
> bcm43xx: .encrypt = 0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: Queueing Authentication Request to 00:11:88:05:e4:30
> SoftMAC: cannot associate without being authenticated, requested authentication
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
ifconfig eth0 up
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Authentication timed out with 00:11:88:05:e4:30
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: cannot associate without being authenticated, requested authentication
> bcm43xx: Radio turned off
> bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
> bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0220 (TX) max used slots: 1/512
> bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
> bcm43xx: Radio turned on
> bcm43xx: Chip initialized
> bcm43xx: DMA initialized
> bcm43xx: 80211 cores initialized
> bcm43xx: Keys cleared
iwlist eth0 scan
> SoftMAC: Start scanning with channel: 1
> SoftMAC: Scanning 13 channels
> SoftMAC: Scanning finished
iwconfig eth0 channel 6
iwconfig eth0 rate 54M
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:12:f0:44:ba:8e but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:16:c0 but no queue item exists.
> ieee80211: eth0: Unknown management packet: 0
> SoftMAC: got disassoc frame
iwconfig eth0 essid "MIT"
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: Queueing Authentication Request to 00:11:88:05:e4:30
> SoftMAC: cannot associate without being authenticated, requested authentication
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
dhcpcd -d eth0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:12:f0:44:ba:8e but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:16:c0 but no queue item exists.
> ieee80211: eth0: Unknown management packet: 0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: got disassoc frame
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Authentication timed out with 00:11:88:05:e4:30
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: Queueing Authentication Request to 00:11:88:05:e4:30
> SoftMAC: cannot associate without being authenticated, requested authentication
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> DEAUTH from AP
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:323:ieee80211softmac_deauth_resp()
> SoftMAC: Recieved deauthentication packet from 00:11:88:06:02:88, but that network is unknown.
> DEAUTH from AP
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:323:ieee80211softmac_deauth_resp()
> SoftMAC: Recieved deauthentication packet from 00:11:88:06:02:88, but that network is unknown.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Authentication timed out with 00:11:88:05:e4:30
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: cannot associate without being authenticated, requested authentication
> bcm43xx: Radio turned off
> bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
> bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0220 (TX) max used slots: 1/512
> bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
ifconfig eth0 up
> bcm43xx: Radio turned on
> bcm43xx: Chip initialized
> bcm43xx: DMA initialized
> bcm43xx: 80211 cores initialized
> bcm43xx: Keys cleared
/etc/init.d/net.eth0 start (uses static ip address)
> bcm43xx: set security called
> bcm43xx: .level = 0
> bcm43xx: .enabled = 0
> bcm43xx: .encrypt = 0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: Queueing Authentication Request to 00:11:88:05:e4:30
> SoftMAC: cannot associate without being authenticated, requested authentication
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: Start scanning with channel: 1
> SoftMAC: Scanning 13 channels
> SoftMAC: Scanning finished
> bcm43xx: Radio turned off
> bcm43xx: DMA 0x0200 (RX) max used slots: 1/64
> bcm43xx: DMA 0x0260 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0240 (TX) max used slots: 0/512
> bcm43xx: DMA 0x0220 (TX) max used slots: 1/512
> bcm43xx: DMA 0x0200 (TX) max used slots: 0/512
> bcm43xx: Radio turned on
> bcm43xx: Chip initialized
> bcm43xx: DMA initialized
> bcm43xx: 80211 cores initialized
> bcm43xx: Keys cleared
> bcm43xx: set security called
> bcm43xx: .level = 0
> bcm43xx: .enabled = 0
> bcm43xx: .encrypt = 0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: Queueing Authentication Request to 00:11:88:05:e4:30
> SoftMAC: cannot associate without being authenticated, requested authentication
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Sent Authentication Request to 00:11:88:05:e4:30.
ping 18.7.22.69
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:55:ieee80211softmac_auth_queue()
> SoftMAC: Authentication timed out with 00:11:88:05:e4:30
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_assoc.c:157:ieee80211softmac_assoc_work()
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:13:ieee80211softmac_auth_req()
> SoftMAC: cannot associate without being authenticated, requested authentication
> SoftMAC: got disassoc frame
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:12:f0:44:ba:8e but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:16:c0 but no queue item exists.
> ieee80211: eth0: Unknown management packet: 0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:13:ce:21:8f:86 but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:02:88 but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:02:88 but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:02:88 but no queue item exists.
> ieee80211: eth0: Unknown management packet: 0
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:14:a5:0b:66:c4 but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:16:c0 but no queue item exists.
> ieee80211: eth0: Unknown management packet: 32
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:12:40 but no queue item exists.
> SoftMAC: got disassoc frame
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:13:ce:21:8f:86 but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:13:ce:21:8f:86 but no queue item exists.
> SoftMAC: /home/dan/sources/softmac/source/ieee80211softmac_auth.c:105:ieee80211softmac_auth_resp()
> SoftMAC: Authentication response received from 00:11:88:06:16:c0 but no queue item exists.
> ieee80211: eth0: Unknown management packet: 0 |
|
| Back to top |
|
 |
Fugee47 Apprentice

Joined: 25 Nov 2004 Posts: 196 Location: Germany
|
Posted: Tue Jan 10, 2006 9:08 am Post subject: |
|
|
| I had the same Problems with the softmac-stack. Then i configured the dscape-stack and with the first try i got a wpa-crypted connection to my ap. |
|
| Back to top |
|
 |
thedopefishlives Tux's lil' helper

Joined: 23 Nov 2005 Posts: 84
|
Posted: Tue Jan 10, 2006 3:42 pm Post subject: |
|
|
I've been trying to use the dscape driver for my unsecured wireless using wpa_supplicant. I *can* get it to work using ndiswrapper+wpa_supplicant, so that's not the issue. But even though wpa_supplicant says it successfully associates with the access point, I can't connect to the network. The following error message shows up in my kernel logs:
| Code: | bcm43xx: XMIT ERROR
bcm43xx: Generic Reason: 0x00004900
bcm43xx: DMA reasons: 0x00000000, 0x00000000, 0x00000000, 0x00000000
bcm43xx: DMA TX status: 0x00002000, 0x00002000, 0x00002000, 0x00002000
|
Any ideas? |
|
| Back to top |
|
 |
dgulotta n00b

Joined: 09 Jan 2006 Posts: 43 Location: Chicago, IL
|
Posted: Tue Jan 10, 2006 9:13 pm Post subject: |
|
|
I can't get the devicescape driver to work either. sta_up.sh fails with this output:
wpgcc -O0 -o ./.add_sta ./.add_sta.c
./.add_sta wlan0 sta0
iwconfig wlan0.11 mode managed
ifconfig wlan0.11 up
ifconfig sta0 hw ether 00:11:24:C3:66:0D
ifconfig sta0 18.241.5.81
ifconfig sta0 up
iwconfig sta0 mode managed
wpa_supplicant -B -Ddscape -ista0 -c/etc/wpa_supplicant.conf
Unsupported driver 'dscape'.
FAILED (255)
Did I apply the wpa_supplicant patch incorrectly? I did
patch -p1 < wpa_supplicant-0.4.7_dscape-02.patch |
|
| Back to top |
|
 |
bz31 Tux's lil' helper

Joined: 20 Apr 2005 Posts: 108
|
Posted: Tue Jan 10, 2006 9:23 pm Post subject: |
|
|
Maybe your .config is not correct.
Try "cp defconfig .config" in your wpa_supplicant-0.4.7 before doing make. |
|
| Back to top |
|
 |
dgulotta n00b

Joined: 09 Jan 2006 Posts: 43 Location: Chicago, IL
|
Posted: Tue Jan 10, 2006 10:07 pm Post subject: |
|
|
| Thanks, it works now. |
|
| Back to top |
|
 |
florist n00b

Joined: 09 Jan 2006 Posts: 2
|
Posted: Wed Jan 11, 2006 12:33 am Post subject: 2.6.15 bcm43xx-dscape woes |
|
|
Hi,
I tried the bcm43xx-dscape driver with a patched 2.6.15 kernel on my iBook G4 12" and I cannot get it to work. Some relevant information...
CPU information
| Code: |
processor : 0
cpu : 7447A, altivec supported
clock : 1333MHz
revision : 0.5 (pvr 8003 0105)
bogomips : 1327.10
machine : PowerBook6,7
motherboard : PowerBook6,7 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 512K unified
memory : 1024MB
pmac-generation : NewWorld
|
Output from lspci -vv
| Code: |
0001:10:12.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: Apple Computer Inc.: Unknown device 4318
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16
Interrupt: pin A routed to IRQ 52
Region 0: Memory at 80084000 (32-bit, non-prefetchable) [disabled] [size=8K]
|
I am using the January 10, 2006 snapshot of bcm43xx on 2.6.15 kernel with the unofficial patch available at bcm43xx.berlios.de
Once the kernel boots up, modprobe rate_control 80211 and insmod bcm43xx.ko works without errors. The relevant dmesg output | Code: |
80211: module license 'unspecified' taints kernel.
"bcm43xx" driver 0.0.1
PCI: Enabling device 0001:10:12.0 (0004 -> 0006)
"bcm43xx": Chip ID 0x4318, rev 0x2
"bcm43xx": Number of cores: 4
"bcm43xx": Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
"bcm43xx": Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
"bcm43xx": Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
"bcm43xx": Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
"bcm43xx": PHY connected
"bcm43xx": Detected PHY: Version: 3, Type 2, Revision 7
"bcm43xx": Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
"bcm43xx": Radio turned off
"bcm43xx": Radio turned off
wlan0: Selected rate control algorithm 'simple'
|
However, the script sta_up.sh caused the kernel to crash (can someone tell me what to dump from xmon. I am not sure what information in there is relevant). I traced the crash to the following command in the script sta_up.sh
ifconfig wlan0.11 up
Instead I tried
ifconfig wlan0 up and then proceeded with the remaining steps in sta_up.sh manually and dmesg output shows...
| Code: |
sta0: using STA entry 0
sta0: MAC address 00:14:51:82:b1:3c
"bcm43xx": PHY connected
"bcm43xx": Radio turned on
"bcm43xx": ASSERTION FAILED (radio_attenuation < 10) at: /home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_phy.c:1257:bcm43xx_find_lopair()
"bcm43xx": Chip initialized
"bcm43xx": ASSERTION FAILED (0) at: /home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_main.c:2996:bcm43xx_gen_bssid()
"bcm43xx": DMA initialized
"bcm43xx": 80211 cores initialized
"bcm43xx": Keys cleared
wlan0.11: Does not support passive scan, disabled
wlan0: no IPv6 routers present
"bcm43xx": TODO: Incomplete code in bcm43xx_set_iwmode() at /home/shreyas/src/bcm43xx-dscape-20060110/bcm43xx_main.c:2540
|
However, wpa_supplicant doesn't connect and I get the following message repeated indefinitely in dmesg
| Code: |
sta0: no IPv6 routers present
sta0: starting scan
sta0: scan completed
sta0: Initial auth_alg=0
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authenticate with AP 00:0c:41:f3:56:eb
sta0: authentication with AP 00:0c:41:f3:56:eb timed out
|
iwconfig shows
| Code: |
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz
RTS thr:off Fragment thr=2346 B
wlan0.11 IEEE 802.11g ESSID:off/any Nickname:"Broadcom 4318"
Mode:Managed Frequency:2.462 GHz
RTS thr:off Fragment thr=2346 B
sta0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: 00:0C:41:F3:56:EB
RTS thr:off Fragment thr=2346 B
|
and ifconfig shows
| Code: |
sta0 Link encap:Ethernet HWaddr 00:14:51:82:B1:3C
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::214:51ff:fe82:b13c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:576 (576.0 b)
wlan0 Link encap:Ethernet HWaddr 00:14:51:82:B1:3C
inet6 addr: fe80::214:51ff:fe82:b13c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
|
I have to use WEP and I don't have any open routers or WPA routers to test these options. The router is a Linksys WRT54G model. So my questions are...
1. Any suggestions on how I can avoid the kernel panic when I do "ifconfig wlan0.11 up"? What information should I provide so that someone can help me with that? I have xmon enabled in my kernel and I can post the relevant information.
2. Is my wireless card really working if I replace "ifconfig wlan0.11 up" with "ifconfig wlan0 up"? The timeout problem seems very similar to Anarchy's report earlier in this thread.
I also tried the softmac+bcm43xx approach, with the ieee80211 patch (in a previous post by Anarchy) to enable WEP support in softmac, but that fails again with errors similar to those reported by dgulotta earlier in this thread. |
|
| Back to top |
|
 |
florist n00b

Joined: 09 Jan 2006 Posts: 2
|
Posted: Wed Jan 11, 2006 5:43 am Post subject: softmac+bcm43xx working with WEP |
|
|
Hi,
I finally got the softmac+bcm43xx driver working with a patched (for WEP support) 2.6.15 kernel. Initially I had problems similar to that reported by dgulotta earlier in this thread. It seems that the association problems happened because I set the key before the essid. Once I changed the order of those commands the wireless card was able to associate with the router.
Laptop: iBook G4 12" (see previous post)
Router: Linksys WRT54G
Encryption: WEP (with kernel patch from a previous post in this thread)
softmac and bcm43xx: snapshots from January 9, 2006, available at ftp://ftp.berlios.de/pub/bcm43xx/snapshots/
Commands:
modprobe ieee80211
modprobe ieee80211_crypt_wep
insmod ieee80211softmac.ko
insmod bcm43xx.ko
ifconfig eth1 up #interface shows up as either eth1 or eth2, not sure why
iwlist eth1 scan
iwconfig eth1 rate 11M
iwconfig eth1 essid "access_point" #Order of this and the next command seems to matter!!!!
iwconfig eth1 key xxxx-xxxx-xx
Both dhcp and static IPs work from this point onwards.
Meanwhile, I still get kernel panics with the dscape stack. Will test it again sometime later with a newer snapshot.
Thank you everyone for all the helpful tips in this thread which got my wireless card working. |
|
| Back to top |
|
 |
timotheus25 Apprentice

Joined: 27 Dec 2005 Posts: 162 Location: *upstate* New York, USA
|
Posted: Thu Jan 12, 2006 5:29 am Post subject: tips: bcm43xx WEP with softmac, powerbook, sleep |
|
|
For the frustrated out there, just skip the dscape patches. Skip the custom kernel patches, all hacks, etc. The following works very well on an Aluminum Powerbook 15" 1.25 GHz. With these settings, my laptop gets almost the full 11M of 802.11b with or without WEP, with private AP or roaming amongst managed APs. And no hack-and-patch of kernel code by myself. Just some bash scripts.
# lspci | grep Wireless
0001:10:12.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
# sudo emerge -av =sys-kernel/gentoo-sources-2.6.15 =net-wireless/wireless-tools-28_pre10
Use recent BCM43XX, SOFTMAC, and FWCLUTTER snapshots (20060109 is good).
Configure and install 2.6.15-gentoo kernel according to BCM43XX requirements.
Extract firmware from old AE driver on Apple website as suggested in BCM43XX/FWCLUTTER instructions.
Setup drivers according to docs.
Remember after compiling each module snapshot:
# sudo make install
And always use "modprobe" instead of "insmod" to properly load module deps.
Only need to "modprobe" the hardware driver. The rest is automatic if you installed the modules correctly.
Managed 802.11b, roaming profile across large campus, no WEP.
| Code: |
modprobe bcm43xx
NICK=? CHAN=? RATE=?
ifconfig ${iface} down
ifconfig ${iface} up
iwconfig ${iface} channel ${CHAN}
iwconfig ${iface} rate ${RATE}M
iwconfig ${iface} essid ${NICK}
iwconfig ${iface} nick ${NICK}
iwconfig ${iface} key off
iwconfig ${iface} ap any
|
Make a script to parse the output of:
# iwlist ${iface} scan
to detect CHAN, if necessary. CHAN changes across campus buildings, usually.
After suspending machine and resuming in other building, may need to adjust CHAN.
The "ap any" will change AP dynamically according to signal strength. Don't forget this one!
If the "ap any" is working, _SHOULD_ see "FF:FF:FF:FF:FF:FF:FF:FF" as AP address:
# iwconfig ${iface}
Let RATE=5.5 or lower to handle poor signal strength while moving the laptop, since the driver won't auto-adjust the rate.
Single router, 802.11b, 128-bit manual WEP:
| Code: |
modprobe bcm43xx
ifconfig ${iface} down
ifconfig ${iface} up
iwconfig ${iface} channel ${CHAN}
iwconfig ${iface} rate ${RATE}M
iwconfig ${iface} essid ${NICK}
iwconfig ${iface} nick ${NICK}
iwconfig ${iface} key ${KEY}
iwconfig ${iface} ap any
|
If the "ap any" worked, _MIGHT_ see "FF:FF:FF:FF:FF:FF:FF:FF" as AP address:
# iwconfig ${iface}
Doesn't matter if using specific AP MAC since there's only one AP here anyway!
Could also find the MAC from 'iwlist' and set manually. Shouldn't be necessary, but OK to do.
Let RATE=11 to handle full strength 802.11b. (Other speeds for 802.11g.)
Suspending the laptop with pbbuttonsd can lockup if the BCM43XX driver is loaded.
# cp /etc/power/scripts.d/skeleton /etc/power/scripts.d/bcm43xx_unload
On suspend action:
# ifconfig ${iface} down
# modprobe -r bcm43xx
On resume action:
# modprobe bcm43xx
run your custom ${iface} setup script
Cheers! |
|
| Back to top |
|
 |
lordfirebird n00b

Joined: 24 May 2004 Posts: 43
|
Posted: Thu Jan 12, 2006 7:15 am Post subject: |
|
|
Hey, I've noticed that the new bcm43xx ebuild doesn't have anything in it that makes it depend on the latest 2.6.15 kernel. Is that a mistake or will they now compile with the 2.6.14 kernel?
Edit: Ahh... but softmac depends on the correct kernel! Nevermind =) |
|
| Back to top |
|
 |
lordfirebird n00b

Joined: 24 May 2004 Posts: 43
|
Posted: Thu Jan 12, 2006 8:15 am Post subject: |
|
|
The new softmac/bcm43xx ebuilds are working great for me so far! The only thing is so far I can't do a "iwlist eth1 scan". It always returns no results even when my desktop sitting right next to it will return results for all the various access points scattered around the apartment complex. However, even when I ran it with ndiswrapper the iwlist wlan0 scan command didn't return results... so... I dunno! Running a BCM4318 in a new Compaq Presario v2000z laptop if that gives any hints.
Keep up the good work JoseJX and the rest of the devs! This is great =D |
|
| Back to top |
|
 |
dashnu l33t

Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Thu Jan 12, 2006 4:18 pm Post subject: |
|
|
I seem to be having issues with the ebuilds. I just noticed this thread and cruised through a bunch of it hope I did not miss something.
I have 2.6.15-gentoo-sources installed
I have the proper modules installed
but when i go to build ieee80211softmac-0.1-r20060105 I get the following error.
| Code: |
make[2]: *** [/var/tmp/portage/ieee80211softmac-0.1-r20060105/work/ieee80211softmac-0.1/ieee80211softmac_auth.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ieee80211softmac-0.1-r20060105/work/ieee80211softmac-0.1] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo'
make: *** [modules] Error 2
!!! ERROR: net-wireless/ieee80211softmac-0.1-r20060105 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make TOUT=/var/tmp/portage/ieee80211softmac-0.1-r20060105/temp/.tmp_gas_check TOUT=/var/tmp/portage/ieee80211softmac-0.1-r20060105/temp/.tmp_gas_check TOUT=/var/tmp/portage/ieee80211softmac-0.1-r20060105/temp/.tmp_gas_check KSRC=/usr/src/linux KSRC_OUTPUT=/usr/src/linux modules.
!!! If you need support, post the topmost build error, NOT this status message.
|
And several erros & warnings before that..
| Code: |
include/linux/device.h:339: error: conflicting types for 'release'
include/linux/device.h:229: error: previous declaration of 'release' was here
include/linux/device.h:339: error: conflicting types for 'release'
include/linux/device.h:229: error: previous declaration of 'release' was here
include/linux/device.h:340: error: syntax error before '}' token
|
thanks _________________ write quit bang |
|
| Back to top |
|
 |
nakan n00b


Joined: 06 Jan 2005 Posts: 40 Location: Cugy - Vaud - Switzerland
|
Posted: Thu Jan 12, 2006 7:20 pm Post subject: |
|
|
Posting with my Airport Extreme on my iBook with WEP. I just follow the instructions of the post of timotheus25.
This is the basic script I use to start my Airport connection:
| Code: |
#!/bin/bash
# My AirPort Extreme startup script ;-)
echo "* Stopping all network interfaces..."
/etc/init.d/net.eth0 stop
/etc/init.d/net.eth1 stop
echo "* Loading modules..."
modprobe bcm43xx
echo "* Configuring interfaces..."
ifconfig eth1 down
ifconfig eth1 up
iwconfig eth1 channel 6
iwconfig eth1 rate 5.5M
iwconfig eth1 essid mynetwork
iwconfig eth1 key ABCD123456
iwconfig eth1 ap any
echo "* Getting DHCP address..."
dhcpcd eth1
echo "* All ok, should work..."
|
And the essential part of my /etc/power/scripts.d/bcm43xx_unload
| Code: |
suspend)
case "$3" in
ram)
dhcpcd -k eth1
ifconfig eth1 down
modprobe -r bcm43xx
;;
disk)
;;
esac
;;
|
A big THANK YOU to all people who work for decoding the binary driver, write the driver and all needed for this to work. Thank you! _________________ - iBook G4 12" 1.2Ghz 512Mb 60Go / Gentoo
- Custom PC P4 2.6 HT 1024Mb / RAID 160Go SATA / Gentoo
Last edited by nakan on Thu Jan 12, 2006 8:02 pm; edited 2 times in total |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2762
|
Posted: Thu Jan 12, 2006 7:29 pm Post subject: |
|
|
dashnu:
The problem is that the kernel elcasses think that you built your kernel with ARCH="powerpc" instead of ARCH="ppc". We'll work out a fix for it, but for now, you can edit /usr/portage/eclass/toolchain-funcs.eclass and change the powerpc reference to ppc, it should work then. The other option is to build it yourself, whatever works best for you. _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
| Back to top |
|
 |
dashnu l33t

Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Thu Jan 12, 2006 8:29 pm Post subject: |
|
|
Thanks. Built fine. I will try out configuration after work. _________________ write quit bang |
|
| Back to top |
|
 |
Havin_it l33t

Joined: 17 Jul 2005 Posts: 941 Location: Edinburgh, UK
|
Posted: Fri Jan 13, 2006 9:47 am Post subject: |
|
|
Now that a few people besides myself are using the softmac/WEP route, some of you might find this roaming script handy. It's kinda specific to my situation (roaming between static-IP APs, sorry no DHCP!) but hopefully it's a starting point for other versions. Mainly it's about identifying any of your $preferred_aps that are available, and connecting to the first one. It expects the following type of config in /etc/conf.d/wireless:
| Code: | dhcp_eth1="nodns"
preferred_aps=( "ap1" "ap2" "ap3" )
key_ap1="XXXXXXXXXXXXXXXXXXX"
config_ap1=( "192.168.2.2 netmask 255.255.255.0" )
routes_ap1=( "default gw 192.168.2.1" )
dns_servers_ap1=( "192.168.2.1" )
# config for other ap2, ap3 etc.
# Note: you may have had more
# stuff in the file, this is all my
# script uses though |
Now I have this in a script in case it doesn't work at boot (it's pretty reliable now though), for running at boot-time I pasted it into /etc/conf.d/local.start
| Code: | #!/bin/sh
# Don't paste the above line into local.start file, it's just for scripts!
WIFI_CONF_FILE=/etc/conf.d/wireless
. $WIFI_CONF_FILE
for ITER in ${preferred_aps[*]}; do
# ifconfig must be done before scanning is permitted
eval "/sbin/ifconfig eth1 \$config_$ITER up" || echo ifconfig $ITER failed
eval "/sbin/route add \$routes_$ITER" || echo route failed for $ITER
# since iwlist scan output is hit-and-miss, we'll try it twice
if [ `/sbin/iwlist eth1 scanning |grep -c $ITER` = 0 ]; then
sleep 1
if [ `/sbin/iwlist eth1 scanning |grep -c $ITER` = 0 ]; then
echo Cannot see $ITER
continue
fi
fi
echo Setting wireless ESSID and key for $ITER...
eval "/sbin/iwconfig eth1 essid $ITER key \$key_$ITER" || echo failed setting essid and/or key for $ITER
eval "echo nameserver \$dns_servers_$ITER >/etc/resolv.conf" || echo failed setting DNS resolver for $ITER
echo Interface eth1 configured for ESSID: $ITER
break
done |
It is a bit limited in scope but one could easily add DHCP and further iwconfig details. Hope you like it! |
|
| Back to top |
|
 |
slack---line Veteran


Joined: 01 Apr 2005 Posts: 1244 Location: /uk/sheffield
|
Posted: Fri Jan 13, 2006 7:58 pm Post subject: will this work on x86??? |
|
|
Hi all,
I was wondering if this would work on x86 since I've a Broadcom wireless network card on my laptop...
| Code: |
lspci -v
02:04.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
Subsystem: Dell Wireless 1350 WLAN Mini-PCI Card
Flags: bus master, fast devsel, latency 64, IRQ 5
Memory at e0210000 (32-bit, non-prefetchable) [size=8K]
02:05.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 01)
Subsystem: Dell Unknown device 2003
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at e0200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
|
...but most of the postings on this driver seem to be in the PPC section of the forums.
Also would it be possible to add a keyword to the ebuild since at present I get...
| Code: |
emerge bcm43xx -a
These are the packages that I would merge, in order:
Calculating dependencies
!!! All ebuilds that could satisfy "bcm43xx" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-wireless/bcm43xx-0.0.1-r20060105 (masked by: missing keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
|
..and adding the KEYWORD would probably have negated this question.
Thanks in advance[/code] |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2762
|
|
| Back to top |
|
 |
loftwyr l33t


Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Sat Jan 14, 2006 4:17 pm Post subject: |
|
|
I have a problem on my AMD64 system. using gentoo-sources, I get a kernel panic. I think this driver is having the same issue as ndiswrapper had. My system has 2 gig of memory and when I load the bcm43xx module, I get the following panic:
kernel panic - not syncing: PCI-DMA: High address but no IOMMU.
I think you're getting an address over 1 gig and you need to force it to stay in the <1 gig space.
my .config is at http://www.dpmr.ca/gentoo/config if you need to have a look. _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
| Back to top |
|
 |
JoseJX Developer

Joined: 28 Apr 2002 Posts: 2762
|
|
| Back to top |
|
 |
loftwyr l33t


Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Mon Jan 16, 2006 12:57 pm Post subject: |
|
|
| JoseJX wrote: | Can you report this to the bcm43xx mailing list?
Thanks! |
I sent the message to the list but it hasn't made it past the moderator yet... _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|