Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Snooping Digiboard ttys

Status
Not open for further replies.
Jun 22, 2000
6,317
AU
Hi everyone,

I know a number of you use this Digiboards for multiple serial interfaces - does anyone know how you can snoop the data that is being transmitted and/or received through these interfaces?

We use them to connect to some manufacturing hardware and need to do a bit of troubleshooting.

Any help greatly appreciated. Annihilannic.
 
Have never snooped inside the OS. When I need to know what is transferring I use a laptop in parallel with the device and look at the data coming in or going out. I match the BR and connect incoming and signal ground to ground and whichever signal I need to see. Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
Thanks Ed.

I think they've isolated the problem now (cabling). I managed to compile the Linux tool ttysnoop-0.12c under OSR505, but it's designed to be a drop-in replacement for /bin/login.

It recommends modifying either the getty or telnetd configuration to execute ttysnoop instead, but neither I nor SCO tech support could figure out how to do this... any ideas (purely for curiosity's sake?). Annihilannic.
 
SCO Tech Support came to the rescue. ftp://ftp.sco.com/TLS/tls604.tar.Z provides a utility called spyfs-1.1 that allows you to monitor tty IO. Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top