From 019e9bd7281b303d8c1d27e3d1ceba1c6b1cc774 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 20 Apr 2026 14:48:29 +0200 Subject: Update the ubuntu readme to include the steps for Mac setups --- ubuntu.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/ubuntu.md b/ubuntu.md index 7782e5f..5ba2dd4 100644 --- a/ubuntu.md +++ b/ubuntu.md @@ -16,9 +16,36 @@ **Example:** ```bash +sudo hostnamectl set-hostname ubuntuiso passwd nmcli dev wifi connect password -sudo hostnamectl set-hostname ubuntuiso +sudo apt update +sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server +sudo systemctl restart ssh avahi-daemon +``` + +**Mac Example:** + +On a machine with internet connection, download the Apple missing drivers dependencies + +- Get the kernel version from the live ISO (ex. `uname -r`) +- Use the kernel version to download dependencies (ex. `./hack/ubuntu/mac-drivers.sh 6.11.0-17-generic`) +- Copy downloaded dependencies (in `/tmp/bcmwl-drivers`) to the USB + +On the Ubuntu Live ISO + +```bash +sudo mkdir /media/usb +lsblk +sudo mount /dev/sdX1 /media/usb +cp -r /media/usb/bcmwl-drivers /tmp/bcmwl +bash /tmp/bcmwl/install-wl.sh /tmp/bcmwl + +ip link +hostnamectl set-hostname mubuntuiso +passwd +nmcli dev wifi connect password +dhcpcd wlps3s0 sudo apt update sudo DEBIAN_FRONTEND=noninteractive apt install -y openssh-server sudo systemctl restart ssh avahi-daemon -- cgit v1.2.3