LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-06-2003, 09:36 AM   #1
jlepich
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Rep: Reputation: 0
Console into Cisco device


I'm new.
Can anyone tell me how to console into a Cisco switch with Red Hat 9? I would like to use a GUI that is somewhat similar to SecureCRT if possiable. Anything built-in to redhat for this?

Thanks,

Jesse
 
Old 08-06-2003, 10:04 AM   #2
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
If you're just looking for a terminal program..., i.e. to use telnet, ssh, etc. There are many The standard transports are available, telnet, ssh, ftp, etc...

1. xterm - should be on all distros.
2. konsole - KDE desktop.
3. gnome-terminal - Gnome desktop
4. Many more...

I'm not sure about Cisco switches but I use telnet to configure my Cisco router. "telnet <ip.to.router>". Of course telnet is limited to my local IP address range

Mike
 
Old 08-06-2003, 10:10 AM   #3
jlepich
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Yeah I know I can telnet....I need to console into a Cisco router/switch via a serial port and console cable....one would think this should be pretty easy to do and I'm sure it probably is but it hassn't proven easy to find. I like Red Hat 9 but it's got a long way to go before people will really start using it for reasons like this....why does everything take 9 more steps to accomplish than it would on a windows box??

Thanks for your help!

-Frustrated Red Hat 9 user
 
Old 08-06-2003, 10:15 AM   #4
osfestus
Member
 
Registered: Feb 2003
Posts: 92

Rep: Reputation: 15
Hi,

I use minicom, it should come with RH9. It is a simple effective little tool. I use it to configure my cisco routers/switches at work from my laptop.

Jeff
 
Old 08-06-2003, 10:25 AM   #5
jlepich
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
I have tried it...I don't know what the switches are. can you tell me what the exact command line syntex is?

Why is this a pain?

-Thank you very much!
-Jesse
 
Old 08-06-2003, 04:26 PM   #6
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Arrow

jlepich hey i've started up on the linux world myself lately and it seems that there are certain configureation that you need to make sure they are set up. ie, baud 9600, data bits 8, parity none, stop bits 1, and flow control none, and they are set up in the crtl-z and "O" menu. i hope this helps, i'm still playing with it too.
 
Old 08-06-2003, 07:29 PM   #7
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Unhappy

I checked around this site and it seems that someone else has also asked this question but it still wasn't enough info, at least for me. I got it set up correctly from what i can tell it''s /dev/ttys0 but telling my laptop to send data though it it keeps wanting to activate the modem. am i over looking something? i think the key stokes were, crtl-a --> shift-m but that can't be right...
 
Old 08-07-2003, 09:32 AM   #8
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Once you are in minicom, type Ctrl-A and then Z to get the command summary.
 
Old 08-07-2003, 02:07 PM   #9
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
/dev/ttys0 but telling my laptop to send data though it it keeps wanting to activate the modem.

Maybe the cable is on /dev/ttys1? Have you tried others? What does minicom do?

Have you tried seyon? It's a "primitve" X windows serial port program. Haven't tried for ages, but it's still on my machine (thanks debian).
 
Old 08-07-2003, 03:25 PM   #10
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Yeah i tried each of the ttysX and the boot up says the ttsy0 for pci. But when i use the setserial and the statserial i get and i/o error, and the file(s) aren't locked. I checked the command summery but how do you activate the serial port in minicom. i can tell you it's not the modem because it's a console cabe for my cisco router....this isn't supposed to be this hard.
 
Old 08-08-2003, 12:36 AM   #11
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
The ports should be /dev/ttyS0 or S1 or S2 .... - S in caps.
 
Old 08-11-2003, 07:55 PM   #12
jasghar
LQ Newbie
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
thanks but i'm still stuck. is there a gnome app of something that does anything like minicom? i'm a converting windoze user so i need a gui...shameful i know
 
Old 07-25-2006, 11:24 AM   #13
hashimg
LQ Newbie
 
Registered: Dec 2005
Location: Chi-Town
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
I'm new to linux, and I enjoy using it because their is so much help out there for it, such as these forums. But at times like this when something as "i think should be" simple no one knows crap. I've been trying to understand how to connect to my cisco switch using my linux box via minicom and I don't get shi... This is why I still have that "Trusty" windows xp box with TeraTerm Pro installed
 
Old 01-21-2011, 03:39 AM   #14
hcfd
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Smile GUI and running upwards of 6 serial connections

For anyone wanting to connect using a GUI, try GtkTerm. This works beautifully in Ubuntu and I'm sure it works with just about every other distro, too (GNOME libraries required but you don't need to be running GNOME itself).

I love the simplicity of the interface but admittedly it is a bit light on features. I have 7 pieces of Cisco gear but only 6 serial ports. I have a startup script for GtkTerm. It basically runs 6 instances and uses wmctrl to maximise all windows and also rename each one... so instead of 6 windows all called GtkTerm, I have named them R1 on ttyS1, R2 on ttyS2, etc. You can find it as an attachment with the post I've linked to below.

For a more detailed explanation of wmctrl and GtkTerm, you can read my post about configuring my MCS9865 based 6-port serial card in Ubuntu. Turns out that is a simple configuration tweak as well. The 2.6 kernel series usually allows for only 4 UARTs until you pass a kernel parameter asking for more. I'm sure this will be of great use for anyone with more than 4 devices.

MCS9865 post with Cisco lab specific tips re: wmctrl and GtkTerm: http://ubuntuforums.org/showthread.php?t=1663575

Regards,

hcfd.
 
Old 04-04-2016, 02:14 AM   #15
Snip3r41m
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Rep: Reputation: Disabled
how to install Gtkterm in centOs 7 ?

@hcfd : could you guide me " how to install GtkTerm in centOs 7 .
 
  


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
minicom to Cisco console port neil Linux - Laptop and Netbook 5 08-18-2004 01:16 AM
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 10:00 PM
Unable to connect to cisco console with minicom nleachma Linux - Newbie 1 10-18-2003 10:22 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM
vt100 emulation for Cisco console lolmc Linux - Networking 3 02-13-2002 09:55 AM

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

All times are GMT -5. The time now is 02:45 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