[PVE-User] Serial port crossover

Frank, Petric (Petric) Petric.Frank at alcatel-lucent.com
Tue Sep 29 16:06:09 CEST 2015


Hello,

thanks for your reply.

I will have a look.

kind regards
  Petric


From: pve-user [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of Thomas Lamprecht
Sent: Dienstag, 29. September 2015 14:52
To: PVE User List
Subject: Re: [PVE-User] Serial port crossover

Hi,
socat should cover that just fine, see `man socat`
something like:

socat /dev/ttyS0,raw,echo=0,crnl /dev/ttyS1,raw,echo=0,crnl
should work.

For reusing/multiplexing ports take a look at my forum entry here:
http://forum.proxmox.com/threads/23379-Sharing-physical-COM-port-with-two-servers?p=116991#post116991
And especially the project GitHub site: https://github.com/danielinux/ttybus
It may also be helpful.
On 09/29/2015 02:35 PM, Frank, Petric (Petric) wrote:

Hello,



this may not be exactly be a proxmox problem ...



I have to connect two VM servers via a (virtual) cross-over serial cable. I do not want to use the serial ports of the VM host - i.e. connect the serial interfaces from the VMs to /dev/ttyS(1/2) and use a physical x-over cable at the proxmox host.



I know that I can use the "-serial:..." option to define the serial ports. But how to interconnect two of them.



Is such a thing possible.

If yes, can you give me a hint on how to do it ?



Kind regards

  Petric



_______________________________________________

pve-user mailing list

pve-user at pve.proxmox.com<mailto:pve-user at pve.proxmox.com>

http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20150929/11db9ddf/attachment-0015.html>


More information about the pve-user mailing list