I need to connect 2 linux PCs via serial port. I used serial connector cable (null modem cable) to connect 2 linux PCs. But now how can I establish the connection I mean how can I test whether they are connected or not. Can anybody Please let me know the procedure.. I have tried screen command and when i run
screen /dev/ttyS0
This command is just opening new screen and i cant do anything on that new screen.
Am using Fedora-20 with kernel version 3.* in one PC and another one with Fedora-27 kernel version is 4.13
Hi finally i found solution to my problem Using this_link.
at both ends tried below steps:
1)
yum install minicom
2) Then I configured minicom using
minicom -s
then using down arrow selected serial port setup then pressed A from keyborad to change that serial device fromto
press enter and chose save as dfl option then exit from minicom
After these configuration steps executed the commands suggested by @Niall Cosgrove
at one end executed
cat /dev/ttyS0
at other end executed
echo hello > /dev/ttyS0
finally i got hello message from one pc to other end using serial port:)