Serial Console Communication from Mac OS X
August 30, 2009 2 Comments
Serial cables and consoles are very important parts of a room full of servers and networking devices. They allow administration via command line, which I prefer for its depth and breadth of options. I use Mac OS X all the time. Since MacBooks don’t have serial ports, there has to be a way to still be able to make console connections. So you first need hardware. I have heard good things about Keyspan USB Serial adapter (USA-19HS). It has support for both Windows and Mac. Once you have installed drivers and plugged it in, you are good to go.
Now comes the software component.
screen can be used to start a console session. But first you need to identify hardware. So run the following in Terminal.
This will display devices, such as the Keyspan adapter. You will need the exact name of the device when using
screen /dev/tty.xxxx datarate
where /dev/tty.xxxx stands for the device as shown when you did
ls, and data rate is for the device you are connecting to. This should get you into the console of the device you are connecting to.