Home > linux > Linux: serial port forwarding via RDP to Windows machine

Linux: serial port forwarding via RDP to Windows machine

February 8Hits:5
Advertisement

I'm trying to redirect serial device on /dev/ttyUSB0 to RDP session with Windows (XP or server 2003) through FreeRDP or rdesktop.

Like this for example:
xfrerdp /a:serial,COM3,/dev/ttyUSB0 /v:server
rdesktop -r comport:COM4=/dev/ttyUSB0 server

At Windows I'm able to see this port. And even if I connect second and third contacts of COM port (just enabling echo to send all the output back to input) I can see echo in Hyper Terminal. But when I connect device I can't use it. It seems that the input in program differs from the output of the COM-device.

What settings and params should I use (like setserial or stty) to configure COM port on Linux similar to COM port on Windows to be able to transfer correct data between these two machines?

Related Articles

  • Linux: serial port forwarding via RDP to Windows machineFebruary 8

    I'm trying to redirect serial device on /dev/ttyUSB0 to RDP session with Windows (XP or server 2003) through FreeRDP or rdesktop. Like this for example: xfrerdp /a:serial,COM3,/dev/ttyUSB0 /v:server rdesktop -r comport:COM4=/dev/ttyUSB0 server At Win

  • Serial port forwarding in Remote DesktopMarch 14

    I'm having a problem with an old PC with Windows NT, 2000, 2003. We use RDP to access to a Windows Server 2008 machine with a desktop application. The problem is that computer cannot see serial POS in that machine. Do older versions of RDP allow seri

  • How can I pipe the output of the serial port to a file in Windows?April 9

    How can I pipe the output of the serial port to a file in Windows? In Linux the command would be: cat /dev/ttyS0 > /opt/logs/Serial.log --------------Solutions------------- I guess: copy com1: somefile.log There is also con: and nul: special device a

  • serial port forwarding/virtualisation?

    serial port forwarding/virtualisation?February 22

    I have a python script(UBUNTU) reading and writing info from local serial port.It works fine! what if instead of using the local serial port , i want to use another machine serial port, remotely ? how would you implement this: -between 2 ubuntu machi

  • Serial port forwarding over TCP/IP (linux server)June 24

    I am looking for a way to use a remote serial port on a linux machine over LAN. The machine is running ubuntu 10.04 and I have a arduino board connected to it, that I would like to be able to reprogram or listen/talk to serial output of it over LAN.

  • Setting up port forwarding via UPnP on Windows Server 2008 R2?October 19

    I'd like to set up some port forwarding in our router, using UPnP. More specifically, I want to run some program on startup that always forwards port 8443 my IP address (192.168.1.100). Port 8443 is for our SVN server. How do I do this with Windows S

  • Remapping Linux serial port device namesApril 30

    I have a server running Debian Linux which has a built in serial port which is coming up as ttyS0. I have a plug in PCI card with two serial ports that are being registered with Linux as ttyS2 and ttyS3. Unfortunately I am trying to run some software

  • Port forwarding software (service) for WindowsJune 27

    I have a server service that uses 8182 port. Somebody want to connect to this, but 8182 port is unavailable for him, only 5118 working fine. No problem I thought, I just install port forwarder software (service), I set to: "If somebody is connecting

  • How to do hardware DTR/DSR flow control on Linux (serial port programming)?October 10

    It's possible to setup a serial port communication using hardware flow control with the RTS/CTS pins (CRTSCTS flag for tcsetattr), but there is no way to use the DTR/DSR pins for flow control in a reliable and efficient way. One can use the TIOCMGET

  • How can I set up port forwarding for GlassFish on Windows Server 2008 and IIS7?February 25

    I bought a Windows Server 2008 and installed GlassFish, Java, PostgreSQL etc. Now my website is running on localhost:8080 in the GlassFish server. How can I set up a port forwarding such that when a request comes to this server via the usual http por

  • How many serial ports can be configured in Windows 7?October 30

    I am trying to learn the maximum number of serial ports that can be configured on Windows 7. Any information on this will be greatly appreciated. I'm having trouble finding this. --------------Solutions------------- Windows 6.0+ support 256 Communica

  • Trying to RDP to Windows machine using iptablesNovember 27

    I am a newbie to iptables. Sorry for the basic question. I am trying to connect to a Windows Machine using Microsoft's "Remote Desktop Protocol" This service uses TCP Port 3389. My Linux server is my firewall and we use iptables. My Linux server

  • RDP to Windows machine via SSH tunnels breaks the connectionDecember 13

    I am having a weird problem that I cannot understand why it happens. Basically, it is the same symptoms described by this user: http://www.dslreports.com/forum/r29166088-RDP-via-SSH-Tunnel-causes-SSH-Session-to-drop That's what I have: Lab router wit

  • ssh port forward to access my home machine from anywhere

    ssh port forward to access my home machine from anywhereAugust 28

    http://serverfault.com/questions/303937/how-to-make-freebsd-box-accessible-from-internet I want to understand this whole process of port forwarding. I read so many things but failing to understand the very basic concept of port forwarding it self. Wh

  • How to check if a port is blocked on a Windows machine?June 16

    On the Windows platform, what native options to I have to check if a port (3306, for example) on my local machine (as in localhost), is being blocked? --------------Solutions------------- Since you are on the Windows machine, these things can be done

  • C# Read serial port value only if changed (weight machine)January 29

    private SerialPort _serialPort = null; public WeightDisplay() { InitializeComponent(); Control.CheckForIllegalCrossThreadCalls = false; _serialPort = new SerialPort("COM1", 9600, Parity.None, 8); _serialPort.StopBits = StopBits.One; _serialPort.

  • Windows with putty via USB serial cable to Linux serial port - output ok, input isn'tJanuary 13

    I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5). I have /sbin/agetty -L 9600 ttyS0 in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable.

  • Port Forwarding for RDPDecember 29

    I'm trying to setup Remote Desktop on my computer. It's currently running Windows 7. RDP is set to allow for incoming connections. I've followed the instructions at PortForward.com, but am having no luck. Here's the details: Router: TP-LINK WR841N --

  • how to do linux TCP port forwarding to another serverJune 8

    how to transparently forward 203.131.xxx.xxx:8443 to 173.236.xxx.xxx:443 can ignore the certification error, just need to change the port number, and let web page content to be display in browser we CANNOT manage the low level of 173.236.xxx.xxx shal

  • How to read a Linux HD from a NAS on a windows machine?June 19

    I have/had a Buffalo NAS drive, LS-WSX Series working fine until I decided to clean out the trash folder on the NAS. Since then I can not access the shared folders that I had set up. I have spoken with Buffalo and they ran me through formatting and c

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 1.652 s.