Solved

cisco router access with minicom

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

717 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