Sometimes, you find new features in tools that you are working with for years. Such a feature is to connect to serial ports of Virtual Machines with PuTTY. The last 6+ years, I’ve been using PuTTY and I never knew that this program had this feature. If you are using VMware Workstation and you add a serial port to your VM, you can check to box to “Use Named Pipe” followed by a input box with the syntax “. I usually use the to convert these Named Pipes to a port, which you can connect to via Telnet. However, you can also do this via PuTTY: • Open PuTTY and select Serial • Insert the Named Pipe string you entered at the VM serial port Be sure that you have selected “This side is the server” and “The other end is an application” in your VM settings, otherwise this will not work. I like the TCP Named Pipe Proxy Utility, but I prefer to not have to install programs when I don’t have to. Hyper-V exposes the serial port as a named pipe to the host system, and implements the server end of the named pipe. Consequentially, to connect them, we need to write a named-pipe client which connects to both VMs, and copies the data back and forth.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |