I think nc should be able to do what you want.  ie nc -L -p 4001 >
/dev/rtf3 would do the trick.  Personally I like to have inetd do all
the hard work for me.  Start with a shell script -

#!/bin/sh -e
cat /dev/rtf3

place it in /usr/sbin & chmod +x it

add an entry to /etc/services

add an entry to /etc/inetd.conf with /usr/bin/<script name>.sh as the
argument to tcpd.

restart inetd (killall -HUP inetd)

cheers,
Stuart Warren

Alexander Lichius wrote:
> 
> Hi Martin,
> 
> Monday, January 22, 2001, 4:01:45 PM, you wrote:
> 
> MS> Hi there,
> 
> MS> I try to access the /def/rtf??'s via the network (wireless) using nfs
> MS> (standart settings) this seems not to work. :(, means I can't open the
> MS> device.
> 
> MS> Is this possible at all, and if so how??? since I need to write to the
> MS> remote rtfs as well someting like netcat isn't enough
> 
> it is not quite sophisticated, but you could create a small
> userspace programm which listens on a socket and writes that data in
> the rtf ... at least you will get some working solution ...
> 
> alex
> 
> mailto:[EMAIL PROTECTED]
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to