LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RHEL - Windows Serial communication + serial to USB adapters (https://www.linuxquestions.org/questions/linux-newbie-8/rhel-windows-serial-communication-serial-to-usb-adapters-4175496916/)

ingenieria 03-03-2014 05:51 PM

RHEL - Windows Serial communication + serial to USB adapters
 
So... I have a RHEL 5.8 running on a Dell's PowerEdge R720, and i need to use two USB to serial adapters on both machines, I need to send and receive text messages between this machines.

On Windows 7, I'm using the Hercules serial terminal, configured to 9600 baud, 8 data size, no parity, and no handshake.

When i plug in the USB to serial adapter on the RHEL machine, ttyUSB0 shows up, this makes me think that the Kernel recognize the adapter, and the same for windows, a COM# port becomes available.

On RHEL, i'm using cat /dev/ttyUSB0 9600 cs8 -cstopb -parenb and echo "This is my message" >/dev/ttyUSB0 commands trying to send and receive messages but nothing show up.. so.. Thanks in advance

michaelk 03-03-2014 10:51 PM

It would be easier if you used an terminal application like minicom instead of cat.

Make sure you use a NULL MODEM serial cable when connecting two PCs.

TB0ne 03-04-2014 09:03 AM

Agree with michaelk totally...a null-modem is probably the culprit here. That's something that would snakebite people a LOT years ago. :)


All times are GMT -5. The time now is 01:29 PM.