wifi の設定

/etc/network/interfaces

allow-hotplug wlan0
iface wlan0 inet dhcp
	wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
#
/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=JP
network={
	ssid="GP01-SSID"
	psk="secretabc"
        }
SSIDを探す方法

# iwlist wlan0 scan | grep ESSID

手動で設定を有効にする

# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

	# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
	Successfully initialized wpa_supplicant
	Line 8: Invalid passphrase length 5 (expected: 8..63) '12345"'.
	Line 8: failed to parse psk '"12345"'.
	Line 9: failed to parse network block.
	Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
	
参考になるページ

Setting WiFi up via the command line


Return

Jan/31/2018