Connecting to the console with minicom

From Internetworkpro

Jump to: navigation, search
This page or section provides device configuration instructions
Please note that the information on this page has not been checked for accuracy and is not intended as a replacement to documentation. Please ensure you understand your desired objectives before attempting to apply any examples listed.
See more examples at Category:Configuration
If you require a usb to serial adapter set that up before continuing. (Your distribution may automatically setup this up)
  1. First determine the name of your serial port in which you have your console cable connected. COM1 in linux is /dev/ttyS0. dmesg may be useful if you use a usb adapter.
  2. Start minicom and use the key combination CTRL-A Z O to enter the configuration
  3. Setup the settings as below. Replace /dev/ttyUSB0 with your serial port. Make sure settings E, F, ang G match exacty.
    A - Serial Device : /dev/ttyUSB0
    B - Lockfile Location : /var/lock
    C - Callin Program :
    D - Callout Program :
    E - Bps/Par/Bits : 9600 8N1
    F - Hardware Flow Control : No
    G - Software Flow Control : No 
  4. Name this configuration cisco
  5. Next time you need to configure a cisco device just type minicom cisco
Personal tools