As a network engineer, a fundamental task is putting a base configuration onto a device via a serial console. In Windows, there are several applications from Hyper Terminal to Putty. In Linux, there is minicom. I’ve never been a Microsoft fan, but have been a Linux user for many years. Over the last few years have been using Mac OS X full time for work and personal. Given this, I need the ability to access a network device via a serial connection. A quick Google was fruitful.
ls /dev/*usb*
If your Mac recognizes the USB device, it will display a USB device in /dev
. If not, you may need to download and install a USB driver for your device. I used this article to assist me in determining which USB driver to download and install.
/dev/tty.usbserial
, thus I’ll use that for the remainder of this example.
Connect the other end of your USB to Serial cable into your network device’s serial port.screen /dev/tty.usbserial 9600
/dev/tty.usbserial
is the driver to access your USB serial device.9600
is the baud rate.CTRL+A
followed by CTRL+\