LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Communicate Virtual Serial Port on Host(windows) to Communicate with Virtual Serial Port on Guest System(Linux) (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-communicate-virtual-serial-port-on-host-windows-to-communicate-with-virtual-serial-port-on-guest-system-linux-4175589545/)

aquamarine 09-16-2016 02:17 AM

How to Communicate Virtual Serial Port on Host(windows) to Communicate with Virtual Serial Port on Guest System(Linux)
 
Hi All Members

I have created a virtual serial ports on Windows OS(Host) and on Linux OS(Guest)using VMware and want to communicate both Virtual ports. e.g if I write any data on guest(Linux) virtual serial port it should be displayed on Host(windows)virtual port and vice versa.
If any one have an idea, Please guide me How to Communicate Virtual Serial Port created on Host(windows) to Communicate with Virtual Serial Port on Guest(Linux) System.

Thanks

michaelk 09-16-2016 11:51 AM

How did you create the virtual serial port(s), named pipe?

One way is to configure the guest's virtual serial port com1 i.e. /dev/ttyS0 to use a named pipe like \\.\pipe\com_1. To connect via PuTTY you would select serial mode then the serial line using \\.\pipe\com_1. Select 9600 baud. On the guest you can use minicom with the same settings. What you type on one terminal should be seen on the other. Character echo is not on by default so what you type will only be on the receive terminal.

jefro 09-16-2016 02:48 PM

question, why not use com port in virtualbox in machine config?


All times are GMT -5. The time now is 04:07 AM.