RE: Serial port sniffing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

Perhaps the script below works…

 

# set up the baud rate and no parity

stty -F /dev/ttyUSB0 9600 -parenb

# listen on TCP port 8001 and forward all traffic to the serial port

while [ 1 ] ; do nc -l $(hostname -i) 8001 </dev/ttyUSB0 >/dev/ttyUSB0; echo reconnecting ...;  done

 

Then intercept all network traffic from port 8001 (tcpdump?)

 

Best wishes.

 

 

From: Richard Shaw <hobbes1069@xxxxxxxxx>
Sent: 19 July 2020 22:23
To: Development discussions related to Fedora <devel@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Serial port sniffing?

 

I would like to monitor serial port communications read only, but I haven't found a tool that makes that easy in the Fedora repos. 

 

Anyone have suggestions?

 

Thanks,

Richard

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux