Description: to connect your computer to a Cisco device via its console port, you usually need a RJ45 rolled cable. You can use a RJ-45 to DB-9 Female if your computer has a serial port.
To communicate through the serial port with the Cisco device, you need Minicom, a terminal emulator software.
Installation: Debian/Ubuntu based distros: sudo apt-get install minicom Red Hat/Fedora based distros: sudo yum install minicom
Steps: Check whether your serial port is detected by the kernel: dmesg | grep ttyS
[ 0.485378] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 0.485739] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A Run Minicom: sudo minicom Press Ctrl+A Z to enter Minicom’s menu. Press O to enter configuration submenu. Enter the serial port setup. Set the serial device (/dev/ttyS0 in this example). Press E to set the “Bps/Par/Bits”. Press C (9600 bps) and Q (8-N-1). Set software flow control to NO. Save the configuration as “cisco” (for example) Press Q to quit Minicom Run Minicom with the new configuration: sudo minicom cisco
Tip: if you need to send a “Break” through Minicom (on a password recovery operation, for example), use Ctrl+A F .