Serial Communication Between Two VMware virtual machines (Ubuntu)

Source: Internet
Author: User
1) install two Ubuntu systems under one VMware instance. 2) Enable VMware, but do not enable Ubuntu. in VM-& gt; Setting ...... -& gt; click ADD to ADD the serial port, and select thisendisthesever and theotherendisthevirtualmachine. The other Ubuntu is also set, but thisendisthe is selected.

1) install two Ubuntu systems under one VMware instance

2) Enable VMware, but do not enable Ubuntu. in VM-> Setting ...... -> click ADD to ADD the serial port. Select this end is the sever and the other end is the virtual machine. the other Ubuntu is also set, but select this end is the client. In this way, the serial port on "physical" is established.

3) enter the command at the same time on the terminal of the two machines
Stty ispeed 115200 ospeed 115200-F/dev/ttyS0

4) test whether the serial ports of the two machines are connected:
Enter cat/dev/ttyS0 on
Input echo hello>/dev/ttyS0 on B
If the hello message is displayed on the terminal of A, it indicates that B → A is connected. Switch Role A and Role B and try again. If all the operations are successful, congratulations! The configuration of the virtual string line is complete.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.