Minicom + Procurve switch

Grzegorz Witkowski geslinux at gmail.com
Wed May 4 22:20:57 UTC 2011


On Wed, 2011-05-04 at 16:16 -0400, cliff here wrote:
> Yea it's set to 9600, like i said I"m duplicating the same settings I used
> in hyperterm that worked fine.
> 
> On Wed, May 4, 2011 at 3:40 PM, Grzegorz Witkowski <geslinux at gmail.com>wrote:
> 
> > On Wed, 2011-05-04 at 15:18 -0400, cliff here wrote:
> > > Good afternoon list compatriots;
> > >
> > > Having a weird issue using minicom to connect a  2400 series Procurve
> > > switch.  I am using 8N1 and I start by leaving minicom listening and then
> > > reboot the switch.
> > >
> > > Switch comes up and I see it's ROM decompress and post,  then asks me to
> > hit
> > > enter twice to confirm speed test. However minicom doesn't seem to be
> > > responding to any keystrokes.  I believe the terminal emulation is set to
> > > VT102.
> > >
> > > The other item that seems odd is that even though I can see output from
> > the
> > > switch minicom still says 'offline'
> > >
> > > I know my settings are correct since I've used hyperterm to get it
> > working
> > > before, I'm assuming I just am not understanding a setting or behavior of
> > > minicom.
> > >
> > > --
> > >
> > -------------------------------------------------------------------------------------------------------------------------------------
> > > NOTICE: This message, including all attachments, is intended for the use
> > of
> > > the individual or entity to which it is addressed and may contain
> > > information that is privileged, confidential and exempt from disclosure
> > > under applicable law. If the reader of this message is not the intended
> > > recipient, or the employee or agent responsible for delivering this
> > message
> > > to its intended recipient, you are hereby notified that any
> > dissemination,
> > > distribution or copying of this communication is strictly prohibited. If
> > you
> > > have received this communication in error, please notify the sender
> > > immediately by replying "Received in error" and immediately delete this
> > > message and all its attachments.
> > >
> > -------------------------------------------------------------------------------------------------------------------------------------
> >
> > Hi,
> >
> > You did not say anything about boud rate and flow control.
> > They are very important. Typically you set flow control to none when
> > connecting to switches. Check documentation of your switch for baud
> > rate. Usually it's 9600, but some switches may have 115200 default.
> > If those are incorrect, you may see connection problems.
> >
> > Hope this will help.
> >
> > Regards,
> > Ges
> > --------------------------------------------------------------
> > 01000111 01100101 01110011 01100011 01100001 01110000 01100101
> > http://counter.li.org #239224 Registration 2001-10-29 07:19:32
> >        -= GNU/Linux - The Experience of Freedom =-
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> 
> 
> 
> -- 
> -------------------------------------------------------------------------------------------------------------------------------------
> NOTICE: This message, including all attachments, is intended for the use of
> the individual or entity to which it is addressed and may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. If the reader of this message is not the intended
> recipient, or the employee or agent responsible for delivering this message
> to its intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If you
> have received this communication in error, please notify the sender
> immediately by replying "Received in error" and immediately delete this
> message and all its attachments.
> -------------------------------------------------------------------------------------------------------------------------------------

Were you using the same machine with hyperterm?
Use dmesg and setserial to check the if your serial is initialized,
enabled and set up properly. There is no magic really with minicom if
your hardware is working and setup properly.
Vivek has nice simple tutorial, you probably know that one already.
http://www.cyberciti.biz/tips/connect-soekris-single-board-computer-using-minicom.html 
Run minicom with -s and select Filenames and paths, then F - Logging
options and make sure you can see minicom.log and B,C=yes.
Then save a dfl and exit once still connected to the switch.
You should see:

Welcome to minicom
2.5                                                    
OPTIONS:
I18n                                                                
Compiled on Feb 24 2011,
11:25:53.                                           
Port /dev/ttyS0                                                                                                                                        
Press CTRL-A Z for help on special keys 

Now press Ctrl-A L to capture the session to the file and then press
Ctrl-A F to send a break. See if you will be able to connect. If not, in
you ~ should be a minicom capture log, try to see if there is anything
in it.

Regards,
Ges




More information about the redhat-list mailing list