By default older Mac computer models have driver issues with the Broadcom Wi-Fi chip. Most instructions online (such as this one from the official Ubuntu docs @ https://help.ubuntu.com/community/Macmini5-1/Precise) suggest to use sudo apt-get
and install these packages from the PPA.
BUT you don't have Internet so you can't use apt-get
! Instead you can use a different computer to download the packages, then transfer them over.
In the instructions below, you will need to replace sid
in the download URL's with the proper version of Debian your version of Ubuntu/Linux is using. To find which version you should use, you can view the chart at https://askubuntu.com/questions/445487/what-debian-version-are-the-different-ubuntu-versions-based-on#445496. If you're using jessie
for example, then replace all sid
with jessie
in the links below.
- Download
b43-fwcutter
@ https://packages.debian.org/sid/b43-fwcutter (replace "sid" in the URL as needed -- scroll down to "Download" section and choose based off your architecture, and then select a mirror/FTP link to download from on the next page that appears). - Download
firmware-b43-installer
@ https://packages.debian.org/sid/firmware-b43-installer (repeat same note as above) - Download
webfs
@ https://packages.debian.org/sid/webfs (repeat same note as above) - Download http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 (e.g. using
wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
) - Save these downloaded files to flash storage and then insert flash storage into your Ubuntu/Linux machine.
- Copy the files from the flash storage to your Ubuntu/Linux machine's desktop.
- Open a terminal and run the command
echo '127.0.0.1 www.lwfinger.com' | sudo tee --append /etc/hosts
- Run the command
sudo dpkg -i ~/Desktop/webfs.deb
(replace webfs.deb with the webfs deb file name) - Run the command
sudo mkdir -p /var/www/b43-firmware
- Run the command
sudo mv ~/Desktop/broadcom-wl-5.100.138.tar.bz2 /var/www/b43-firmware/
- Run the command
sudo sed -i -e 's/web_root="\/var\/www\/html"/web_root="\/var\/www"/' /etc/webfsd.conf
- Run the command
sudo sed -i -e 's/web_port=""/web_port="80"/' /etc/webfsd.conf
- Restart the web server
sudo /etc/init.d/webfs restart
(you may need to usesudo systemctl restart webfs
if your system usessystemd
) - Run the command
sudo dpkg -i ~/Desktop/b43-fwcutter.deb
(replace b43-fwcutter.deb with the b43-fwcutter deb file name) - Run the command
sudo dpkg -i ~/Desktop/firmware-b43-installer.deb
(replace firmware-b43-installer.deb with the firmware-b43-installer deb file name) - Run the command
echo 'blacklist ndiswrapper' | sudo tee --append /etc/modprobe.d/blacklist.conf
- Run the command
echo 'SUSPEND_MODULES="b43 bcma"' | sudo tee ---append /etc/pm/config.d/modules
- Run
sudo reboot
and then check if you can connect to Wi-Fi. - See https://help.ubuntu.com/community/MacBookPro8-2#Wireless for other instructions, such as enabling Sensors. Also see https://askubuntu.com/questions/334561/problems-with-broadcom-bcm4311-wireless-card-on-hp-pavillion-dv6000#667832 for reference.
- Remove
webfs
and the temp dir by typingsudo apt-get remove -y webfs
andsudo rm -rf /var/www/b43-firmware/
on your Ubuntu/Linux machine afterwards.
Dear @niftylettuce, thank you very much for your 20 steps above. I have a 2006 iMac 6,1 and I managed to successfully install Lubuntu 20.04 on it using this thread: https://mesom.de/efi32boot/index.html
Next, I follow your steps above, since I suspect that my iMac ethernet adapter is broken. It all goes well until step 15. Here it goes wrong. See the error message below:
mdeterink@iMac:~$ sudo dpkg -i ~/Desktop/firmware-b43-installer_019-5_all.deb (Reading database ... 228698 files and directories currently installed.) Preparing to unpack .../firmware-b43-installer_019-5_all.deb ... Unpacking firmware-b43-installer (1:019-5) over (1:019-5) ... Setting up firmware-b43-installer (1:019-5) ... No chroot environment found. Starting normal installation --2020-06-09 20:17:30-- https://www.lwfinger.com/b43-firmware/broadcom-wl-6.30.163.46.tar.bz2 Resolving www.lwfinger.com (www.lwfinger.com)... 127.0.0.1 Connecting to www.lwfinger.com (www.lwfinger.com)|127.0.0.1|:443... failed: Connection refused. /var/lib/dpkg/info/firmware-b43-installer.postinst: Some problem occurred during the firmware download. Please check your internet connection. dpkg: error processing package firmware-b43-installer (--install): installed firmware-b43-installer package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: firmware-b43-installer mdeterink@iMac:~$
I do not know what to do. I checked my '/etc/hosts' file and it includes the line '127.0.0.1 www.lwfinger.com'. I would be very greatful if anyone can help me. Lubuntu is working very nicely on my old iMac, but without network it becomes impossible.
Thanks, Marco