Wei Dongshan embedded first phase of the study notes DAY_3--6_6_ solve word problems embedded development ping

Author: GWD Time: 2019.7.4
a course content:
1. Q: What is the key to ping each other?
Answer: PC machine connected to the network card A development board, VM A would use the same card as a bridge card.
Here Insert Picture Description
2, Q: IP-related operations under a virtual machine?
A: 1), edit the virtual machine network adapter bridging mode, select the card A;
2), ifconfig to view the IP address of the virtual machine, set the IP address is 192.168.6.2
Here Insert Picture Description
Here Insert Picture Description
3, asked: IP-related operations under Windows?
A: The type ipconfig at the command line to view the ip address, in Control Panel -> Network Sharing Center to modify the IP address, set the IP address for the network card A 192.168.6.1
, attention must turn off the firewall.
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
4, Q: IP-related operations under development board?
Answer: 1), print view the IP address of the network card;
2), the SET ipaddr change the IP address of the development board, save command to save

Here Insert Picture Description
5, Q: how to check whether the connection is successful?
A: mutual PING,
Here Insert Picture Description
6, Q: how the hardware is connected?
A: The notebook connected switch, switch connected to the development board.
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/gongweidi/article/details/94593631