使用wap_supplicant 连接企业wifi wpa2 enterprise

kevin.Zhu 发布于:2018-11-9 11:58 分类:Linux系统运维  有 23 人浏览,获得评论 0 条  

https://gist.github.com/kyleraymorgan/fb404500adafe1ebdb66


wpa_supplicant.conf 文件内容如下: 

# Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file.
# I used this to connect to my university's wireless network on Arch linux.
# Here's the command I used:
#
#   wpa_supplicant -i wlan0 -c ./wpa_supplicant.conf


network={
  ssid="YOUR_SSID"
  scan_ssid=1
  key_mgmt=WPA-EAP
  identity="YOUR_USERNAME"
  password="YOUR_PASSWORD"
  eap=PEAP
  phase1="peaplabel=0"
  phase2="auth=MSCHAPV2"
}