Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
echo "" >>/media/removable/boot/config.txt
echo "enable_uart=1" >>/media/removable/boot/config.txt
touch /media/removable/boot/ssh
cat >/media/removable/boot/wpa_supplicant.conf <<EOF
country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="dd-wrt"
psk="rpi4demo"
}
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment