RaspberryPiにおけるIEEE802.1X認証の設定

wpa_supplicant を 2.9 にアップグレードし、wpa_supplicant.conf を生成する。

# upgrade wpa_supplicant to 2.9

curl -s https://gist.githubusercontent.com/hsur/aeb97d134b218019f9f7f3b538348f50/raw/wpa_supplicant_upgrade.sh | bash

# create wpa_supplicant.conf

curl -s https://gist.githubusercontent.com/hsur/aeb97d134b218019f9f7f3b538348f50/raw/raspi_enterprise_wifi_setup.sh | bash

 

wpa_supplicant.conf を開き、

scan_ssid=1

を追加する。

 

wpa_supplicant.conf は結果としてこうなっている。

 

network={

ssid=“xxxxx”

scan_ssid=1

proto=RSN

key_mgmt=WPA-EAP

pairwise=CCMP

auth_alg=OPEN

eap=PEAP

identity=“xxxxx”

password=“xxxxx”

phase1=“tls_disable_tlsv1_0=0 tls_disable_tlsv1_1=0 peaplabel=0”

phase2=“auth=MSCHAPV2”

openssl_ciphers=“DEFAULT@SECLEVEL=2”

priority=1

}