烧录Raspbian系统+SSH无线连接配置
- 官网下载Raspbian Buster with Desktop
- 使用BalenaEtcher将Raspbian镜像烧录入tf卡,Flash!
- 在boot分区下新建SSH文件(无后缀)开启SSH功能
- 在boot分区下新建wpa_supplicant.conf文件,写入无线连接信息
country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="wi-fi name here"
psk="wi-fi password here"
key_mgmt=WPA-PSK
}
network={
ssid="another wi-fi name here"
psk="another wi-fi password here"
key_mgmt=WPA-PSK
}
Raspbian配置
修改pi和root账户的密码
sudo passwd pi
sudo passwd root
解锁root用户,不用每次sudo
sudo passwd --unlock root