From d9433d2eef58001073059bb470b509ed1c31e481 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 26 Feb 2026 19:29:42 +0100 Subject: Update instructions on mac install instructions --- archlinux.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'archlinux.md') diff --git a/archlinux.md b/archlinux.md index ceca6d6..14acf3e 100644 --- a/archlinux.md +++ b/archlinux.md @@ -28,7 +28,7 @@ dhcpcd wlan0 - On another machine, download the matching broadcom-wl package (using `scripts/get-broadcom-wl.sh`) - Copy broadcom-wl package to a FAT32 USB drive - Remove conflicting kernel modules (`brcmfmac brcmutil b43 ssb bcma wl`) -- Load the broadcom-wl driver from USB +- Load the `broadcom-wl` driver from USB - Connect to wireless network - `cp host_vars/mac-archiso.local.example host_vars/mac-archiso.local` - Update the `host_vars/mac-archiso.local` file @@ -36,35 +36,35 @@ dhcpcd wlan0 **Example:** +To download the correct `broadcom-wl` driver use the following: + +```bash +# On the mac machine without the wifi driver +uname -r + +# On a machine with working internet connection +scripts/get-broadcom-wl.sh +cp broadcom-wl-6.30.223.271--x86_64.pkg.tar.zst /mnt/sdX +``` + ```bash +# On the mac machine without the wifi driver hostnamectl set-hostname mac-archiso.local passwd -# Get the running kernel version (used to find the right package and insmod path) -uname -r - -# Identify USB partition lsblk -# Copy driver to MacBookPro archiso -mkdir /mnt/usb -mount /dev/sdb /mnt/usb +mkdir -p /mnt/usb && mount /dev/sdX /mnt/usb cd /tmp bsdtar -xf /mnt/usb/broadcom-wl-6.30.223.271--x86_64.pkg.tar.zst # Fix loading the driver rmmod brcmfmac brcmutil b43 ssb bcma wl -# should be empty -lsmod | grep -E 'brcmfmac|brcmutil|b43|ssb|bcma|wl' -# Insert module insmod usr/lib/modules//extramodules/wl.ko.zst -# bcma auto-reloads, remove it again -rmmod bcma +# rmmod bcma if needed because it was auto-reloaded -# should show wlan0 rfkill unblock all ip link -# Connect to network iwctl --passphrase station wlan0 connect dhcpcd wlan0 ``` -- cgit v1.2.3