In this tutorial, I am going to show you how to connect to a Cisco router by using Minicom terminal. I am using Linux by the way. If you’re
using Window$, besides the suggestion to dump it out and change it with Linux, I think hyperterminal is still your best option. Just Google it: “How to hyperterminal cisco router”.
Here we go:
1. Make sure that the cable that you use to connect to the Cisco router is connected (and detected by the OS)
dmesg | grep tty
[fadil@defender ~]$ dmesg | grep tty
usb 2-2: Moschip 2 port adapter converter now attached to ttyUSB0
usb 2-2: Moschip 2 port adapter converter now attached to ttyUSB1
2. We know that there are two USB connections: ttyUSB0 and ttyUSB1 (one is for my printer and the other one is for the router). Btw, is there anyway that I can know which is which? how can I know that ttyUSB0 is my printer or my router connection? Please tell me if you know how to do it.
3. Now bring up the Minicom (root privilege is needed)
4. ctrl-A then Z, then you will see the following
5. Press “O” (this is O, the letter after N)
6. Then you will see the following, and choose “Serial port setup”
7. Press “A” to set the serial device as the serial port that you connect the router to your computer (see step 1 and 2). If you connect the router through ttyUSB1, then set it as /dev/ttyUSB1. Then press “enter”.
8. Press “E” to set the “Bps/Par/Bits”. Press “E” again to set it to 9600, and press “Q” for “8-N-1”. Press “Enter”.
9. Set “Hardware Control Flow” to “Yes”, and “Software Control Flow” to “No”. Press “Enter”.
10. Then choose “Save setup as…”. You have basically setup a terminal configuration to connect to a Cisco router. Saving this configuration is useful so that you don’t have to setup the terminal again in the future. I set my configuration as “cisco-router”.
11. Reboot/Restart minicom.
12. Bring-up minicom:
minicom your-config-name (for me it would be: minicom cisco-router)