Skip to content

Instantly share code, notes, and snippets.

@timsonner
Last active September 5, 2026 04:04
Show Gist options
  • Select an option

  • Save timsonner/e4c1cad004b5336f8529ca466f5b345c to your computer and use it in GitHub Desktop.

Select an option

Save timsonner/e4c1cad004b5336f8529ca466f5b345c to your computer and use it in GitHub Desktop.
Macbook Air T2 19,1 Wi-Fi Fix - WPA3 hidden SSID discovery. Omarchy Quattro.
# see if the footgun is back
cat /etc/modprobe.d/brcmfmac.conf

# if it sets feature_disable=0x82000, clear it:
sudo sed -i '/feature_disable/d' /etc/modprobe.d/brcmfmac.conf
# or empty/remove that file if that's all it contains

sudo modprobe -r brcmfmac brcmutil 2>/dev/null
sudo modprobe brcmfmac

IFACE=$(nmcli -t -f DEVICE,TYPE device | awk -F: '$2=="wifi"{print $1; exit}')
SSID="<SSID GOES HERE>"

sudo nmcli connection delete "$SSID"
sudo nmcli connection modify "$SSID" connection.autoconnect yes connection.autoconnect-priority 10
sudo nmcli connection up "$SSID" --ask

sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment