From b28c30c12744a69df511b79b586a8ba1fe86a68b Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Sun, 9 Feb 2025 21:13:26 +0530 Subject: [PATCH] Add way to get wifi on the live iso in case of T2 Macs --- .../installation/installation_t2macbook.mdx | 35 +++++++++++++++++-- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/src/content/docs/installation/installation_t2macbook.mdx b/src/content/docs/installation/installation_t2macbook.mdx index d7152fd7..b9f7062a 100644 --- a/src/content/docs/installation/installation_t2macbook.mdx +++ b/src/content/docs/installation/installation_t2macbook.mdx @@ -12,8 +12,37 @@ import { Tabs, TabItem, Steps } from '@astrojs/starlight/components'; CachyOS provides out of the box support for the T2 MacBook. The required kernel patches are shipped in all the kernels provided by CachyOS. **WiFi connection** is **not available** out of the box because it is a closed source firmware, which CachyOS is not allowed to redistribute. -The installation will only work with a LAN connection. WiFi support can be set-up after the installation. -See [installation of the firmware](#installation-of-the-firmware) +The installation needs internet to proceed, so either use a LAN network, or follow [this section](#getting-wifi-firmware-for-the-installation) to get WiFi firmware. + +### Getting WiFi firmware for the installation + + + +1. First boot into macOS and run this command: + ```sh + curl -sL https://wiki.t2linux.org/tools/firmware.sh | bash -s copy_to_efi + ``` + +2. Now boot into the CachyOS ISO. Open Konsole there, and run these commands: + ```sh + sudo mkdir -p /tmp/apple-wifi-efi + sudo mount /dev/nvme0n1p1 /tmp/apple-wifi-efi + bash /tmp/apple-wifi-efi/firmware.sh get_from_efi + sudo umount /tmp/apple-wifi-efi + ``` + +3. Setup `iwd` as backend for NetworkManager. You can run the following commands in Konsole to do so: + ```sh + cat < + +Now you can connect to a WiFi network and proceed with the installation. ### Proceeding with Installation @@ -68,4 +97,4 @@ sudo modprobe -r brcmfmac sudo modprobe brcmfmac ``` -The firmware can also be extracted from an ISPW file, see the [t2linux wiki page](https://wiki.t2linux.org/guides/wifi-bluetooth/) +For more ways to get the firmware, see the [t2linux wiki page](https://wiki.t2linux.org/guides/wifi-bluetooth/)