Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

I found the Solution to part One:

on remote: cat /dev/ttyACM0 | nc -l -p 44144

on local: nc remote 44144

2nd part still open: Would there be a way to make a character device out of souch a "pipe"?

share|improve this answer
    
You could probably use socat to relay the data into a named pipe - which might be enough. – RedGrittyBrick Jun 13 '11 at 19:50

ser2net and cyclades-serial-client look promising.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .