Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Serial port access through Terminal in Leopard Server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Serial port access through Terminal in Leopard Server
Authored by: djdawson on Feb 28, '08 09:41:45AM
I've found zterm to be a bit buggy in OSX, and minicomm to be a bit obtuse and ugly. I had been using a version of "tip" that I built from the BSD sources. Recently a coworker told me he just uses "kermit", which is also available via MacPorts, though it, like "screen", has an imposing looking man page that can make it seem unapproachable at first. One problem I had with my version of "tip" was that it wouldn't pass "control-a" characters, which made line editing on a Cisco device less useful. Kermit does not have that problem. Now that I know about "screen" however, I'll probably switch to that, since I prefer to use tools that are native to the platform instead of having to install them. I also use a Keyspan USB serial port adapter, and in case anyone's interested in a quick-start on a convenient way to use kermit to access Cisco console ports, here's the little shell script I use to start kermit with the appropriate settings:
#!/opt/local/bin/kermit +
set modem type none
set line /dev/tty.KeySerial1
set speed 9600
set serial 8N1
set flow none
set carrier-watch off
connect
I saved this script with the name "keyspan" so I can remember it, make it executable, then just use the command "./keyspan" to start kermit with the above settings. It works well, but given the above hint about screen it may not be quite as convenient to use, though it really comes down to personal preference.

[ Reply to This | # ]