【问题标题】:Connect Retroflag GPi (Raspberry Pi Zero W) to WPA2 Enterprise将 Retroflag GPi(Raspberry Pi 零 W)连接到 WPA2 Enterprise
【发布时间】:2020-06-17 18:32:04
【问题描述】:

我刚刚启动并设置了我的 retroflag gpi 案例。不过我有一个小问题。我无法将我的 Pi 连接到我的 WPA2-Enterprise 网络。我在 wpa_supplicant.conf 中尝试了一系列设置,但无法使其正常工作。

Pi 模型或其他硬件: Raspberry Pi Zero W & Retroflag GPi Case

使用的电源: Retroflag GPi 内置。

使用的 RetroPie 版本: 4.6.1

构建于: https://github.com/RetroPie/RetroPie-Setup/releases/download/4.6/retropie-buster-4.6-rpi1_zero.img.gz

已连接 USB 设备: Retroflag GPi

使用的控制器: Retroflag GPi

收到错误消息: 看不到任何错误信息。不知道他们出现在哪里。它只是在 show ip 中显示 IP-address Unkown。

使用的指南: Google 上的几个。这其中之一:https://gist.github.com/elec3647/1e223c02ef2a9a3f836db7984011b53b。 这个文档:https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf

文件: /etc/wpa_supplicant/wpa_supplicant.conf

配置文件附件: (wpa_supplicant.conf)

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=SE

ap_scan=1

network={
  ssid="Wifi-Name"
  scan_ssid=1
  identity="myusername"
  password="mypassword"
  key_mgmt=WPA-EAP
  eap=TTLS
  phase1="peapver=0 peaplabel=1"
  phase2="autheap=MSCHAPV2"
}

【问题讨论】:

    标签: raspberry-pi wifi raspberry-pi-zero wpa-supplicant


    【解决方案1】:

    我刚才确实解决了。

    对于任何想知道我设法连接到另一台机器 (Ubuntu) 上的网络并使用网络管理器的人。然后我用命令检查了日志(根据this link):

    journalctl -u NetworkManager
    

    这给了我 wpa_supplicant.conf 的配置:

    
    country=SE
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    
    ap_scan=1
    
    network={
      ssid="Wifi-Name"
      scan_ssid=1
      bgscan="simple:30:-65:300"
      key_mgmt=WPA-EAP WPA-EAP-SHA256
      password="password"
      eap=PEAP
      fragment_size=1266
      phase2="auth=MSCHAPV2"
      identity="username"
      proactive_key_caching=1
    }
    
    

    这可能不适用于所有人,因为每个网络的配置总是不同的。因此,如果您无法正常工作,请务必执行与我相同的步骤。

    很高兴我终于得到了这个,哈哈。

    【讨论】:

      猜你喜欢
      • 2021-10-20
      • 2020-05-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-18
      • 1970-01-01
      相关资源
      最近更新 更多