LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-09-2008, 04:13 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Rep: Reputation: 57
Minicom Cisco 831 aux/console connection


Can someone tell me how to connect to my Cisco 831 router via the aux/console port using minicom. I checked my serial port configuration and it is set at ttyS0:

PHP Code:
[    4.797770console [tty0enabled
[    7.008943serial8250ttyS0 at I/O 0x3f8 (irq 4is a NS16550A
[    7.01042900:0attyS0 at I/O 0x3f8 (irq 4is a NS16550A 
I access minicom setup

PHP Code:
minicom -
and I set everything up right:

PHP Code:
•9600 baud

•8 data bits

•No parity

•1 stop bit

•No flow control 
and then I exit minicom and it does not connect. I tried other cables and everything is cool. What am I doing wrong?
 
Old 07-09-2008, 04:33 PM   #2
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
You may have to make minicom "initialize" the modem. I think that's what I had to do to get it working on my Linux boxxen.

http://ubuntuforums.org/showthread.php?t=82132

Last edited by ARC1450; 07-09-2008 at 04:36 PM.
 
Old 07-09-2008, 04:58 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
I have been there and done that. I have even tried another cable. I went into the Bios of the laptop and noticed that serial port was disabled. I enabled it and restarted the machine and I still cannot connect. Does the Cisco 831 have different baud settings? I went to the Cisco site and it looks like that is pretty much there standard.
 
Old 07-09-2008, 06:26 PM   #4
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Nope, the 831 is 9600 just like all the others.

You've initialized the modem and made sure you're using the correct COM in minicom, right? (Just want to make sure).

Stupid question, but can you get into in with Hyperterm in Windows?
 
Old 07-09-2008, 10:50 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
I have tried 3 different cables, checked dmesg for the correct ttyS*, used 9600 baud - 8N1 settings and even tried it on three other linux boxes. What the heck could it be. I have done this a million times. I wonder if maybe the router aux port is disabled or broken?
 
Old 07-10-2008, 08:14 AM   #6
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
That's why I said give it a shot under Windows Hyperterm. Not that I doubt you know what you're doing, but in my experience, sometimes you miss stuff in Linux but not in Windows because it's just idiot friendly. :-\ For example, it could be that on all 3 Linux boxes, you're just putting in one wrong setting even though you've done it a million times (been there done that and it's a pain to figure out).

That said, I honestly don't think you can disable the console port on a Cisco device.
 
Old 07-10-2008, 11:47 AM   #7
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
I tried a forth machine and I was able to get to the console. I have been using Ubuntu lately and am wondering if somehow the ttyS* are not being initiated during boot. I have read in other post that many other people have had this issue and that under Ubuntu, I am to

[HTML] sudo vi /etc/event.d/ttyS0[/HTML]

or whatever dev it is and

have it adjusted to where it is initiated during boot. I do not have a
sudo /etc/event.d/ttyS0, I have only

PHP Code:
sudo vi /etc/event.d/tty 
through

PHP Code:
sudo vi /etc/event.d/tty8 
and other suggestions?

Last edited by metallica1973; 07-10-2008 at 02:43 PM.
 
Old 07-10-2008, 12:13 PM   #8
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
The only clue I might be able to offer is check /etc/inittab and have inittab initialize your /dev/ttyS0.

Something like:

Code:
s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
See what that does for you.
 
Old 07-10-2008, 02:46 PM   #9
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
exactly but the problem is that with this distro I do not see a /etc/inittab rather is uses /etc/event.d/tty1-8. I do not see a /etc/event.d/ttyS0-8. I guess that I would create one? like

PHP Code:
touch /etc/event.d/ttyS0 
and

PHP Code:
echo s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 > /etc/event.d/ttyS0 
what do you think?
 
Old 07-10-2008, 03:22 PM   #10
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
yeah, that should work.
 
Old 07-14-2008, 08:05 PM   #11
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
ARCH1450, thanks for the help.
 
  


Reply

Tags
cisco, minicom


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 won't connect to Cisco 2600 souljacker Linux - Hardware 7 09-15-2009 01:43 PM
Cisco 831 Cisco Router and Cable Modem metallica1973 Linux - Networking 3 07-14-2008 08:00 PM
minicom to Cisco console port neil Linux - Laptop and Netbook 5 08-18-2004 01:16 AM
Minicom to Cisco joshlamerritt Linux - Laptop and Netbook 2 02-09-2004 04:58 PM
Unable to connect to cisco console with minicom nleachma Linux - Newbie 1 10-18-2003 10:22 PM


All times are GMT -5. The time now is 11:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration