如何在启动时启用 OctoPi WiFi 连接
首先,将 OctoPi 安装到 SD 卡 - 例如,使用 rpi-imager:如何使用 rpi-imager 安装 OctoPi
打开 OctoPi SD 卡上的 boot 分区并在那里创建文件 wpa_supplicant.conf,内容如下:
how-to-enable-octopi-wifi-connection-on-boot.txt
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:
3D Printing, 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