1.在TF卡中写入官方系统
2.在boot 中创建 ssh文件夹 和 wpa_supplicant.conf 文件
3.编辑 wpa_supplicant.conf 文件,添加如下内容:
country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="你的WiFi名称"
psk="你的密码"
key_mgmt="WPA-PSK"
priority=1
}
- userconf.txt, content a single line of text, consisting of username:encrypted- password
-
pi:$6$/4.VdYgDm7RJ0qM1$FwXCeQgDKkqrOU3RIRuDSKpauAbBvP11msq9X58c8Que2l1Dwq3vdJMgiZlQSbEXGaY5esVHGBNbCxKLVNqZW1 加密的密码是 raspberry