See https://www.meter.com/mac-osx-awdl-psa for more context. This script will disable AWDL (Apple Wireless Direct Link) in order to improve WiFi connectivity for Apple M1/M2 MacBooks.
Usage
Run it one time
- On your Mac, open the Terminal app.
- Run:
bash <(curl -sL https://www.meter.com/awdl.sh)
- Acknowledge the prompt and type in your admin password.
Run it automatically after a restart.
- On your Mac, open the Terminal app.
- Run:
curl -sL https://www.meter.com/awdl-daemon.sh | bash
Remove the scripts and renable awdl0 interface
curl -s https://raw.githubusercontent.com/meterup/awdl_wifi_scripts/main/cleanup-and-reenable-awdl.sh | bash &> /dev/null