Connecting to Cisco Router console port using Linux

I tried to connect my Ubuntu laptop to Cisco Router console port. I did successfully.

What you will need:
  1. A roll-over cable (Cisco Console Cable). These are usually RJ-45 on the router side and serial on the PC side.
  2. If your laptop doesn’t have a serial port (like mine) you can get a 9-pin D-sub serial to USB cable. I got the BAFO USB Serial to DB9. I bought it in Ambassador Mall Kuningan Jakarta last night.
Get Connected:
  1. Connect all the cables: USB -> Serial -> Crossover –> Console Port
  2. Download and Install Putty.
    root@dion-laptop:~# apt-get install putty
  3. Make sure that the USB to serial cable is recognized.
    root@dion-laptop:~# dmesg | grep tty
    [ 0.004000] console [tty0] enabled
    [ 1.923508] tty ptyx4: hash matches
    [ 131.637904] usb 3-2: pl2303 converter now attached to ttyUSB0
    [ 173.768300] type=1503 audit(1243914954.561:5): operation="inode_permission" requested_mask="w::" denied_mask="w::" fsuid=0 name="/dev/ttyUSB0" pid=6127 profile="/usr/sbin/cupsd"

    Note:
    COM1 is /dev/ttyS0 in Linux.
    USB to Serial is /dev/ttyUSB0 in Linux.
  4. Run putty.
  5. Good luck!

Popular posts from this blog

Examining the DR/BDR Election Process

Cisco binary image unpacker

How to find Cisco IOS with Google