如何在启动时启用 Raspberry Pi (Raspbian) WiFi 连接
打开 Raspbian SD 卡上的 boot 分区并在那里创建文件 wpa_supplicant.conf,内容如下:
wpa_supplicant.conf
country=de
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid="MyWifi"
psk="abc123abc"
}始终在顶部设置国家代码!如果不正确设置,它将无法工作!
将 ssid 设置为无线网络的名称。
将 psk 设置为 wifi 密码。
Check out similar posts by category:
Raspberry Pi
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow