Summary of pit filling records for Raspberry Pi 4b installation

1. Start and connect wifi

After burning the image, you should create two new files in the boot disk, ssh and wpa_supplicant.conf. ssh is an empty file and is only used to "tell" the Raspberry Pi to start the SSH service (of course, if you have a monitor connected to the Raspberry Pi Both of these can be omitted). The wpa_supplicant.conf file should be filled in as follows:

country=CN

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

update_config=1

network={

ssid="Your-WiFi-SSID"

psk="Your-WiFi-Password"

}

Fill in the two fields Your-WiFi-SSID and Your-WiFi-Password with your WIFI SSID and password.

The last step seems to be critical:
create a new wifi configuration file wpa_supplicant.conf in the root directory of the SD card. If you use a windows system to edit this file, you need to select line endings in Linux/Unix style format. For example, if you use Notepad++, you need to select "Edit" > "EOL Conversion" > "UNIX/OSX Format".

2. Next, when logging in via ssh, the new Raspberry Pi connected to SSH unexpectedly prompted an incorrect password.

Solving the problem of incorrect SSH password in the April 2022 version of Raspberry Pi OS - Melodic - Blog Park (cnblogs.com)

3. Later I found out that this classmate’s records were very comprehensive, so I’ll refer to his for the rest:)

[For Beginners] Get started with Raspberry Pi 4B easily (painless boot & initial software configuration)_Getting started with Raspberry Pi 4b_Liu Mosu's blog-CSDN blog

4. Switch to Tsinghua source ( raspbian | Mirror site usage help | Tsinghua University open source software mirror site | Tsinghua Open Source Mirror ), reference for adding the public key

Raspberry Pi 4B replaced Tsinghua Source and there was no public key and there was an error_Raspberry Pi added Tsinghua Source but there was no public key_The blog with a lot of money in the pants - CSDN blog

Guess you like

Origin blog.csdn.net/baozheng/article/details/132635841