?
Solved

cisco router access with minicom

Posted on 2002-05-10
2
Medium Priority
?
823 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 900 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Fine Tune your automatic Updates for Ubuntu / Debian
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.
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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