Set up serial pipe between VMware Linux guest and Windows host












1















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. 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?










share|improve this question



























    1















    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. 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?










    share|improve this question

























      1












      1








      1








      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. 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?










      share|improve this question














      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. 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?







      linux windows vmware serial-port






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 15 at 20:46









      CatsunamiCatsunami

      1698




      1698






















          1 Answer
          1






          active

          oldest

          votes


















          1














          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:




          1. Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.


          2. In VMware add a serial port:




            • Under Connection select Use physical serial port, and select COM10.




          Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            1














            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:




            1. Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.


            2. In VMware add a serial port:




              • Under Connection select Use physical serial port, and select COM10.




            Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!






            share|improve this answer




























              1














              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:




              1. Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.


              2. In VMware add a serial port:




                • Under Connection select Use physical serial port, and select COM10.




              Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!






              share|improve this answer


























                1












                1








                1







                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:




                1. Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.


                2. In VMware add a serial port:




                  • Under Connection select Use physical serial port, and select COM10.




                Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!






                share|improve this answer













                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:




                1. Set up a pair of COM ports in Windows using com0com. For me the pair as COM10 and COM12.


                2. In VMware add a serial port:




                  • Under Connection select Use physical serial port, and select COM10.




                Now in Windows I open RealTerm and connect to COM12. In Fedora I open Cutecom and connect to ttyS2. They can now communicate!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 15 at 23:58









                CatsunamiCatsunami

                1698




                1698






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                    Alcedinidae

                    Can an atomic nucleus contain both particles and antiparticles? [duplicate]