RS422 Serial communication between two linux guest system.

Discussions about using Linux guests in VirtualBox.
Post Reply
The_One
Posts: 2
Joined: 29. Aug 2012, 03:13

RS422 Serial communication between two linux guest system.

Post by The_One »

Dear all,
I am using virtualbox on win 7.
I want to establish an RS422 link between two RHEL Nash ver guest systems within virtualbox.
Can anyone kindly give me a step by step procedure to do it.
I am a novice at virtalbox.
Thanks in advance
bulletmark
Posts: 53
Joined: 16. Jun 2009, 14:48
Primary OS: Ubuntu 12.12
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,mac
Location: Brisbane Australia

Re: RS422 Serial communication between two linux guest syste

Post by bulletmark »

You could emulate the serial cable by just piping the data over a network. Use something like socat for this.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: RS422 Serial communication between two linux guest syste

Post by mpack »

It doesn't make sense to emulate an RS422 connection because the only difference between that and RS232 is the number of wires and the voltages on the physical cable: you don't have a physical cable so that distinction is meaningless. You will just open a comm port like any app. You should be able to use a pipe to connect two guests.
The_One
Posts: 2
Joined: 29. Aug 2012, 03:13

Re: RS422 Serial communication between two linux guest syste

Post by The_One »

Kindly tell me how to configure this pipe.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: RS422 Serial communication between two linux guest syste

Post by mpack »

I would think that a glance at the serial ports configuration dialog (in VM settings) would answer that more completely than anything I can type here. That and reading section 3.9 of the user manual.
Post Reply