1. Prerequisite — Ensure that the three are connected to each other

1.1. Core — a router that allows normal Internet access

1.2. The Windows host connects to the network

Connect the host to the router using a network cable to ensure that the Windows host has obtained an IP address and can access the Internet.

Try to use network cables. If WIFI is used, success may not be ensured

usewin+rEnter CMD to start the command line interface (CLI)ipconfig, check whether the host has obtained the IP address, and then ping Baidu to check whether the Internet can be accessed:

1.3. VMS in vmware are connected to the network

Use Bridge mode for virtual machine!!

Then check the virtual Web editor:

This can ensure that the virtual machine can access the Internet normally, useifconfigCheck whether you have obtained the IP address, and then ping Baidu, check whether you can access the Internet:

1.4. Connect the development board to the network

Development board is connected to router through network cable!!

Use the previous serial terminal Minicom to log in to the development board, and the IP address of the development board is fixed as192.168.1.136(How to fix it later) :

The IP address of Baidu is 14.215.177.39 because the DNS resolution is not configured on the development board:

At this time, we cannot access the Internet, so we need to add the default gateway (the default gateway address depends on the router) :

Route add default gw 192.168.1.1 dev eth0Copy the code

Visit Baidu again, success:

1.5. Key – Development board – Windows host – VIRTUAL machine pinging test

  1. Development board ping the other two

  1. The host pings the other two

  2. The VM pings the other two

Ok, that’s it. Now let’s have fun

2. Use SSH to log in remotely

2.1. The host accesses and transmits SSH data to VMS and development boards

Reference before the Ubuntu remote access and file transfer | configure SSH and VNC service

Note: The DEVELOPMENT board already has the SSH service by default.

2.2. The Linux VM accesses the development board using SSH

  1. Check development board SSHD service status:

  2. useSSH Username@IP address of the development boardCommand for remote SSH login

    Note: putty can also be used.