Solved

Netra Enterprise 220R console connection

Posted on 2004-08-30
14
746 Views
Last Modified: 2013-12-27
Hi,

I have a Netra Enterprise 220R and I want to configure the IP address, I want to be able to connect to it using the console connection on Serial port A.

I cannot seem to connect, I have built a cable myself as I don't have any stock sun cables. The pin outs are the following...

db9            db25

rx     2-------2   tx
tx     3-------3   rx
dtr    4-------6   dsr
gnd  5--------7  gnd
dsr   6-------20 dtr
rts    7-------5   cts
cts    8-------4   rts

I have setup hyperterminal (connecting from a windows xp box) to 9600, 1 stop bit, no parity, hardware flow control.
I've tried changing these values but to no avail.

Have I done something wrong or is there something I'm missing.

cheers
Dave (SUN newbie)
0
Comment
Question by:Scotsman777
  • 6
  • 5
  • 3
14 Comments
 
LVL 2

Expert Comment

by:stanford_16
Comment Utility
Dave,

Welcome to the fray :-)

You have two issues.  The first is the cable, and the second is in software.

On the cable, you need to cross the transmit / receive lines.  Put pin 2 to pin 3, and pin 3 to pin 2.  I would recommend disconnecting the other lines, as they aren't necessary for communication.

Here's the pinout you want:

rx     2-------3   tx
tx     3-------2   rx
gnd  5--------7  gnd

Now, having disabled the other connections, you have one software change to make.  Use Xon / Xoff flow control instead of hardware flow control from Hyperterminal.

Have fun!
0
 
LVL 2

Expert Comment

by:stanford_16
Comment Utility
Also, be sure to wait a couple of minutes for output, depending on the firmware level on the system.

If you'd like to see POST output in the future, send a <break> immediately upon seeing the boot message.  This will take you to the OBM (ok prompt).  Type this command:

setenv diag-switch? true

This will give you verbose output and better POST (at the expense of a slightly longer boot time).
0
 
LVL 20

Expert Comment

by:tfewster
Comment Utility
I suspect that cable spec. is for a "real" terminal, (Data Terminal); But if you're using a laptop, pins 2 & 3 should be crossed as the Sun and PC are both "Data Servers".

However,  the rest of the pins  are correct to the best of my (hazy) recollection of making up cables...
0
 
LVL 20

Expert Comment

by:tfewster
Comment Utility
Duh - Far too slow on my reading - Good info, stanford_16
0
 

Author Comment

by:Scotsman777
Comment Utility
Hi lads,

sorry, but I'm getting confused, I'm getting my pin out from the following website

http://www.stokely.com/unix.serial.port.resources/A-B-Ycablepinout.html#pinid

It states that pin2 on db25 is tx and pin3 on db25 is rx, that means that I am crossing over the cable, also we have a serial interfaker which shows that my tx and rx are indeed crossed over.

I did try xon/off but that didn't work.
0
 
LVL 2

Expert Comment

by:stanford_16
Comment Utility
I visited the site, and the while the pinout they have doesn't correspond to the cables / connectors I have, you've already answered whether they're crossed or not.  The next step is to disconnect the remainder of the pins, leaving only transmit, receive, and ground.

The next thing to do is ensure that the E220 is outputting to the serial port and that you're properly connected.

There are three 25 pin ports on the back of the E220.  They're labeled as "A", "B", and "/ /".  Make sure you're plugging into A

Next, the system may have an RSC.  Do you see a card in the PCI expansion slots with three RJ45 connectors in it, labeled Serial, Ethernet, and Modem?  If so, we need to take that out of the mix for now.  Just open up the system (three screws on the top), remove the cover, unscrew the card, and remove it for now.  Place the cover back on and try again.

If neither of those suggestions work, the next step is to verify that the system is coming up properly.  Power on the system with both front covers open.  One of the power supplies should have two lights lit, the other should have one.  After several minutes (depending on OBP settings), the disks should start chugging.  Is this occurring?

That should be enough steps for now :-).  Just post another comment if this thing's still hassling you.
0
 

Author Comment

by:Scotsman777
Comment Utility
Hey Stanford,

thanks for your suggestions, I've been busy doing other things at work but I've now had a chance to go over some of your suggestions.

Here's what I've done so far...

It is connected to Serial A
There is no RSC, but there is 2 other cards, both have an MII socket and an RJ45
Both LED's come on and there is no fault LED (the one marked with a "spanner", "shifter" in the states)
The Hard drives do indeed spin up

Here's what cable configs I've tried and the output on Hyperteminal

db9           db25
2------------2
3------------3
5------------7

Xon/Xoff = Garbled Characters on screen when 220 is first powered on (tried all baud rates from 110 to 115200)
Hardware = Nothing
None = Nothing

db9       db25
2----------3
3----------2
5----------7

Xon/Xoff = Nothing
Hardware = Nothing
None = Nothing

Cheers
Dave
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 2

Expert Comment

by:stanford_16
Comment Utility
Garbled characters are far better than no characters!

Going with the Xon/Xoff flow control, a baud rate of 9600, and the correct pinout being 2-2, 3-3, and 5-7, try saving a seesion w/Hyperterminal.  Restart it, power on the Sun box, and see what you get.  Often Hyperterminal chokes on switching settings on the fly.

Thanks,
Aaron
0
 

Author Comment

by:Scotsman777
Comment Utility
Hi Aaron,

Sorry I should have stated thats when I get the garbled characters "when I switch on the 220 with hyperterminal connected". Yes I have noticed hyperterminal's ability to lock up when changing flow control methods, great software eh!

After the garbled characters appear no keystrokes work and I've even tried to CTRL-BREAK and that doesn't work either.

Cheers
Dave
0
 

Author Comment

by:Scotsman777
Comment Utility
I found a spare graphics card from a Enterprise 250, I plugged this into the 220R, and I get "no signal", I hope this helps, could it be a serious machine fault?

Dave
0
 
LVL 2

Accepted Solution

by:
stanford_16 earned 250 total points
Comment Utility
I suppose it could be... It's time to get troubleshooting, I suppose.  Are you comfortable opening the system up?  If so, I'd suggest stripping the system to the minimum components it needs in order to function.

All the system needs is:
(1) CPU (the CPU farthest away from the memory banks)
(4) DIMMs (must be in the bank closest to the CPU's

Remove the NIC's and any other cards.

While you're in there, can you get me the part numbers off of the CPU's?  They will be on a tag on the CPU's and will be in the form  501-xxxx-xx

Also, there is a jumper (J3001) which must be set to the proper CPU frequency.  Unless the part number on the CPU's is 501-5552, this jumper (near Bank 0 of the memory slots)  must be set to 2-3 (away from the CPU's)

Here's a diagram of the motherboard to help.
http://sunsolve.sun.com/handbook_pub/Devices/System_Board/SYSBD_Ultra60.html

Aaron
0
 
LVL 20

Expert Comment

by:tfewster
Comment Utility
Before getting the screwdrivers out, I'd check the other HyperTerm settings - Data Bits, Parity, Stop Bit   (Maybe stanford_16 can say what they _should_ be?)  The fact that you're getting _something_ (even tho' its garbled) indicates a simple comms problem.
0
 

Author Comment

by:Scotsman777
Comment Utility
Fantastic,

thankyou ever so much Aaron, when starting to strip out the insides I noticed that one of the CPU's clips didn't seem to be in properly, I pushed it in and heard a "click", I then put the power back in and voila, one console communicating baby.

thankyou again for your time and effort

Dave
0
 
LVL 2

Expert Comment

by:stanford_16
Comment Utility
Great!  Have fun :)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now