LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2016, 03:17 AM   #1
aquamarine
LQ Newbie
 
Registered: Feb 2011
Posts: 29

Rep: Reputation: 0
How to Communicate Virtual Serial Port on Host(windows) to Communicate with Virtual Serial Port on Guest System(Linux)


Hi All Members

I have created a virtual serial ports on Windows OS(Host) and on Linux OS(Guest)using VMware and want to communicate both Virtual ports. e.g if I write any data on guest(Linux) virtual serial port it should be displayed on Host(windows)virtual port and vice versa.
If any one have an idea, Please guide me How to Communicate Virtual Serial Port created on Host(windows) to Communicate with Virtual Serial Port on Guest(Linux) System.

Thanks
 
Old 09-16-2016, 12:51 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 23,900

Rep: Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266
How did you create the virtual serial port(s), named pipe?

One way is to configure the guest's virtual serial port com1 i.e. /dev/ttyS0 to use a named pipe like \\.\pipe\com_1. To connect via PuTTY you would select serial mode then the serial line using \\.\pipe\com_1. Select 9600 baud. On the guest you can use minicom with the same settings. What you type on one terminal should be seen on the other. Character echo is not on by default so what you type will only be on the receive terminal.
 
Old 09-16-2016, 03:48 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,604

Rep: Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540Reputation: 3540
question, why not use com port in virtualbox in machine config?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot communicate with serial-USB port (pl2303) wayson52 Linux - Hardware 0 10-17-2012 04:05 AM
Communicate the SUSE 11.3 through serial console port jpaw79 SUSE / openSUSE 1 03-28-2011 07:44 PM
How to create a virtual serial/COM port in Linux archShade Linux - General 8 06-12-2010 10:51 AM
access virtual box serial port from host wykthorr Linux - Virtualization and Cloud 2 04-06-2010 12:42 AM
Unable to communicate using serial port (COM1) /dev/ttys0 vinaybms Linux - Networking 1 03-11-2005 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration