Tag: Serial

  • Telnet to Serial Script for the Mac, Now Complete

    In my previous blog entry, I found a tool MultiCom that proxies my serial to a TCP socket, but it was lacking the ability to set my telnet client into character mode and wasn’t working with Cisco devices.

    I later found out this was because Telent sends CR + NULL everytime you hit ENTER, so this happens:

    Username: (type username) CR
    Password: NULL (type password)

    I couldn’t log in! I am curious why other devices ignored the NULL while Cisco choose to process it. Not as if NULL would be used as part of a password.

    So, I got my script to work. Theoretically this script should work on any UNIX system and on any type of FIFO, but I’ve only had time to test it on the Mac and a serial cable.

    Download the script here. Rename it to script.py and then chmod 755 script.py.

    (more…)

  • Finally, a Real Serial Console for the Mac

    I’ve been searching high and low. ZTerm is extinct, screen kinda sucks with scrolling. So what do I have left?

    I attempted to write a script in Python to turn the serial port into a local socket so I could use Telnet but I couldn’t seem to get past opening the serial port.

    After some searching, I found MultiCom. It does exactly what I wanted – turns my serial port into a local socket. Works prefect!

    Anyway, if you have time, help me with this script. It’s fairly simple and still incomplete, but I can’t get past fixing what blocks the open() calls to /dev/tty.PL2303-0000101D.

    Update: I managed to figure out why my script didn’t work; I should have used /dev/cu.* instead of /dev/tty.*. I also found that MultiCom doesn’t work with Cisco devices due to an odd Cisco behavior. Read this blog entry for more info.

    (more…)