Dear Community,
at first i am sorry for my bad english ... it's not my motherlanguage... so excuse me...
hope i am understandable...
I have modded / hacked a WLan Router for accessing Arduino over Wlan. ( DD-WRT /D-Link DIR 300 B1)
Everything is working fine now.
1. I am able to access the Serialport via telnet shell....
2. and i am able to acess telnetshell via serialport.
For this to happen i use in Serialshell :
echo "Hello Telnetshell" > /dev/pts/0
(now text is appearing in telnetshell)
and in telnetshell:
echo "Hello Arduino" > /dev/tts/1
(now text is appearing in serialshell)
..........
Ok, my question to you is:
how to connect that two different shells (telnet/serial) and their input and output to each other,
WHILE i am able to make Input and output by myself....
if i redirect /dev/tts/1 to /dev/pts/0 then i am not able to make any input to tts/1 any longer because it is muted in cause of redirection....
i am a linux noob... so maybe it is very easy.... i need redirection or copy in background/parallel....
Hope somebody is understanding what my problem is.... maybe you

I would be very happy if i got some hints...
PS: I need shellscript, and i am not able to install secondary software at the router... so ser2net proxy isn't possible to install.
Thank you
ChrisS