How to test Null-modem serial cable
[machine A ]--------Null-Modem Serial Cable -------[ machine B ]
1. Set serial line in and out speed in both machine A and B
stty ispeed 115200 ospeed 115200 -F /dev/ttyS0
2. Send a sample file to machine B from machine A
cat testfile.txt > /dev/ttyS0
3. Receive the sample file in machine B from machine A
cat /dev/ttyS0
1. Set serial line in and out speed in both machine A and B
stty ispeed 115200 ospeed 115200 -F /dev/ttyS0
2. Send a sample file to machine B from machine A
cat testfile.txt > /dev/ttyS0
3. Receive the sample file in machine B from machine A
cat /dev/ttyS0
1 Comments:
Keep up the good work.
Post a Comment
<< Home