RPi3の無線設定

sudo vi /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# Source interfaces
# Please check /etc/network/interfaces.d before changing this file
# as interfaces may have been defined in /etc/network/interfaces.d
# See LP: #1262951
#コメントアウト
#source /etc/network/interfaces.d/*.cfg

# 追加
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/labwifi.conf
wireless-power off
# apt install wpasupplicant
# wpa_passphrase NU-SFC-2.4GHz hogehoge> /etc/wpa_supplicant/labwifi.conf
# cat /etc/wpa_supplicant/labwifi.conf
network={
	ssid="NU-SFC-2.4GHz"
	#psk="hogehoge"
	psk=458dde283a44fe4cf1ca1e0470b3**********************************
}
# apt install wireless-tools