3
2

More than 5 years have passed since last update.

RaspberryPiでOSリブート無しでWiFiの接続先を切り替える

Posted at

なんかみんないちいちOSをリブートしててつらい

sudo vim /etc/wpa_supplicant/wpa_supplicant.conf  # 元あったnetworkの行を消す
sudo sh -c 'wpa_passphrase SSID PASSPHRASE >> /etc/wpa_supplicant/wpa_supplicant.conf'
sudo ifdown wlan0
sudo ifup wlan0

3
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2