You are not logged in.
Hi, i've recently installed Arch Linux on my old macbook from 2017, a Macbook Pro 14,2 but ive had a lot of trouble to get the wifi working correctly, i did get it working on my home wifi for maybe 2 or 3 days but after that it already broke, didnt get it to work at work or at my moms place, but i know that the wifi card works.
Ive tried it with NetworkManager, iwd and wpa_supplicant (not at the same time ofcourse) and nothing has been working.
Only way i've even been able to get it to work with ethernet is when NetworkManager is enabled.
All i know is that when i try it with NetworkManager i get
association took too long
from the journalctl and nothing else
When i try it with wpa_supplicant i keep getting
CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
and then it stopping because conn failed
And when using iwd i get
CMD_SET_CQM failed: Operation not supported
in the journalctl and nothing else again
I'm kind of at a loss, i have the driver installed correctly, the ip link device is on, nothing is blocked when looking at rfkill
Heres some extra info i could get using iwconfig
iwconfig
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm
Retry short limit:7 RTS th:off Fragment thr:off
Power Management:on
And its a `BCM43602 (14e4:43ba)` wifi card thats in the macbook
Sorry if i havent provided enough information, its a bit hard to copy it all without wifi.
Last edited by YesImHuman (2024-01-17 07:20:03)
Offline
And its a `BCM43602 (14e4:43ba)` wifi card thats in the macbook
Yeah, common issue w/ macbooks because it's the worst wifi chip family to have: https://wiki.archlinux.org/title/Broadcom
lspci -k
In doubt try https://wiki.archlinux.org/title/Broadc … roadcom-wl and post your complete system journal for a boot after trying to use the wifi:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Online
`lspci -vnn -d 14e4:`
https://0x0.st/HUI3.txt
and this is after following 3.3.2 from that link and trying to connect using NetworkManager after that
https://0x0.st/HUIv.txt
Last edited by YesImHuman (2024-01-14 18:24:50)
Offline
not sure why but saw iwd still in the journal, disabled it, rebooted and now i dont have an interface anymore except the localhost one
Offline
You should probably share the new journal contents from a (single) boot with the missing interface.
Jin, Jîyan, Azadî
Offline
heres the new journalctl, worked it out with some friends why the interface wasnt showing up, was after installing the broadcom-wl and modprobing it
needed to modprobe brcmfmac again, but still at step 1 again, only NetworkManager and it just gives `association took too long` again
Offline
also got this from dmesg https://0x0.st/HUlu.txt
Offline
you are mixing iwd and networkmanager in an incompatible way. On a broadcom chip I'd suggest you stick to NetworkManager (wpa-supplicant) so you should disable iwd.
Online
Jan 14 20:04:38 arch kernel: wl: module license taints kernel.
Jan 14 20:04:38 arch kernel: wl driver 6.30.223.271 (r587334) failed with code 1
Jan 14 20:04:38 arch kernel: ERROR @wl_cfg80211_detach :
Jan 14 20:04:38 arch kernel: NULL ndev->ieee80211ptr, unable to deref wl
Jan 14 20:04:39 arch kernel: Bluetooth: hci0: BCM20703A2 Generic UART UHE Apple 40MHz wlcsp_x100
Jan 14 20:04:39 arch kernel: Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
Jan 14 20:16:19 arch sudo[1196]: human : TTY=pts/0 ; PWD=/home/human ; USER=root ; COMMAND=/sbin/modprobe brcmfmac
Jan 14 20:16:19 arch kernel: usbcore: registered new interface driver brcmfmac
Jan 14 20:16:20 arch kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43602-pcie for chip BCM43602/2
Jan 14 20:16:20 arch kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.Apple Inc.-MacBookPro14,2.bin failed with error -2
Jan 14 20:16:20 arch kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
Jan 14 20:16:20 arch kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.clm_blob failed with error -2
Jan 14 20:16:20 arch kernel: brcmfmac 0000:02:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txcap_blob failed with error -2
Jan 14 20:16:20 arch kernel: brcmfmac_wcc: brcmf_wcc_attach: executing
Jan 14 20:16:20 arch kernel: brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
Jan 14 20:16:20 arch kernel: brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
Jan 14 20:16:20 arch kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43602/2 wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-ea662a8c
broadcom-wl seemingly fails (you can remove that again) and for brcmfmac
pacman -Qs firmware
https://wiki.archlinux.org/title/Broadc … a)_devices
Edt: OP suggested to have disabled iwd first and indeed, while "weird"
Jan 14 20:18:52 arch iwd[360]: Terminate
Jan 14 20:18:52 arch iwd[360]: Removing scan context for wdev 1
Jan 14 20:18:53 arch iwd[360]: D-Bus disconnected, quitting...
Jan 14 20:18:53 arch systemd[1]: iwd.service: Deactivated successfully.
Jan 14 20:19:02 arch systemd[1]: Starting WPA supplicant...
Jan 14 20:19:02 arch systemd[1]: Started WPA supplicant.
it seems they were kept apart.
Last edited by seth (2024-01-14 20:56:10)
Online
ill try uninstalling iwd and broadcom-wl and running that pacman command and reboot in a bit
Offline
Offline
You don't seem to scan for any AP but connect to the SSID 'Notive Office'
The connection attempt simply times out, you're actually getting rejected (the response is from the 00:00:00:00:00:00 BSSID)
1. Can you actually scan for APs?
2. Disable https://wiki.archlinux.org/title/Networ … domization
3. You ddin't comment on the nature of the desired AP wrt. https://wiki.archlinux.org/title/Broadc … a)_devices
Online
i just use nmtui but it automatically shows the detected wifi points. about the mac randomization, ive had that config set for quite a bit already since thats one of the first things i found online.
and about the 5G, ive tried switching but i believe it was iwconfig that only shows that frequencies between 2400 and 2600 are supported, something like that, but even then, i didnt manage to change anything including the channel, not sure if i mightve tried it incorrectly though.
I'll try to go through the iwconfig again once i have time and try and change the channel again
Offline
ive had that config set for quite a bit already since thats one of the first things i found online
And it is what time and time again APs hate. Disable it.
Also stop NM and manually scan for APs.
Wrt. the channels, you'd inspect and change them in the AP, not the notebook and for a dual-channel AP (2.4 and 5GHz on the same SSID) you could try to connect to the 2.4GHz BSSID (MAC address) explcitily.
Online
just so i understand correctly, disable nm, and connect using wpa_supplicant manually by using the mac address?
also, sorry, but im not too familiar with the terminology, what does Wrt stand for?
Offline
"with regards to" and yes, the plan is to stop NM, then manually scan for the AP, then manually try to connect to it.
https://wiki.archlinux.org/title/Wpa_su … th_wpa_cli
Edit: if you want, you can also first test wifi-menu from netctl, it's more convenient.
Last edited by seth (2024-01-16 08:51:48)
Online
Ive googled a bit more and found the solution, i still dont understand why it would work but atleast it works now.
sudo iwconfig wlp2s0 txpower 10dBm
thats all i needed to do
Last edited by YesImHuman (2024-01-17 07:21:59)
Offline
That raises or lowers the transmission power.
Jan 15 12:50:17 arch kernel: brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
Jan 15 12:50:17 arch kernel: brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
might be related.
Do you have the link suggesting the fix?
You probably want to record that at https://wiki.archlinux.org/title/Laptop/Apple
Online
here is where i got the answer from, searched for the chip instead of the laptop which finally gave it
Offline
=> https://bugzilla.kernel.org/show_bug.cgi?id=193121#c26
What Tx-power does
iwconfig wlp2s0
show before? Do you also get away w/ 20dBm ?
Online
ill try in a bit to see how high i can get with it
Offline
update: i tested it out, 20dBm seems to be fine, 25dBm seems to get a bit on the unstable side where it starts to take longer to connect to the router
Offline