Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

cisco router access with minicom

Posted on 2002-05-10
2
Medium Priority
?
838 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

610 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