Implement virtual serial communication between host and virtual machine

Source: Internet
Author: User
Tags oracle vm virtualbox vm virtualbox

First, the tool

1, Win10 for the system of the host

2, OpenWrt for the system of virtual machine

3. Oracle VM VirtualBox 5.0.12

4. VSPD Virtual serial Port tool


Second, step

1, the host creates the virtual serial port COM1, COM2

2. Virtual box settings

In OpenWrt ttyS0 corresponds to COM1, and ttyS1 corresponds to COM2. Because the system uses ttyS0 as the debug serial port, we use ttyS1, which is COM2.

3. Testing

Host send, virtual machine receive

Virtual machine send, host receive

Reference:

http://blog.csdn.net/comor/article/details/6155121

Implement virtual serial communication between host and virtual machine

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.