How to enable SSH and configure WiFi and domestic sources for raspberry pie
This article will explain in detail how to turn on SSH and configure WiFi and domestic sources for raspberry pie. I think it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Turn on SSH
Connect the SD card to your computer and open it, and directly create a new "SSH" file.
Configure WiFi
Create a file named "wpa_supplicant.conf" under the root directory
Country=CN ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network= {ssid= "WiFi name" psk= "password" priority=10}
If you can access raspberry pie via SSH, the rest can be configured with raspi-config.
Domestic source
Https://mirror.tuna.tsinghua.edu.cn/help/raspbian/
# Edit the `/ etc/apt/ sources.list` file, delete all the contents of the original file, and replace it with the following: edit the` / etc/apt/sources.list.d/ raspi.list` file with deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib rpideb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ list`, and delete all the contents of the original file Replace it with the following: deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui's article on "how to open SSH and configure WiFi and domestic sources for raspberry pie" ends here. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.