The personal PC is connected to the Raspberry Pi using a network cable

0. Preface

You need to prepare a Raspberry Pi 4B, your own computer, and a super five network cable

Operating system: Windows 10 Professional, Raspbian OS

Development environment: Raspberry Pi 4B

1. Check the network status

Windows console input Win+R to open the command prompt, enter:

arp -a 

You will see the following output, remember the IP connected to the Raspberry Pi: 169.254.200.174 :
insert image description here

2. Set up network sharing

Next, find the network connection
insert image description here

Right-click the WLAN , and then click Properties, the purpose of this is to share WIFI :
insert image description here

My raspberry pi is ethernet:
insert image description here

So I choose ethernet:
insert image description here

3. Get the IP of Raspberry Pi

Then enter the following command at the command prompt:

arp -a

You can see that the IP has changed:
insert image description here

This is the IP address of the Raspberry Pi, let's start the ssh connection!
insert image description here

Then the connection is successful!
insert image description here

Guess you like

Origin blog.csdn.net/qq_53381910/article/details/131160842