LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-01-2010, 11:36 PM   #1
hmsims
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
hp pavilion/minicom/usb/cisco 2900xl catalyst issue


Hello all,

I've read several articles in this area and am still having problems with making a connection to Cisco 2900XL switch I bought. Since I am using Ubuntu on my HP Pavilion laptop with no serial port to go into the console port, or even the cisco console cable I've done the following:

Bought an IOGear USB to Serial Adapter (GUC232a) and connected a serial to Cat5 adapter that I pinned-out to be a rollover. I connected that with a straight-thru Cat5 cable to the console port on the back of the switch.

I checked with dmesg | grep tty and get:

[ 0.000000] console [tty0] enabled
[ 22.831813] usb 3-1: pl2303 converter now attached to ttyUSB0

I start up minicom and set the Serial Port Setup with the following:

A - Serial Device : /dev/ttyUSB0
B - Lockfile Location : /var/lock
C - Callin Program :
D - Callout Program :
E - Bps/Par/Bits : 9600 8N1
F - Hardware Flow Control : Yes
G - Software Flow Control : No


I save this configuration, even restart minicom, start minicom before, during turning on the switch.

I get nothing, just an empty screen in my minicom.

I've tried using a 9600 8N2 setting and still nothing

Any help here would be appreciated

Last edited by hmsims; 12-01-2010 at 11:37 PM.
 
Old 12-02-2010, 12:29 PM   #2
Touch
LQ Newbie
 
Registered: Oct 2009
Distribution: RHEL & Fedora
Posts: 25

Rep: Reputation: 0
What is the command you are using to start minicom?

for example when I start minicom my config is saved as cisco so I run,

Code:
minicom cisco
 
Old 12-03-2010, 11:09 AM   #3
hmsims
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
saved

As I said in the posting, I saved the configuration and restarted using that configuration. Which has nothing to do with the fact that if the configuration is set right why I wouldn't be able to connect to my switch. Anybody? Any clue?
 
Old 12-03-2010, 11:23 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
This site might help. Try using the blue cable that came with the switch. or one that came with a router. It is a rolled cable.
http://www.cisco.com/en/US/products/...g_site=bodynav

This cisco page explains the difference between straight-through, rolled and cross over cables:
http://www.cisco.com/en/US/products/...bodynav#topic8
 
Old 03-05-2011, 12:08 PM   #5
agentbuzz
Member
 
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
getting serial connection to Cisco device

There are two ways I do this; I use a Keyspan adapter attached to a Cisco blue cable.

One is to use "screen" from an Xterm. This is the syntax:

~$ screen /dev/ttyUSB0 9600

Tap a key or two and you should see a user mode prompt:

ciscoasa>
ciscoasa>
ciscoasa> en
Password:
ciscoasa# sh run
: Saved
:
ASA Version 7.2(4)

The other way I do it is with Putty. I like being able to save serial and ssh sessions. Simply open Putty and scroll to the bottom of the menu on the left pane, and change "Flow Control" to "None" and the device node to /dev/ttyUSB0. Type a name for your session in the input line in the middle of the Putty Configuration window, click "Save", then you can open the session by name.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using minicom to access Cisco switch brooky9999 Linux - Networking 1 06-13-2008 02:55 AM
Cisco Catalyst 2924XL EN and VOIP Priority Queing metallica1973 Linux - Networking 0 02-07-2008 02:50 PM
Problems connecting to Cisco Catalyst switch via Console irotas Linux - Networking 1 01-03-2006 06:01 AM
How to test a Cisco Catalyst 1900? njbrain General 3 04-29-2004 03:45 PM
Minicom to Cisco joshlamerritt Linux - Laptop and Netbook 2 02-09-2004 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration