Minicom

From FrogspawnWiki

Jump to: navigation, search

To have minicom work properly for Cisco (and similar) devices you need two things - a config and an alias.

Config

The config firstly sets the port and comm settings.

You should create a file in /etc/minicom called minirc.cisco, it should contain the following:

pu port             /dev/ttyUSB0   # or whatever your serial port is
pu baudrate         9600
pu bits             8
pu parity           N
pu stopbits         1

You can now use that config by typing minicom cisco

Alias

The alias is going to disable the modem initialization (-o) and enable linewrapping (-w)

alias minicom="/usr/bin/minicom -o -w"

added to your .bashrc (or equivalent) (maybe /etc/bashrc for global) will have the desired effect, however you may want to go one further

alias ciscoterm="/usr/bin/minicom -o -w cisco"

That will get you minicom running with your cisco profile in a single command.

Personal tools