Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MacBk Pro Retina wireless networking problems (bcm4331)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cetbaalix
n00b
n00b


Joined: 19 Jul 2007
Posts: 48

PostPosted: Tue Dec 10, 2013 9:55 pm    Post subject: MacBk Pro Retina wireless networking problems (bcm4331) Reply with quote

Hi,

wireless worked once upon time ;-) But I can't get it work anymore. My MacBook Pro Retina 2012 has a Broadcom bcm4331 wireless chip. I'm using the kernel driver b43 and I followed this guides here:

http://wiki.gentoo.org/wiki/Apple_Macbook_Pro_Retina
https://wiki.gentoo.org/wiki/Wifi

Everything works fine but I can't authenticate to a WLAN AccessPoint. I've tried 4 different APs and with all I'he the same problem. And it makes no difference if I use WPA2, WPA, WEP or unsecured APs.

Running "modprobe b43" I get the following kernel output:

Code:

[  321.374421] cfg80211: Calling CRDA to update world regulatory domain
[  321.381404] bcma-pci-bridge 0000:04:00.0: enabling device (0000 -> 0002)
[  321.381550] bcma: bus0: Found chip with id 0x4331, rev 0x02 and package 0x09
[  321.381582] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[  321.381606] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[  321.381657] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[  321.428121] bcma: bus0: Bus registered
[  321.431023] b43-phy0: Broadcom 4331 WLAN found (core revision 29)
[  321.431449] b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1
[  321.431977] Broadcom 43xx driver loaded [ Features: PN ]
[  321.434346] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  321.587826] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[  321.635214] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


Looks ok for me so far. I'm using wicd to connect to the AP. After clicking "Refresh" I see my AP. Trying to connect I get the following messages:

Code:

Dec 10 21:53:56 spock dhclient: Internet Systems Consortium DHCP Client 4.2.5-P1 Gentoo-r1
Dec 10 21:53:56 spock dhclient: Copyright 2004-2013 Internet Systems Consortium.
Dec 10 21:53:56 spock dhclient: All rights reserved.
Dec 10 21:53:56 spock dhclient: For info, please visit https://www.isc.org/software/dhcp/
Dec 10 21:53:56 spock dhclient:
Dec 10 21:53:56 spock dhclient: Listening on LPF/wlan0/b8:f6:b1:1b:78:51
Dec 10 21:53:56 spock dhclient: Sending on   LPF/wlan0/b8:f6:b1:1b:78:51
Dec 10 21:53:56 spock dhclient: Sending on   Socket/fallback
Dec 10 21:53:56 spock kernel: [ 1223.783421] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Dec 10 21:53:56 spock kernel: [ 1223.830825] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 10 21:53:56 spock kernel: [ 1224.015307] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Dec 10 21:53:56 spock kernel: [ 1224.062726] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 10 21:53:56 spock dhclient: Internet Systems Consortium DHCP Client 4.2.5-P1 Gentoo-r1
Dec 10 21:53:56 spock dhclient: Copyright 2004-2013 Internet Systems Consortium.
Dec 10 21:53:56 spock dhclient: All rights reserved.
Dec 10 21:53:56 spock dhclient: For info, please visit https://www.isc.org/software/dhcp/
Dec 10 21:53:56 spock dhclient:
Dec 10 21:53:56 spock dhclient: Listening on LPF/wlan0/b8:f6:b1:1b:78:51
Dec 10 21:53:56 spock dhclient: Sending on   LPF/wlan0/b8:f6:b1:1b:78:51
Dec 10 21:53:56 spock dhclient: Sending on   Socket/fallback
Dec 10 21:53:56 spock kernel: [ 1224.273175] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Dec 10 21:53:56 spock kernel: [ 1224.320702] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 10 21:53:59 spock kernel: [ 1226.417286] wlan0: authenticate with 9c:c7:a6:9d:87:0a
Dec 10 21:53:59 spock kernel: [ 1226.417455] wlan0: send auth to 9c:c7:a6:9d:87:0a (try 1/3)
Dec 10 21:53:59 spock kernel: [ 1226.617967] wlan0: send auth to 9c:c7:a6:9d:87:0a (try 2/3)
Dec 10 21:53:59 spock kernel: [ 1226.818879] wlan0: send auth to 9c:c7:a6:9d:87:0a (try 3/3)
Dec 10 21:53:59 spock kernel: [ 1227.019780] wlan0: authentication with 9c:c7:a6:9d:87:0a timed out
Dec 10 21:54:04 spock kernel: [ 1231.444851] wlan0: authenticate with 9c:c7:a6:9d:87:0a
Dec 10 21:54:04 spock kernel: [ 1231.445023] wlan0: send auth to 9c:c7:a6:9d:87:0a (try 1/3)
Dec 10 21:54:04 spock kernel: [ 1231.446831] wlan0: authenticated
Dec 10 21:54:04 spock kernel: [ 1231.447595] wlan0: associate with 9c:c7:a6:9d:87:0a (try 1/3)
Dec 10 21:54:04 spock kernel: [ 1231.648505] wlan0: associate with 9c:c7:a6:9d:87:0a (try 2/3)
Dec 10 21:54:04 spock kernel: [ 1231.650963] wlan0: RX AssocResp from 9c:c7:a6:9d:87:0a (capab=0x431 status=0 aid=1)
Dec 10 21:54:04 spock kernel: [ 1231.651372] wlan0: associated
Dec 10 21:54:04 spock kernel: [ 1231.651397] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Dec 10 21:54:05 spock dhcpcd[3639]: wlan0: carrier acquired
Dec 10 21:54:05 spock dhcpcd[3639]: wlan0: checking for 169.254.227.181
Dec 10 21:54:06 spock dhclient: Internet Systems Consortium DHCP Client 4.2.5-P1 Gentoo-r1
Dec 10 21:54:06 spock dhclient: Copyright 2004-2013 Internet Systems Consortium.
Dec 10 21:54:06 spock dhclient: All rights reserved.
Dec 10 21:54:06 spock dhclient: For info, please visit https://www.isc.org/software/dhcp/
Dec 10 21:54:06 spock dhclient:
Dec 10 21:54:06 spock dhclient: failed to read stdin!
Dec 10 21:54:06 spock dhclient:
Dec 10 21:54:06 spock dhclient: This version of ISC DHCP is based on the release available
Dec 10 21:54:06 spock dhclient: on ftp.isc.org.  Features have been added and other changes
Dec 10 21:54:06 spock dhclient: have been made to the base software release in order to make
Dec 10 21:54:06 spock dhclient: it work better with this distribution.
Dec 10 21:54:06 spock dhclient:
Dec 10 21:54:06 spock dhclient: Please report for this software via the Gentoo Bugzilla site:
Dec 10 21:54:06 spock dhclient:     http://bugs.gentoo.org/
Dec 10 21:54:06 spock dhclient:
Dec 10 21:54:06 spock dhclient: exiting.
Dec 10 21:54:06 spock dhclient: Internet Systems Consortium DHCP Client 4.2.5-P1 Gentoo-r1
Dec 10 21:54:06 spock dhclient: Copyright 2004-2013 Internet Systems Consortium.
Dec 10 21:54:06 spock dhclient: All rights reserved.
Dec 10 21:54:06 spock dhclient: For info, please visit https://www.isc.org/software/dhcp/
Dec 10 21:54:06 spock dhclient:
Dec 10 21:54:06 spock dhclient: Listening on LPF/wlan0/b8:f6:b1:1b:78:51
Dec 10 21:54:06 spock dhclient: Sending on   LPF/wlan0/b8:f6:b1:1b:78:51
Dec 10 21:54:06 spock dhclient: Sending on   Socket/fallback
Dec 10 21:54:06 spock kernel: [ 1233.615225] wlan0: deauthenticating from 9c:c7:a6:9d:87:0a by local choice (reason=3)
Dec 10 21:54:06 spock dhcpcd[3639]: wlan0: carrier lost
Dec 10 21:54:06 spock kernel: [ 1233.641773] cfg80211: Calling CRDA to update world regulatory domain
Dec 10 21:54:06 spock kernel: [ 1233.798494] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Dec 10 21:54:06 spock kernel: [ 1233.845896] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


And that's it... I don't think that it has something to do with dhcpd since wired networking with dhcp works fine. It looks like a follow up error. I see in the logfile of the AP that my notebook tries to connect to the AP but authentication failed. But I is definitely right... I'm using kernel 3.12.4-aufs and the firmware from package b43-firmware-5.100.138. I've pasted my kernel .config here: http://pastebin.com/puHU4Q9K

What even more scares me that if the b43 driver is loaded and the driver tries to connect to the AP (transmits some data) the screen begins to flicker some times...

This is the output of "iw list":

Code:

spock ~ # iw list
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2285 bytes
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP (00-0f-ac:4)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
        Band 1:
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
                        * 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
                        * 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        interface combinations are not supported
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports low priority scan.
        Device supports scan flush.
        Device supports AP scan.


And "iw dev":

Code:

phy#0
        Interface wlan0
                ifindex 4
                wdev 0x1
                addr b8:f6:b1:1b:78:51
                type managed


And the kernel config (the b43 options):

Code:

spock ~ # zcat /proc/config.gz | grep -i b43
CONFIG_B43=m
CONFIG_B43_BCMA=y
CONFIG_B43_SSB=y
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
# CONFIG_B43_PCMCIA is not set
# CONFIG_B43_SDIO is not set
CONFIG_B43_BCMA_PIO=y
CONFIG_B43_PIO=y
CONFIG_B43_PHY_N=y
CONFIG_B43_PHY_LP=y
CONFIG_B43_PHY_HT=y
CONFIG_B43_HWRNG=y
# CONFIG_B43_DEBUG is not set
CONFIG_B43LEGACY=m
CONFIG_B43LEGACY_PCI_AUTOSELECT=y
CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
CONFIG_B43LEGACY_HWRNG=y
CONFIG_B43LEGACY_DEBUG=y
CONFIG_B43LEGACY_DMA=y
CONFIG_B43LEGACY_PIO=y
CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
# CONFIG_B43LEGACY_DMA_MODE is not set
# CONFIG_B43LEGACY_PIO_MODE is not set
CONFIG_SSB_B43_PCI_BRIDGE=y


If someone has a hint that would be nice. I've no idea anymore why I can't connect to an access point...

Thanks
Robert
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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