I'm trying to connect Arduino and my Fonera in order to gain a shell and enable SSH (unfortunately all the other hacks haven't worked so this is the only option).
My first pin connection has been
TX Fonera ---> RX Arduino ---> RX Mac (to see Fonera output)
RX Fonera <--- RX Arduino <--- TX Mac (to give commands)
Unfortunately this layout needs the swapping of cables and makes it impossible to use the shell.
So I've tried:
TX Fonera ---> PIN 6 Arduino ---> RX Mac (to see Fonera output)
RX Fonera <--- RX Arduino <--- TX Mac (to give commands)
This way I've setup two Software Serials: one that reads from pin 6 and another one that sends the read char to my Mac.
With the first solution Arduino reads correctly what the Fonera outputs.
With the second one I read a lot of strange chars and I don't know why.
Strange characters on a serial line is usually a baud rate problem. Make sure the serial interfaces are running at the same speed. Also make sure they have the same parameters, start bits, stop bits, parity bits, etc.
Can you post more of your code, so we can see what you're trying to do, which may help us understand it better.
Then I used Zterm.app on my OS X box and set baud rate at 9600... and I gained root on the Fonera!
I'd like to write a tutorial... but how to publish it on Arduino/Tutorials?