[ENBD] character devices?

Ard van Breemen ard@telegraafnet.nl
Mon, 26 Mar 2001 15:33:26 +0200


On Mon, Mar 26, 2001 at 02:22:36PM +0200, Peter T. Breuer wrote:
> "A month of sundays ago Sebastiaan wrote:"
> > I want to redirect some devices to another computer. nbd does exactly what
> > I want, but unfortunately, I also need to do this with some character
> > devices (audio and serial devs).
> 
> I've often wondered why there isn't a net-audio device. OTOH I
> remember distinctly having success with a quick experiment one time
> along the lines of:
> 
>   ssh remote cat /dev/audio > /dev/audio &
>   ssh remote dd of=/dev/audio < /dev/audio &
> 
> or some variant. If they're character devices you really can just 
> move the bytes across in a stream!
I don't think you can do it with audio devices.

But this is what I did for my (Linux)notebook:
The serial port was broken, there was no ps/2 port. But there was a huge
tower/32 nearby, having 48 idle rs232 ports.

A simple rsh tower dd if=/dev/tty... bs=1|dd of=fifo bs=1
did the job more than perfect.

The mouse was hooked up to a gandalf 4 rs232 port line-extender, to
reach the tower.

-- 
<ard@telegraafnet.nl> Telegraaf Elektronische Media (http://wwwijzer.nl)
http://leerquoten.monster.org/ http://www.faqs.org/rfcs/rfc1855.html 
Let your government know you value your freedom. Sign the petition:
http://petition.eurolinux.org/