Raspberry Pi 4B tutorial

Xiaobai (without screen) playing Raspberry Pi 4B

Many friends get the Raspberry Pi and burn the image and don’t know what to do

Prepare an SD card (16G or more recommended), SD card reader, and Raspberry Pi 4B

  1. Prepare the image file and some common tools (click the link below to download) and unzip the
    4B image + boot file + basic tools
    Extraction code: 52d0

  2. Image burning
    1) Prepare an SD and SD card reader
    2) First, format the SD card
    Insert picture description here
    Insert picture description here
    3) Burn the image. The
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here
    Insert picture description here
    entire burning process takes about 7-8 minutes. The burned SD card is reinserted.

  3. Configure the boot file (also available in the downloaded compressed package)
    Ⅰ. Method
    1: Create a new ssh file (an empty file contains nothing)
    ② Create a wpa_supplicant.conf The contents are as follows

country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    
    
	ssid="23456"   //wifi名称
	psk="123456789"  //wifi密码
	priority=1     //优先级
}

③Copy the two files created to the SD card that has just been burned
. Ⅱ. Method two After the
Insert picture description here
Insert picture description here
Insert picture description here
modification, copy the two files to the SD card
Insert picture description here
. 3. Remote configuration
1) Turn on the hotspot of the mobile phone (name and password are set to In the previous file configuration)
2) The computer is also connected to the mobile hotspot (remote connection configuration requires the computer and the Raspberry Pi to be in the same local area network)
3) The
Raspberry Pi is powered on 4) The IP address of the Raspberry Pi is checked through the mobile phone
Insert picture description here
5 ) Open the putty tool, connect to the Raspberry Pi
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
, and enter

sudo raspi-config

Insert picture description here

After you come in, open the configuration of VNC (Camera and ssh are the same) (select with the arrow keys) and select the
Insert picture description here
Insert picture description here
Insert picture description here
one with yes

Select the resolution you want. Insert picture description here
Insert picture description here
Insert picture description here
After configuration,
Insert picture description here
click Finish and the Raspberry Pi will restart

Open VNC
Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here
The signal connected to the network under the LAN affects the connection of the Raspberry Pi, causing the connection to be lost

Establish the second remote connection method on VNC (stable)
Prepare a network cable to connect the Raspberry Pi to the computer through the network cable
Open the command box in VNC and enter ifconfig to view ip

ifconfig

Insert picture description here
After obtaining the IP address, close VNC and open it again. I
Insert picture description here
Insert picture description here
found that the ip address just obtained can also be connected to the Raspberry Pi. The Raspberry Pi can be
replaced by Tsinghua Source.

If anything is wrong, you are welcome to correct me.

Guess you like

Origin blog.csdn.net/qq_45619513/article/details/109264438