pine64 as a terminal server via UART

Still working on the maker space and expanding my networking lab.  I added a cisco 1721 router with a 10-base T wan interface card and a serial 1T WIC in addition to the built-in fast ethernet interface.  I also added an old cisco 2514 with two built-in AUI (ethernet) interfaces and two serial interfaces.

Cisco 1721 and 2514 routers
Cisco 1721 and 2514 routers

The computer at my work bench doesn’t have a serial interface that I can connect to the routers’ console interfaces, and I was too lazy to go get my usb to serial converter out of my van; especially when I had my pine64 nearby with an rs-232 to TTL converter.  I fired up my pine64 and connected the rs-232 to TTL converter to the UART pins on the pi-2-bus.  The converter and the console port of the routers are both DTE devices, so a null-modem (serial crossover) cable / adapter are necessary.  I hooked it all up like so:

Pine64 as a simple terminal server
Pine64 as a simple terminal server

Here you can see I have my pine64 connected to a cisco console cable via a null modem adapter and a gender changer.  First I had to ssh into the pine.   Now to install screen on my pine64.


sudo apt-get install screen
sudo screen /dev/ttyS2 9600

The second command tells screen to use ttyS2, which is the serial interface that is on the pi-2 bus and use 8-N-1 and 9600 baud. Now I’m in.

cisco router IOS command line interface
cisco router IOS command line interface

Leave a Reply

Your email address will not be published. Required fields are marked *