How To Set Up A Serial Port Between Two Virtual Machines In VirtualBox


https://www.howtoforge.com/how-to-set-up-a-serial-port-between-two-virtual-machines-in-virtualbox


I needed to test serial communication between two VirtualBox guest machines on Linux. This tutorial describes what I did to set up a serial port between two virtual machines running on VirtualBox.

  • My host operating system was Ubuntu 10.10
  • My guest operating systems were Microsoft Windows XP and Debian Lenny.

On the host machine you don't need to install or configure anything.

On guest virtual machines you need to configure serial port settings.

 

First Guest VM Serial Port Settings - Debian

Image

Figure 1. - First Guest VM Serial Port Settings

Enable Serial Port check box: checked (enabled)
Port Number: COM1
Port Mode: Host Pipe
Create Pipe check box: checked (enabled)
Port/File Path: /tmp/vboxS0

 

Second Guest VM Serial Port Settings - Microsoft Windows XP

Figure 2. - Second VM Serial Port Settings

Enable Serial Port check box: checked (enabled)
Port Number: COM1
Port Mode: Host Pipe
Create Pipe checking box: unchecked (disabled)
Port/File Path: /tmp/vboxS0


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值