Tous Comptes Faits Mac Serial Terminal
I don't think there is a modern laptop that has serial ports, but many networking devices still use them for local connection. It happens rarely, but I need to use console port from time to time. I knew how to use the adapter on Windows systems, but on OS X it's a little different. Here's the process: 1.
Get USB to RS232 adapter or cableI bought for 11.30 € (unfairly expensive) from local electronics store. When buying the cable, take a look at the chipset if it is supported on OS X.
Tous Comptes Faits Mac Serial Terminals
My cable had chip developed by Prolific and supported on most of the operating systems. Another popular choice would be to look at the cables with chips.
Download and install driversIt may depend on the system you're going to use the cable, but most of the times I don't recommend using drivers from CD that came with the cable, because they may be already deprecated.Open to get the newest Prolific drivers.Installing the drivers is straight forward – open.pkg file and continue through the process. Installer will ask to reboot your computer, so go ahead and restart the system. Check if the drivers are properly installedGo to System Preferences Network and make sure new device called USB-Serial Controller D is in the list. It should look similar to this:Now open Terminal and type in this command: ls /dev/cu.The command should list all connected CU (Call-Up) devices.
Here's the result on my system: /dev/cu.Bluetooth-Incoming-Port/dev/cu.usbserialIn this example serial device is identified as /dev/cu.usbserial. Connect to your deviceWhen you have the right name of serial device and checked that drivers are properly installed, you can try connecting to any router, switch or other device that uses console port.No additional software on Mac is needed to connect to console ports, because screen is already installed.Open Terminal and type in this command to connect: screen /dev/cu.usbserial 9600After executing this command, I got into my HP 2920 24G switch and followed further instructions to login.To quit screen press Control- on your Mac keyboard. For more information about screen usage, refer to manual by typing man screen in new Terminal window.Tags:,.