Set up serial pipe between VMware Linux guest and Windows host
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
\.pipecom12
, I have also tried\.pipecom_12
. - Settings are
This end is the server.
andThe 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?
linux windows vmware serial-port
add a comment |
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
\.pipecom12
, I have also tried\.pipecom_12
. - Settings are
This end is the server.
andThe 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?
linux windows vmware serial-port
add a comment |
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
\.pipecom12
, I have also tried\.pipecom_12
. - Settings are
This end is the server.
andThe 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?
linux windows vmware serial-port
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
\.pipecom12
, I have also tried\.pipecom_12
. - Settings are
This end is the server.
andThe 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?
linux windows vmware serial-port
linux windows vmware serial-port
asked Jan 15 at 20:46
CatsunamiCatsunami
1698
1698
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Ah I figured it out. Since I was using com0com, I didn't need to make a named pipe. This is the process I followed:
- Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.
In VMware add a serial port:
- Under
Connection
selectUse physical serial port
, and select COM10.
- Under
Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1394680%2fset-up-serial-pipe-between-vmware-linux-guest-and-windows-host%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ah I figured it out. Since I was using com0com, I didn't need to make a named pipe. This is the process I followed:
- Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.
In VMware add a serial port:
- Under
Connection
selectUse physical serial port
, and select COM10.
- Under
Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!
add a comment |
Ah I figured it out. Since I was using com0com, I didn't need to make a named pipe. This is the process I followed:
- Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.
In VMware add a serial port:
- Under
Connection
selectUse physical serial port
, and select COM10.
- Under
Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!
add a comment |
Ah I figured it out. Since I was using com0com, I didn't need to make a named pipe. This is the process I followed:
- Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.
In VMware add a serial port:
- Under
Connection
selectUse physical serial port
, and select COM10.
- Under
Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!
Ah I figured it out. Since I was using com0com, I didn't need to make a named pipe. This is the process I followed:
- Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.
In VMware add a serial port:
- Under
Connection
selectUse physical serial port
, and select COM10.
- Under
Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!
answered Jan 15 at 23:58
CatsunamiCatsunami
1698
1698
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1394680%2fset-up-serial-pipe-between-vmware-linux-guest-and-windows-host%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown