LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-03-2014, 06:51 PM   #1
ingenieria
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
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
 
Old 03-03-2014, 11:51 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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.
 
1 members found this post helpful.
Old 03-04-2014, 10:03 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

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


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
Edgeport USB to Serial adapters for Linux Mint - Installation? Quinco Linux - Newbie 21 05-29-2013 03:51 PM
serial port communication between linux & windows agk Linux - General 4 07-25-2011 11:26 AM
Serial ports, USB-Serial adapters, and Linux Daravon Linux - Newbie 3 09-09-2010 07:53 AM
Well it worked in Windows..... Serial Port Communication Porting morty346 Programming 2 02-10-2009 05:14 PM
Control of device names of USB to RS232 serial adapters hakelm Linux - Hardware 1 02-11-2008 08:49 PM


All times are GMT -5. The time now is 10:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration