Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

ser2net and cyclades-serial-client look promising.

share|improve this answer

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.