LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-16-2020, 03:41 PM   #1
tjallen
LQ Newbie
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 18

Rep: Reputation: 3
Wireless networking problem with Slackware 14.2 on a 2012 MacBook Pro


I started with Slackware 3.0 in 1996 on my 486DX2 desktop and have run it ever since on my desktops and servers. I remember that it took me several days to get X to work and I was afraid that I'd destroy my expensive CRT monitor the whole time.

Now, many years later, since Apple will be leaving me stranded for an OS on my MacBook Pro, and since I've become less happy with the quality of macOS over the last several years, I've decided to jump to Slackware64 on my MacBook Pro (macbookpro9,2). I completely removed macOS. Slackware64 14.2 is installed and nearly all the hardware works, with the sole exception of the SD card reader, which is nearly the least important piece of hardware to me. I managed to get full disk encryption and sleep (suspend) working, as well as the Broadcom 4331 wifi card using the b43 driver.

I can connect at home to my wifi with WPA2-PSK, but I can't for the life of me connect to my employer's wifi. I've tried their public wifi with no encryption, their private wifi with WPA2-Enterprise (PEAP-MSCHAPV2), and the eduroam wifi, also with WPA2-PEAP-MSCHAPV2. None works. Yet I have two other laptops that came with Linux (a Librem 13, and a Pinebook Pro with Debian) and they both connect just fine to all wifi I've tried. So I know that I have the correct script for wpa_supplicant (though to be fair, these machines do have somewhat newer versions of all installed software). I'm running the 4.4.230 kernel that I've configured and compiled just for the MacBook Pro. (It doesn't work with the stock 4.4.14 kernel either.) I've tried many things, from making sure that crda knows I'm in the US, trying both wicd and NetworkManager, trying options on the b43 driver, to trying the broadcom-sta proprietary driver, all to no avail. The wl driver doesn't even see the access points, whereas the b43 driver does. It seems to be a big hint that I can't even connect to the unprotected wifi. There are no certificates needed for any of the access points. Networking is still a weak point of mine; I've spent tens of hours on this specific wifi problem and it's starting to frustrate me. Does anyone have any suggestions for something that I might have overlooked? I give a little bit of information below.

When I start wpa_supplicant:

Code:
wpa_supplicant -d -i wlan0 -c /var/lib/wicd/configurations/c8b5ad5dc522 -Dnl80211,wext
I get the following output (edited a bit for privacy):

Code:
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/var/lib/wicd/configurations/c8b5ad5dc522' driver 'nl80211,wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/var/lib/wicd/configurations/c8b5ad5dc522' -> '/var/lib/wicd/configurations/c8b5ad5dc522'
Reading configuration file '/var/lib/wicd/configurations/c8b5ad5dc522'
ap_scan=1
ctrl_interface='/var/run/wpa_supplicant'
Priority group 0
   id=0 ssid='eduroam'
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:10
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supported cipher 00-0f-ac:13
nl80211: Supported cipher 00-0f-ac:11
nl80211: Supported cipher 00-0f-ac:12
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 8 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x2750040
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x2750040 match=0500
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=8 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlan0: Own MAC address: XX:XX:XX:XX:XX:XX
wpa_driver_nl80211_set_key: ifindex=8 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=8 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=8 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=8 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: d81bad69-a5fb-581b-a898-4449ca7c459e
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=8 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: ifi_index=8 ifname=wlan0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP])
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
wlan0: Add radio work 'scan'@0x2751a00
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x2751a00 after 0.000018 second wait
wlan0: nl80211: scan request
Scan requested (ret=0) - scan timeout 10 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
wlan0: nl80211: Scan trigger
wlan0: Event SCAN_STARTED (47) received
wlan0: Own scan request started a scan in 0.000054 seconds
EAPOL: disable timer tick
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
wlan0: nl80211: New scan results available
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlan0: Event SCAN_RESULTS (3) received
wlan0: Scan completed in 1.136581 seconds
nl80211: Received scan results (13 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID c8:b5:ad:5d:c5:20 SSID 'YYYY-Private' freq 2462
wlan0: BSS: Add new id 1 BSSID c8:b5:ad:5d:c5:22 SSID 'eduroam' freq 2462
wlan0: BSS: Add new id 2 BSSID 90:27:e4:5e:28:6b SSID 'SpaceTime' freq 2462
wlan0: BSS: Add new id 3 BSSID c8:b5:ad:5d:ca:22 SSID 'eduroam' freq 2462
wlan0: BSS: Add new id 4 BSSID c8:b5:ad:5d:ca:20 SSID 'YYYY-Private' freq 2462
wlan0: BSS: Add new id 5 BSSID c8:b5:ad:5d:c2:20 SSID 'YYYY-Private' freq 2412
wlan0: BSS: Add new id 6 BSSID c8:b5:ad:5d:c2:22 SSID 'eduroam' freq 2412
wlan0: BSS: Add new id 7 BSSID 80:8d:b7:b4:02:e2 SSID 'eduroam' freq 2437
wlan0: BSS: Add new id 8 BSSID 80:8d:b7:b4:02:e0 SSID 'YYYY-Private' freq 2437
wlan0: BSS: Add new id 9 BSSID c8:b5:ad:5d:c5:21 SSID 'YYYY-Public' freq 2462
wlan0: BSS: Add new id 10 BSSID c8:b5:ad:5d:ca:21 SSID 'YYYY-Public' freq 2462
wlan0: BSS: Add new id 11 BSSID c8:b5:ad:5d:c2:21 SSID 'YYYY-Public' freq 2412
wlan0: BSS: Add new id 12 BSSID 80:8d:b7:b4:02:e1 SSID 'YYYY-Public' freq 2437
BSS: last_scan_res_used=13/32
wlan0: New scan results available (own=1 ext=0)
wlan0: Radio work 'scan'@0x2751a00 done in 1.137455 seconds
wlan0: radio_work_free('scan'@0x2751a00: num_active_works --> 0
wlan0: Selecting BSS from priority group 0
wlan0: 0: c8:b5:ad:5d:c5:20 ssid='YYYY-Private' wpa_ie_len=0 rsn_ie_len=24 caps=0x431 level=-61 freq=2462 
wlan0:    skip - SSID mismatch
wlan0: 1: c8:b5:ad:5d:c5:22 ssid='eduroam' wpa_ie_len=0 rsn_ie_len=20 caps=0x431 level=-61 freq=2462 
wlan0:    selected based on RSN IE
wlan0:    selected BSS c8:b5:ad:5d:c5:22 ssid='eduroam'
wlan0: Considering connect request: reassociate: 0  selected: c8:b5:ad:5d:c5:22  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: SCANNING  ssid=0x2751200  current_ssid=(nil)
wlan0: Request association with c8:b5:ad:5d:c5:22
wlan0: Add radio work 'sme-connect'@0x2751a00
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'sme-connect'@0x2751a00 after 0.000023 second wait
wlan0: Automatic auth_alg selection: 0x1
RSN: PMKSA cache search - network_ctx=(nil) try_opportunistic=0
RSN: Search for BSSID c8:b5:ad:5d:c5:22
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 1 proto 2
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 01 28 00
wlan0: WPA: using GTK CCMP
wlan0: WPA: using PTK CCMP
wlan0: WPA: using KEY_MGMT 802.1X
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00
RRM: Determining whether RRM can be used - device support: 0x0
RRM: No RRM in network
wlan0: Cancelling scan request
wlan0: SME: Trying to authenticate with c8:b5:ad:5d:c5:22 (SSID='eduroam' freq=2462 MHz)
wlan0: State: SCANNING -> AUTHENTICATING
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
wlan0: Determining shared radio frequencies (max len 1)
wlan0: Shared frequencies (len=0): completed iteration
nl80211: Authenticate (ifindex=8)
  * bssid=c8:b5:ad:5d:c5:22
  * freq=2462
  * SSID - hexdump_ascii(len=7):
     65 64 75 72 6f 61 6d                              eduroam         
  * IEs - hexdump(len=0): [NULL]
  * Auth Type 0
nl80211: Authentication request send successfully
nl80211: Drv Event 19 (NL80211_CMD_NEW_STATION) received for wlan0
nl80211: New station c8:b5:ad:5d:c5:22
nl80211: Drv Event 37 (NL80211_CMD_AUTHENTICATE) received for wlan0
nl80211: Authenticate event
wlan0: Event AUTH (11) received
wlan0: SME: Authentication response: peer=c8:b5:ad:5d:c5:22 auth_type=0 auth_transaction=2 status_code=0
wlan0: Trying to associate with c8:b5:ad:5d:c5:22 (SSID='eduroam' freq=2462 MHz)
wlan0: State: AUTHENTICATING -> ASSOCIATING
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=8 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
WPA: set own WPA/RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00
nl80211: Associate (ifindex=8)
  * bssid=c8:b5:ad:5d:c5:22
  * freq=2462
  * SSID - hexdump_ascii(len=7):
     65 64 75 72 6f 61 6d                              eduroam         
  * IEs - hexdump(len=32): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 01 00 00 7f 08 00 00 00 00 00 00 00 40
  * WPA Versions 0x2
  * pairwise=0xfac04
  * group=0xfac04
  * akm=0xfac01
nl80211: Association request send successfully
nl80211: Drv Event 38 (NL80211_CMD_ASSOCIATE) received for wlan0
nl80211: Associate event
wlan0: Event ASSOC (0) received
wlan0: Association info event
resp_ies - hexdump(len=44): 01 06 98 24 b0 48 60 6c 7f 08 04 00 08 00 00 00 00 40 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
wlan0: freq=2462 MHz
wlan0: State: ASSOCIATING -> ASSOCIATED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=8 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: Associated to a new BSS: BSSID=c8:b5:ad:5d:c5:22
wlan0: Associated with c8:b5:ad:5d:c5:22
wlan0: WPA: Association event - clear replay counter
wlan0: WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: enable timer tick
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
wlan0: Setting authentication timeout: 10 sec 0 usec
wlan0: Cancelling scan request
WMM AC: AC mandatory: AC_BE=0 AC_BK=0 AC_VI=0 AC_VO=0
WMM AC: U-APSD queues=0x0
WMM AC: Valid WMM association, WMM AC is enabled
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK: ifi_index=8 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK: ifi_index=8 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP])
nl80211: Drv Event 46 (NL80211_CMD_CONNECT) received for wlan0
nl80211: Ignore connect event (cmd=46) when using userspace SME
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
wlan0: Setting authentication timeout: 70 sec 0 usec
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_PAE entering state RESTART
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=1 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state IDENTITY
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: Status notification: started (param=)
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=15):
     68 77 73 2e 65 64 75 5c 74 6a 61 6c 6c 65 6e      YYYY.edu\XXXXX 
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
EAPOL: startWhen --> 0
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=1 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state RETRANSMIT
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=1 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state RETRANSMIT
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=2 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state IDENTITY
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: Status notification: started (param=)
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=15):
     68 77 73 2e 65 64 75 5c 74 6a 61 6c 6c 65 6e      YYYY.edu\XXXXX 
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=2 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state RETRANSMIT
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=2 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state RETRANSMIT
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=3 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state IDENTITY
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: Status notification: started (param=)
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=15):
     68 77 73 2e 65 64 75 5c 74 6a 61 6c 6c 65 6e      YYYY.edu\XXXXX 
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=3 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state RETRANSMIT
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
l2_packet_receive: src=c8:b5:ad:5d:c5:22 len=46
wlan0: RX EAPOL from c8:b5:ad:5d:c5:22
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=3 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state RETRANSMIT
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL: dst=c8:b5:ad:5d:c5:22
EAPOL: SUPP_BE entering state RECEIVE
When I use wicd, I eventually get the bad password error.

When I've tried with wicd, wpa_supplicant.log says

Code:
Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with 80:8d:b7:b4:02:e2 (SSID='eduroam' freq=2437 MHz)
wlan0: Trying to associate with 80:8d:b7:b4:02:e2 (SSID='eduroam' freq=2437 MHz)
wlan0: Associated with 80:8d:b7:b4:02:e2
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlan0: CTRL-EVENT-DISCONNECTED bssid=80:8d:b7:b4:02:e2 reason=3 locally_generated=1
wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wlan0: SME: Trying to authenticate with c8:b5:ad:5d:ca:22 (SSID='eduroam' freq=2462 MHz)
wlan0: Trying to associate with c8:b5:ad:5d:ca:22 (SSID='eduroam' freq=2462 MHz)
wlan0: Associated with c8:b5:ad:5d:ca:22
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
wlan0: CTRL-EVENT-DISCONNECTED bssid=c8:b5:ad:5d:ca:22 reason=3 locally_generated=1
wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wlan0: SME: Trying to authenticate with 80:8d:b7:b4:02:e1 (SSID='YYYY-Public' freq=2437 MHz)
wlan0: Trying to associate with 80:8d:b7:b4:02:e1 (SSID='YYYY-Public' freq=2437 MHz)
wlan0: SME: Trying to authenticate with c8:b5:ad:5d:c5:21 (SSID='YYYY-Public' freq=2462 MHz)
wlan0: Trying to associate with c8:b5:ad:5d:c5:21 (SSID='YYYY-Public' freq=2462 MHz)
wlan0: Associated with c8:b5:ad:5d:c5:21
wlan0: CTRL-EVENT-CONNECTED - Connection to c8:b5:ad:5d:c5:21 completed [id=0 id_str=]
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: CTRL-EVENT-DISCONNECTED bssid=c8:b5:ad:5d:c5:21 reason=3 locally_generated=1
wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
nl80211: deinit ifname=wlan0 disabled_11b_rates=0

Last edited by tjallen; 07-17-2020 at 04:03 PM. Reason: Mis-statement. I'm running Slackware64, not the 32-bit version.
 
Old 07-16-2020, 05:35 PM   #2
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware ARM and X86_64
Posts: 100

Rep: Reputation: Disabled
Wireless networking problem with Slackware 14.2 on a 2012 MacBook Pro

Sorry didn't read properly.

Last edited by kermitdafrog8; 07-16-2020 at 05:37 PM.
 
Old 07-18-2020, 04:21 PM   #3
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,633

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
@tjallen

In Slackware 14.2 the wpa_supplicant version is 2.6 and the last time the eduroam network was mentioned here in the Slackware Forum, the user who reported having issues connecting to it finally got it resolved by using wpa_supplicant 2.7 with some additional patches:
https://www.linuxquestions.org/quest...ml#post5944370

Here, in a more recent thread, wpa_supplicant 2.9 was successfully used for a wired connection to eduroam (maybe wpa_supplicant 2.9 doesn't need any patches):
https://www.linuxquestions.org/quest...er-4175668012/

You could grab the sources from here:
https://w1.fi/wpa_supplicant/

Build it on your own (I suggest creating a package)
https://docs.slackware.com/howtos:sl...ding_a_package
Or use/get inspiration form the official Slackbuild
https://mirrors.slackware.com/slackw...pa_supplicant/

Remove the stock package & install&use yours.

If it works, blacklist the Slackware stock package and maintain wpa_supplicant on your own.
 
1 members found this post helpful.
Old 07-20-2020, 03:54 PM   #4
tjallen
LQ Newbie
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 3
Thanks, abga, I greatly appreciate your reply.

I was excited to read your post and wondered how I had missed the post you reference. But, the earlier poster was running slackware-current and I'm running 14.2. The first patch (allow-tlsv1) is to make openssl-1.1.1 downgrade to TLS-1, but I have openssl-1.0.2u, so the patch makes the compilation fail. I did try patching the config/dot.config file without the allow-tlsv1 patch, but though it does compile, it brought no joy.

Earlier I had tried to compile wpa_supplicant-2.9 but it has the allow-tlsv1 patch and doesn't compile with openssl-1.0.2u with the patch. I also had to upgrade libnl3-3.2.27 to -3.5.0 and the kernel to 4.19.133 to have all the headers. I suppose I could try to upgrade to openssl-1.1.1, but what will break, or have to be recompiled because of that?

So, I figured that perhaps something besides encryption was wrong with wpa_supplicant--maybe I needed to compile with different options--and I tried the wpa_supplicant-2.6 source from slackware64-current from 5/2018, which was a lucky find on mirror.ic.ufmt.br, and compiled it, but it behaves the same (i.e., won't connect). I even tried compiling with CONFIG_TLS=internal (using the internal TLS library instead of openssl), which meant I had to grab and install libtommath from SBo before compiling, but still no joy. Then I tried the shipped wpa_supplicant-2.5 from 14.2 and it fails just the same as -2.6 and all the rest: either wpa_supplicant gets timed out or gives a "bad password" error. In frustration, I grabbed the wpa_supplicant-2.0 source from slack 14.1 and compiled it and still no joy!

It seems to me that something other than wpa_supplicant is broken. I don't think it can be encryption because I can't even connect to the unsecured guest wifi at my employer with any version of wpa_supplicant from 2.0 on. My suspicion is that the b43 driver isn't playing nicely with wpa_supplicant, but the alternative Broadcom wl driver doesn't even seem to work at all. I've ordered some usb wifi dongles that are supported by the linux kernel to see if I can connect through them and I'll report back when I get them.

This is frustrating because Debian 10 connects just fine to eduroam, to the WPA2-Enterprise wifi, and to the unsecured wifi at work and I'm using the same configs that work there. Besides the slight difference in software versions, the only real difference is the wifi hardware. It can't be the hardware per se, because macOS can connect.

Has anyone else had problems with the Broadcom 4331 b43 driver and WPA2-Enterprise? Or maybe someone can point out something else I'm completely overlooking.

I'm now eager to have Slackware64 15.0 in my hands so that I can see if that'll solve this problem. This is the last real hurdle to having a useful replacement for macOS on the MacBook Pro.

Ted
 
Old 07-20-2020, 05:26 PM   #5
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,633

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
Sorry to hear my hints didn't work and all your efforts didn't bring any joy.

Now I got a little more info about your setup (card/driver & automation tools) and there is another more serious issue highlighted -> not able to connect to an open WiFi network. This should work "out of the box" and is not related to the more demanding eduroam authentication.

First I'd focus on the open WiFi network and try to provide some answers to your questions:
- the Broadcom 4331 b43 driver looks OK (no issues reported in the table):
https://wireless.wiki.kernel.org/en/users/drivers/b43
- and it does have an option to disable HW encryption. However, I remember I only had to disable it a (very) long time ago on some Atheros devices. Here it is in bold (output from a Slack 14.2 with the 4.4.227 kernel)
Code:
~# /sbin/modinfo b43 | grep parm
parm:           bad_frames_preempt:enable(1) / disable(0) Bad Frames Preemption (int)
parm:           fwpostfix:Postfix for the .fw files to load. (string)
parm:           hwpctl:Enable hardware-side power control (default off) (int)
parm:           nohwcrypt:Disable hardware encryption. (int)
parm:           hwtkip:Enable hardware tkip. (int)
parm:           qos:Enable QOS support (default on) (int)
parm:           btcoex:Enable Bluetooth coexistence (default on) (int)
parm:           verbose:Log message verbosity: 0=error, 1=warn, 2=info(default), 3=debug (int)
parm:           pio:Use PIO accesses by default: 0=DMA, 1=PIO (int)
parm:           allhwsupport:Enable support for all hardware (even it if overlaps with the brcmsmac driver) (int)
- if you want to disable it, either:
Code:
#unload the driver:
/sbin/rmmod b43
# and load it with the HW encryption disabled
/sbin/modprobe b43 nohwcrypt=1
- or, if it works, make it permanent:
Code:
/usr/bin/echo "options b43 nohwcrypt=1" > /etc/modprobe.d/b43.conf
For troubleshooting WiFi connectivity I usually suggest to go down to the basics, use the primitive manual tools and disable any automation (Network Manager & wicd). As mentioned in the beginning, I'd focus first on the open WiFi connection.
- first, clean up the "automation mess"
Code:
/etc/rc.d/rc.networkmanager stop
/usr/bin/chmod -x /etc/rc.d/rc.networkmanager
/etc/rc.d/rc.wicd stop
/usr/bin/chmod -x /etc/rc.d/rc.wicd
/usr/bin/killall wpa_supplicant
- then, make sure your wpa_supplicant is properly populated for the open WiFi network.
- if you know the ESSID of that network and only need to connect to that particular one, then you'll need to have an entry like this in wpa_supplicant (substitute open-essid withe actual ESSID):
Code:
network={
   ssid="open-essid"
   key_mgmt=NONE
}
- if you like to connect to any open networks automatically, then you'll need something like this in wpa_supplicant:
Code:
network={
    key_mgmt=NONE
    priority=-999
}
- more official info & examples:
https://w1.fi/cgit/hostap/plain/wpa_...upplicant.conf

Following you have a manual connection (& disconnection) method:
Code:
# up:
#just making sure there are no leftovers
/usr/bin/killall wpa_supplicant
/sbin/ip link set dev wlan0 up
/sbin/ip address flush dev wlan0
# if you need your card to "tune" to an essid use the following and substitute actual-essid
#/sbin/iwconfig wlan0 essid actual-essid
/usr/bin/sleep 3
/usr/sbin/wpa_supplicant -D nl80211 -i wlan0 -B -c /etc/wpa_supplicant.conf
/usr/bin/sleep 3
/sbin/dhclient wlan0
# if no errors it should be up and running - test connectivity
#down:
/usr/bin/killall wpa_supplicant
/sbin/ip address flush dev wlan0
/sbin/ip link set dev wlan0 down
Here in this post you also have instructions on how to start wpa_supplicant in interactive mode - or - debug mode
https://www.linuxquestions.org/quest...9/#post6120147

If you manage to connect to the open WiFi network, then we could move to the more "complicated" eduroam.

If you believe the b43 driver that comes with the Slackware 14.2 kernel is faulty, you can always load and use the more actual Slackware -current kernel by following this old how-to of mine (substitute all the versions to match the actual ones):
https://www.linuxquestions.org/quest...ml#post6053120
 
1 members found this post helpful.
Old 07-21-2020, 04:33 PM   #6
tjallen
LQ Newbie
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 3
abga, these were helpful pointers you gave and I made a bit of progress. First, though, let me report that I tried with a USB wifi dongle that uses the rt2800usb driver and I can connect to all of the wifi SSIDs at work, including eduroam as well as the unsecured guest wifi through that USB device. So I'm sure that my configs for wpa_supplicant are correct and that the official wpa_supplicant-2.6 patch for Slackware64-14.2 works fine with every wifi access point. So, it seems to me that it's certainly some kind of driver problem. I played with the options of the b43 driver and nothing helped, though pio=1 stops the driver from even finding the access points. Then I played with the options for the cfg80211 and mac80211 modules that b43 depends on, specifically

Code:
options mac80211 minstrel_vht_only=1
options cfg80211 ieee80211_regdom=US cfg80211_disable_40mhz_24ghz=1
along with

Code:
options b43 nohwcrypt=1 pio=0 hwtkip=0 verbose=3
and then wpa_supplicant managed to associate with the unsecured guest wifi with the bcm4331 and its b43 driver, but something odd happened next. First dhclient didn't succeed--it just hung--so I tried dhcpcd next. dhcpcd gave me an IP address but apparently no routing information or dns server; I couldn't get to the captive web page to click on the agreement in order to use the network as one has to do. The IP address wasn't part of the 172.xx.xx.xx local subnet, either, but rather a 169.254.xx.xx address that I don't recognize. Despite this progress, there's still no joy on eduroam or the secured WPA2-Enterprise network. It's not the worst thing in the world to have to use a usb wifi adapter to access WPA2-Enterprise, but the adapter does get hot--too hot to touch on the metal usb shielding--and now I'm very curious as to why the b43 driver doesn't work, or the Broadcom wl driver for that matter! In the kernel config there are several options regarding the b43 driver. In my 4.4.230 kernel, I have

Code:
CONFIG_B43=m
CONFIG_B43_BCMA=y
CONFIG_B43_SSB=y
CONFIG_B43_BUSES_BCMA_AND_SSB=y
# CONFIG_B43_BUSES_BCMA is not set
# CONFIG_B43_BUSES_SSB is not set
CONFIG_B43_PCI_AUTOSELECT=y
CONFIG_B43_PCICORE_AUTOSELECT=y
CONFIG_B43_SDIO=y
CONFIG_B43_BCMA_PIO=y
CONFIG_B43_PIO=y
CONFIG_B43_PHY_G=y
CONFIG_B43_PHY_N=y
CONFIG_B43_PHY_LP=y
CONFIG_B43_PHY_HT=y
CONFIG_B43_LEDS=y
CONFIG_B43_HWRNG=y
# CONFIG_B43_DEBUG is not set
# CONFIG_B43LEGACY is not set
CONFIG_SSB_B43_PCI_BRIDGE=y
In configuring the b43 driver in the kernel, one has a choice of using just bcma, just ssb, or both bcma and ssb, and the default is both. Perhaps just one or the other, but not both, is the right choice for the BCM4331. Or maybe I should set CONFIG_B43_BCMA_PIO=n and CONFIG_B43_PIO=n
in the kernel config since the pio=1 option for b43 stops the driver from working. Checking the various combinations will eat up some time in testing! It feels like the problem is narrowed down quite a bit now, but it's still very frustrating because even with increased verbosity of both wpa_supplicant and b43, the error messages don't seem helpful. I got tired of the frustration this afternoon but will continue to investigate tomorrow. I certainly didn't expect this level of difficulty since everything works fine on WPA2-PSK at home.

Ted
 
Old 07-21-2020, 06:23 PM   #7
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,633

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
Ok, so we're getting somewhere, narrowing it down to the actual driver & firmware.

Some answers/suggestions:

Answers:
- I deliberately instructed you to use the dhclient tool because it's simple, reliable (does the job) and exits once it's done or if it times out. In your case it didn't receive the DHCP info, timed out and exited, meaning, either wpa_supplicant or the actual driver/card didn't successfully bring up the connection (no traffic/communication).
- dhcpcd on the other hand (which I simply don't use (nor the init scripts where it's called) - but that's me) apart from staying resident it also tries to outsmart the user. It finally manages to spread confusion, like in this case with that 169.254.xx.xx link local address. I presume it couldn't get the info through DHCP and automatically configured the 169.254.xx.xx link local address, much like M$ is doing (was dhcpcd designed my M$ BTW?)
https://en.wikipedia.org/wiki/Link-local_address
- on the kernel configuration related to the b43 driver, just for comparison, I'm running a Raspberry Pi with a Raspbian (Debian) 4.14.79 kernel that I didn't touch (configuration-wise) and just checked some of the options you were curious about:
Code:
modprobe configs
cp /proc/config.gz /tmp/
rmmod configs
cd /tmp/
gunzip config.gz
# the file config should be available to inspect
grep B43 config
CONFIG_B43=m
CONFIG_B43_BCMA=y
CONFIG_B43_SSB=y
CONFIG_B43_BUSES_BCMA_AND_SSB=y
# CONFIG_B43_BUSES_BCMA is not set
# CONFIG_B43_BUSES_SSB is not set
CONFIG_B43_SDIO=y
CONFIG_B43_BCMA_PIO=y
CONFIG_B43_PIO=y
CONFIG_B43_PHY_G=y
# CONFIG_B43_PHY_N is not set
CONFIG_B43_PHY_LP=y
CONFIG_B43_PHY_HT=y
CONFIG_B43_LEDS=y
CONFIG_B43_HWRNG=y
# CONFIG_B43_DEBUG is not set
CONFIG_B43LEGACY=m
CONFIG_B43LEGACY_LEDS=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
rm config
- I don't own a Broadcom WiFi device and also trying to stay away from them, given the bad reputation they have with the OSS world. So I'm not able o help you with your particular driver questions but only suggest that you could install the Slackware kernel sources, get into the kernel sources directory and run "make menuconfig", then navigate to the options you're curious about and press "?" once on them - that will open the module option help/info.
- from the following Debian page I learned that for your BCM4331 adapter you could use the proprietary Broadcom wireless LAN driver (wl, aka broadcom-sta) or the OSS b43 that you're experiencing issues with now.
https://wiki.debian.org/wl
- you could unload and blacklist the b43 driver and try the proprietary one instead:
Code:
/usr/bin/echo "blacklist b43" > /etc/modprobe.d/b43.conf
- in these older Ubuntu & Arch threads I learned that there are several firmware releases for the b43 driver - worth checking and eventually testing:
https://ubuntuforums.org/showthread.php?p=12042532
https://bbs.archlinux.org/viewtopic.php?id=217326
http://www.lwfinger.com/b43-firmware/

Suggestions:
- try to compile a newer b43 driver - there are several repos I found online (google)
- try to load the Slackware -current kernel (newer driver) like I already suggested previously
- and a radical one: maybe you could change the internal WiFi adapter (usually a mini PCIe card) and opt for a better supported one (I'd suggest Atheros)
https://www.ifixit.com/Guide/MacBook...lacement/27656

Last edited by abga; 07-21-2020 at 06:59 PM. Reason: BCM4311 -> BCM4331
 
Old 07-24-2020, 02:54 PM   #8
tjallen
LQ Newbie
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 3
Thanks for the further hints, abga. I looked into a few things that you suggested.

First, I looked for other drivers but the best I could manage was to upgrade to kernel 5.4.52, which I compiled and installed. The 5.4.52 kernel upgrade made no difference.

The broadcom-sta (wl) driver and the b43 firmware (v6.30.163.46) on SBo don't seem to work with the BCM4331 and, as I said, that was one of the first things I tried. Besides the 6.30.163.46 firmware for the b43 driver, which is said to incompatible with the wl driver for the BCM4331, I also have the 5.100.x firmware that is also said to be incompatible, but I couldn't find a driver with the 6.20.x firmware that is said to be necessary to make the wl driver work with the BCM4331.

At home I found two other usb wifi dongles and found that one worked (using the zd1211rw driver) and the other (using the r8712u staging driver) didn't work. The one using r8712u couldn't even successfully scan the access points. Curious. Both dongles work well at home. I'm suspecting that there could be something odd about the wifi at work and how it interacts with some wifi cards and I'll talk to our IT department about it when the Linux support person gets back from vacation.

It then occurred to me that perhaps the issue was that the driver didn't get enough power to the hardware, so I went and sat right next to an access point so that its apparent power was the same as the wifi at home, but that didn't make a difference.

I'm OK with hardware modifications as I've done board-level repair and several years ago I successfully replaced the wifi board in an old MacBook Pro 2010 (twice, since the first replacement board was defective). However, the wifi module in the MacBook Pro 2012 is connected with a proprietary connector (see https://www.ifixit.com/Guide/MacBook...lacement/10363), so I doubt that there are any alternative wifi cards that will connect, which is too bad because it looks like a much easier job than in the 2010 model.

Now I think it would be good to write to the b43 driver maintainers and ask if they know of any bugs or have any ideas what might be wrong with trying to connect to my employer's wifi.

I'll update when I know more. At least now I have an acceptable work-around if the issue with the BCM4331 and my employer's wifi can't be resolved. I appreciate all your help.
 
Old 07-24-2020, 06:37 PM   #9
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,633

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
I doubt there's something "non-standard" with the WiFi system at work, instead, I believe it's also a driver issue with your r8712u adapter.
Driver support for a similar Realtek adapter was recently discussed here:
https://www.linuxquestions.org/quest...4/#post6074678
- note: "r8712u is a USB driver for RTL8712U/RTL8192SU devices. It's going to be replaced by rtl8192su"
- source:
https://wireless.wiki.kernel.org/en/...rivers/rtl819x
- however, the OP ( justwantin ) managed to get it working with the staging r8712u kernel driver
- r8712u looks to have some limitations:
https://deviwiki.com/wiki/R8712u#Supported_modes
- and if you google it, you'll get plenty of issues reported with it ...
Relatek, which is a little better supported compared to Broadcom, has its own problems, people looking for help quite often here on LQ.

Off the record:
I had my own recent experience with a Realtek USB WiFi adapter that I used for several years in STA mode (client) and considered the driver stable and performing well. Up until I tried to use the adapter in Access Point mode - see here:
https://www.linuxquestions.org/quest...-a-4175675897/

I just looked over the fence at Arch (they have good docs) after some info about your 2012 MacBook Pro and followed the links:
https://wiki.archlinux.org/index.php...2012)#Wireless
https://wiki.archlinux.org/index.php/Broadcom_wireless
"BCM4331 noticed to have problems with b43-firmware-classic. Use b43-firmwareAUR for this card instead."
https://aur.archlinux.org/packages/b43-firmware/
- cloned it and checked the PKGBUILD:
Code:
# Maintainer: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>

pkgname=b43-firmware
_classic_=${pkgname}-classic
pkgver=6.30.163.46
pkgrel=1
pkgdesc="Firmware for Broadcom B43 wireless networking chips - latest release"
arch=("any")
url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
license=("unknown")
depends=("linux>=3.2")
makedepends=("b43-fwcutter>=018")
conflicts=(${_classic_})
install=${pkgname}.install
options=(!emptydirs)
source=(http://www.lwfinger.com/${pkgname}/broadcom-wl-${pkgver}.tar.bz2)

package() {
        cd "${srcdir}"

        # Directories
        install -d "${pkgdir}"/usr/lib/firmware/

        # Application
        b43-fwcutter -w "${pkgdir}"/usr/lib/firmware/ broadcom-wl-${pkgver}.wl_apsta.o

        # Messages
        #msg "You should add 'b43' to the 'MODULES' array of your '/etc/rc.conf' file."
}

sha1sums=('237d29a7701429054f5c82c000ef2d9aa6f2c3db')
- apparently they are recommending the 6.30.163.46 firmware for the b43 driver on BCM4331 cards:
http://www.lwfinger.com/b43-firmware...163.46.tar.bz2
 
  


Reply

Tags
b43, macbook pro, wpa_supplicant


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help choosing Linux distro (MacBook Pro 2012) Darkplatinum Linux - Distributions 2 12-21-2018 05:45 PM
I am inheriting a MacBook Pro (last year's model). What is the best Linux system for a MacBook? JMacSmith Linux - Desktop 4 02-27-2018 10:37 PM
Dual boot on Macbook Pro mid 2012 with Debian Linux cmd-line34 Linux - Newbie 12 12-24-2013 03:14 AM
Linux on a macbook/macbook pro... any experiences/problems, or is it even necessary? enigma_0Z Linux - Laptop and Netbook 13 09-14-2007 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration