Can anyone suggest a way to use Terminal (or another app) to connect to a USB port to which has been connected a USB to Serial converter cable (USB-A to DB9)?
The best solution I have found for this has been to use a program called Zterm. I do not know of any other way to make terminal.app an externally connecting console, but zterm does exactly that.
I have used zterm for a couple years now to console to networking equipment on my powerbook usb-db9-rollover rj45.
Hope that helps. Sorry I couldn't provide a way to use terminal directly.
Max
Mac Pro 2.66Ghz Mac OS X (10.4.8) Powerbook G4 1.33Ghz
Where did you get your usb-db9-rollover rj45 cable? So far all I have found are usb-db9 cables and then RJ45 adapters. I suppose I could do one up myself, but I would rather drop a few bucks on one done right. ;^)
So, Terminal cannot talk out a port? I seem to remember that any *NIX terminal program could be aimed at any port, I just don't recall how. I figured the trick was how to point at the port in a way that says a USB port is a serial port. I have seen some stuff on the net saying you need a cable specific driver, but I can not confirm this.
Mac2sun,
You can also use minicom, a CLI app, to talk to the serial port. Zterm works great, but I thought it odd that I had to run ARD to get a desktop so I could run a terminal, esp from a remote site.
I added baud rate set in my applescript so it looks like this now:
tell application "Terminal"
do script with command "screen -U /dev/tty.KeySerial1 38400"
set number of rows of window 1 to 100
set number of columns of window 1 to 150
set background color of window 1 to "white"
set normal text color of window 1 to "black"
set custom title of window 1 to "keyspan-1"
end tell
You could purchase a KeySpan usb to serial adapter which comes with a driver which creates an entry in /dev. Then, for example, perl scripts can receive data from serial devices.
You can buy a Cisco console cable which is a rollover rj-45 to db9, or a rollover rj-45 adapter which you can use with any standard ethernet patch cable.
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
Using Terminal to connect to serial port
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.