Set up serial pipe between VMware Linux guest and Windows host

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I am using VMware Workstation 12 Player. My host is Windows 10, my guest is Fedora 22.

I want to set up a COM port between the host and guest. The reason is I have an app running in Windows that needs to talk to an app that only runs in Linux.

I followed the instructions posted on VMware website. To summarize:

In the VM:

  • Added a named pipe called \\.\pipe\com12, I have also tried \\.\pipe\com_12.
  • Settings are This end is the server. and The other end is an application., which I think is accurate.
  • The port shows up when the VM boots up as Serial Port 2.

In Windows (host):

  • I used com0com to set up a pair of named pipes in Windows. I have COM10 linked to COM12. Nothing else is using the ports.

On Windows I opened TeraTerm, set it up to use COM10 (but I have also tried COM12), set baudrate to 115200, parity is 'none', 8 data bits, 1 stop bit, no flow control.

On Linux I opened cutecom, set it up to use ttyS2 (Serial Port 2, right?), and matched all other settings.

I tried sending characters from Windows to Linux and the other way around, but I don't see anything. What else do I need to do to get this to work?

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.