Solved

cisco router access with minicom

Posted on 2002-05-10
2
773 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now