Use a USB cable to control the Raspberry Pi on the computer

Use a USB cable to control the Raspberry Pi on the computer

Normally use the Raspberry Pi, you can connect to the display screen, and then you can see its UI, just operate as a normal Ubuntu system.

If you only use a USB cable to control the Raspberry Pi on your computer, you don't need to prepare a display for the Raspberry Pi, which is more convenient.

Method 1: Use mstsc that comes with Windows

After connecting the computer and the Raspberry Pi with a USB cable, it is recommended to wait one minute for the Raspberry Pi to start, and then use the mstsc that comes with Windows, press Win+R, enter mstsc and press Enter, and enter raspberrypi in the computer name , Click Connect, as shown below:
Insert picture description here
Then enter pi in the username,
Insert picture description here
enter raspberry in the password and click OK, you can enter the UI interface of the Raspberry Pi, but it is a bit stuck .

Method 2: Use putty

If you don’t need the UI, connect to the WiFi in the upper right corner of the opened UI interface, then open the terminal, enter ifconfig, and check the ipv4 URL behind the inet in the second line of wlan0. This is the URL of the Raspberry Pi, which will generally not change. Write it down and mstsc can be turned off.
Then the next putty software from the Internet, it only has an exe file, and nothing else is needed. After opening it, enter the Raspberry Pi URL, then press Enter, and enter pi in the username and raspberry in the password, and then enter the Raspberry Pi terminal The interface can be used in this way later, which is more convenient.
After using putty to connect, copy information from the terminal to other locations, use the mouse to select the information to be copied in the terminal, and then press Ctrl+V at the other locations to be pasted. To copy information from other locations to the terminal, press Ctrl+C to copy the information, and then click the right mouse button on the terminal.

Guess you like

Origin blog.csdn.net/WeOnAir/article/details/109223208