- Boot with a USB drive with an image from https://github.com/marcosfad/mbp-ubuntu
- Hold Option at the chime and pick the last one
echo high > /sys/bus/pci/drivers/amdgpu/0000:??:??.?/power_dpm_force_performance_levelapt install /usr/src/iso-firmware.debmodprobe -r brcmfmacmodprobe brcmfmacsystemctl restart network-manager- Add this to
/etc/NetworkManager/NetworkManager.conf:
[device]
wifi.scan-rand-mac-address=no
- Comment out all of
/etc/NetworkManager/conf.d/wifi_backend.conf sudo systemctl restart NetworkManager- Connect to Wi-Fi with the normal GUI
apt install hostapdiw dev wlan0 interface add wlan1 type __apcat /usr/share/doc/hostapd/examples/hostapd.conf > /etc/hostapd/hostapd.conf- Edit that new file, setting
interface=wlan1,ssid,wpa=2,wpa_passphrase, andwpa_key_mgmt=WPA-PSK systemctl unmask hostapdsystemctl start hostapdifconfig wlan1 inet 10.0.0.1/8sysctl -w net.ipv4.ip_forward=1iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADEsystemd-inhibit cat- Connect from clients with a static IP of
10.0.0.2and up, and using a public DNS server