Skip to content

Instantly share code, notes, and snippets.

@dynamis
Last active March 5, 2019 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dynamis/d2b2b28d29c9cb13ae0d5fa1289e48fd to your computer and use it in GitHub Desktop.
Save dynamis/d2b2b28d29c9cb13ae0d5fa1289e48fd to your computer and use it in GitHub Desktop.
Raspberry Pi の WiFi 設定書き換え手順
# 変更前の WiFi から
ssh pi@raspberrypi-NN.local "sudo dd of=/etc/wpa_supplicant/wpa_supplicant.conf" < wpa_supplicant.conf
ssh pi@raspberrypi-NN.local "sudo reboot"
# 変更後の WiFi に切り替えて
ssh pi@raspberrypi-NN.local echo OK
ssh pi@raspberrypi-NN.local "sudo shutdown now"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment