nc or socat: How to read data from remote:/dev/ttyACM0 ?

Posted by AndreasT on Super User See other posts from Super User or by AndreasT
Published on 2010-03-05T14:05:26Z Indexed on 2010/04/14 5:03 UTC
Read the original article Hit count: 390

Filed under:
|
|

I have a device running at a remote computer on /dev/ttyACM0 Now I want to read that data on my computer. I can connect to it over ssh. Unfortunately I am a nc/socat rookie and no howto covered this.

Semantically like this:

  cat remote:/dev/ttyACM0

The remote system has a limited linux on it, and I can't install packages. (socat is not available there, nc is)

Super cool would be to have some forwarded device:

local:/dev/ttySOCK0   pointing to   remote:/dev/ttyACM0

Thanks for any help.

© Super User or respective owner

Related posts about ssh

Related posts about netcat