Installer le pilote wifi pour MacBook5,2 (Mid-2009) sous elementary OS 5.1 Hera

Écrit le 02 janvier 2020  •  Intervention délicate •  20 min •  Aucun commentaire

$ lshw -C Network

description : Ethernet interface

produit : MCP79 Ethernet

.....blabla

description : Interface réseau sans fil

produit : BCM4322 802.11a/b/g/n Wireless LAN Controller

...

configuration : ... driver=b43 ...

.....blabla

$ dmesg | grep -i b43

Dec 31 18:10:57 MacBook kernel: [    8.310744] b43-phy0: Broadcom 4322 WLAN found (core revision 16)
Dec 31 18:10:57 MacBook kernel: [    8.361676] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 4
Dec 31 18:10:57 MacBook kernel: [    8.361700] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 3, Version 0
Dec 31 18:10:57 MacBook kernel: [    8.377678] b43 ssb0:0: Direct firmware load for b43/ucode16_mimo.fw failed with error -2
Dec 31 18:10:57 MacBook kernel: [    8.377696] b43 ssb0:0: Direct firmware load for b43/ucode16_mimo.fw failed with error -2
Dec 31 18:10:57 MacBook kernel: [    8.377716] b43 ssb0:0: Direct firmware load for b43-open/ucode16_mimo.fw failed with error -2
Dec 31 18:10:57 MacBook kernel: [    8.377730] b43 ssb0:0: Direct firmware load for b43-open/ucode16_mimo.fw failed with error -2
Dec 31 18:10:57 MacBook kernel: [    8.377734] b43-phy0 ERROR: Firmware file "b43/ucode16_mimo.fw" not found
Dec 31 18:10:57 MacBook kernel: [    8.377738] b43-phy0 ERROR: Firmware file "b43-open/ucode16_mimo.fw" not found
Dec 31 18:10:57 MacBook kernel: [    8.377741] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.

- en fait l'URL est erronée, la page est là : https://wireless.wiki.kernel.org/en/users/Drivers/b43

- finalement cette URL est encore plus aidante : https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx#b43%20-%20No%20Internet%20access

- Install the b43-fwcutter package : https://launchpad.net/ubuntu/+source/b43-fwcutter :

$ sudo dpkg -i b43-fwcutter_019-4_amd64.deb

- Installer le firmware : http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2

$ bunzip2 broadcom-wl-5.100.138.tar.bz2

$ tar xvf broadcom-wl-5.100.138.tar

$ cd broadcom-wl-5.100.138

$ sudo b43-fwcutter -w /lib/firmware broadcom-wl-5.100.138/linux/wl_apsta.o

$ sudo modprobe -r b43 bcma

$ sudo modprobe -r brcmsmac bcma

$ sudo modprobe -r wl

$ sudo modprobe b43

Allow several seconds for the network manager to scan for available networks before attempting a connection.

Et ça marche

Le tout suivi d'un update + upgrade et même pas besoin de blacklister les drivers inutiles, mais voici des infos au cas où :

After a reboot the system may auto-load a different driver to the one you wanted to use. Consequently, for permanent use, you may find it necessary to blacklist the driver/module you are not using. In the command below replace drivername with the driver you want to blacklist:

$ sudo echo "blacklist drivername" | sudo tee -a /etc/modprobe.d/blacklist-broadcom-wireless.conf

Update the initramfs after any changes to the blacklist files:

$ sudo update-initramfs -u

Note: The bcmwl-kernel-source package will automatically blacklist the open source drivers/modules in /etc/modprobe.d/blacklist-bcm43.conf.

If you wish to permanently use the open source drivers then remove the bcmwl-kernel-source package:

$ sudo apt-get purge bcmwl-kernel-source

Ensure that the driver/modules you wish to use are not blacklisted in any of the other files in /etc/modprobe.d.

Écrire un commentaire

Pour la vérification anti-spam, saisissez la deuxième lettre du mot "jdhthw" dans le carré rouge ci-dessous :

  puis