Serial Communication : DD-wrt router to Arduino via Serial

Hi, I have been trying to "talk" to arduino via serial from my e1000 telnet terminal but no luck. Please see attached the wiring. Here is the link to e1000 serial port http://www.dd-wrt.com/wiki/images/a/a3/E1000v2_serial.jpg

This is my arduino code

void setup() {
  Serial.begin(115200);
}
 
void loop() {
  while(Serial.available()) {
   char incoming = Serial.read();
   Serial.print(incoming);
  }}

I am also not certain which is the right command from my router's telnet connection to arduino

I have been using this command:

echo hello arduino > /dev/tts/0

*telnet terminal connection to router works fine
*I can reach arduino serial from mac terminal

Any hint how to test/debug much appreciated!

Is the router output rs232 or TTL? What is the voltage on the router tx/rx pins? What is the router's baud rate?

thanks for the response.

It seems it is "3.3V TTL serial port" as I am reading here: DD-WRT :: View topic - Linksys E1000 2.1 - Erasing NVRAM with Serial cable - Help

The router's baud rate is 115200:

This is what I get executing these two commands:

root@DD-WRT:~# ls /dev/tts/*
/dev/tts/0 /dev/tts/1 /dev/tts/2 /dev/tts/3

root@DD-WRT:~# stty -F /dev/tts/0
speed 115200 baud;

any suggestion how to debug, test wiring and commands? Any hint much appreciated..