Solved

cisco router access with minicom

Posted on 2002-05-10
2
781 Views
Last Modified: 2008-02-01
I have a cisco 2621 router in front of me.  I need to get into with minicom.  I can do it with windows no problem, however I have not been able to do it with linux.  The cisco iso is corrupted so I need to reload it and configure the router.  Detailed info on linux procedure only.  Please be clear and concise.
0
Comment
Question by:nynex
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 300 total points
ID: 7004722
Bascally what you need to do to be able to use minicom to talk to Cisco routers is to configure it for a hard-wired connection at 9600 baud 8N1. You also need to set the permissions on  the serial port that you'll use to 666 to allow ordinary users to open it. The simplest way that I know of to tell you how to do this is to give you a couple of files.

Save what's below to /etc/minirc.dfl
# Machine-generated file - use "minicom -s" to change parameters.
pu baudrate         115200
pu bits             8
pu parity           N
pu stopbits         1

Save what's below to /etc/minirc.cisco. You can edit the value of "pr port" if you aren't going to use the first COM port.
# Machine-generated file - use "minicom -s" to change parameters.
pr port             /dev/ttyS0
pu baudrate         9600
pu minit            
pu mreset          
pu mdialpre        
pu mdialsuf        
pu mdialpre2        
pu mdialsuf2        
pu mdialpre3        
pu mdialsuf3        
pu mconnect        
pu mnocon1          
pu mnocon2          
pu mnocon3          
pu mnocon4          
pu mhangup          
pu mdialcan        
pu mdialtime        0
pu mrdelay          0
pu hasdcd           No
pu rtscts           No
pu xonxoff          No

Next set perms on the port with 'chmod 666 /dev/ttyS0'. You should then be able to open a connection to the Cisco with 'minicom cisco' or 'xminicom cisco'. Note that minicom doesn't like to be run as root, so use an ordinary user account.
0
 

Author Comment

by:nynex
ID: 7107878
Sorry it took so long to give u the points.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS CLI - Issue with name display 2 74
nagios monitor 3 56
Centos 6 User Can't Assign Password 2 43
Like to learn Linux, need advice for a good book and setup. 3 47
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question