Last active
March 5, 2019 03:34
-
-
Save dynamis/d2b2b28d29c9cb13ae0d5fa1289e48fd to your computer and use it in GitHub Desktop.
Raspberry Pi の WiFi 設定書き換え手順
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 変更前の WiFi から | |
ssh [email protected] "sudo dd of=/etc/wpa_supplicant/wpa_supplicant.conf" < wpa_supplicant.conf | |
ssh [email protected] "sudo reboot" | |
# 変更後の WiFi に切り替えて | |
ssh [email protected] echo OK | |
ssh [email protected] "sudo shutdown now" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment