![]() ![]() Voila! Our Linux machine will display anything we type on Hyperminal. For example, from our own Linux host, we can communicate to the Hyperterminal running under Windows-XP guest via this virtual serial port by telnetting to the port: Socat UNIX-CONNECT:/tmp/com1_socket TCP-LISTEN:8040įrom another terminal (either local machine or remote machine) we can telnet to this port. ![]() We can pick any available tcp port, for example 8040. If we want to forward it as a listening port (e.g, as a tcp server so remote systems are able to communicate with the COM1 via TCP/IP), on Linux host's shell type: socat UNIX-CONNECT:/tmp/com1_socket TCP-LISTEN. The byte-streams are actually piped to /tmp/com1_sock (if we don't do anything, it just acts as a dummy). When my Windows XP is runnning, it recognizes the COM1 and is able to communicate. On VirtualBox, enable Serial port and select "Host Pipe", check "Create Pipe" and in "port path" textbox, type /tmp/com1_sock. There is another very cool feature on Linux and VirtualBox which might solve compatibilities of old softwares that require serial connections. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |