📜  如何放置 wifi 凭据树莓派 sd 卡 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:34.349000             🧑  作者: Mango

代码示例1
add a wpa_supplicant.conf file in boot folder of your SD card

put your credentials 

country=US # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
    ssid="YOUR_NETWORK_NAME"
    psk="YOUR_PASSWORD"
    key_mgmt=WPA-PSK
}