Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 05:14 AM
Ben
 
Posts: n/a
Default Connecting 2 e450s via serial port (fairly newbie-ish question)

Hi all. I'd like to connect 2 e450s via a serial connection so I can
tip from one to the other. I am doing some testing which will require
1 of the 450s to be in single user mode and I will be remote.

I have tried connecting the 2 A/B ports with a null modem cable and
tip-ing to cua/a but that didn't get me anywhere. Can anyone else give
me a tip or 2?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 05:14 AM
Greg Andrews
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

bozothedeathmachine@excite.com (Ben) writes:
>Hi all. I'd like to connect 2 e450s via a serial connection so I can
>tip from one to the other. I am doing some testing which will require
>1 of the 450s to be in single user mode and I will be remote.
>
>I have tried connecting the 2 A/B ports with a null modem cable and
>tip-ing to cua/a but that didn't get me anywhere. Can anyone else give
>me a tip or 2?
>


When your first E450 is using its A port as the console, you can't
run tip on it for other purposes. So you need to get a splitter
cable to give you access to the signals for the B port for using tip.
So then you would connect the cable to the B connector on the splitter
cable on the E450 you run tip on, and the other end of the cable would
connect to the A/B port on the E450 you will run in single-user mode.

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 05:14 AM
Greg Andrews
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

"Dr. David Kirkby" <drkirkby@ntlworld.com> writes:
>
>I built such a cable from information at
>http://www.obsolyte.com/sunFAQ/serial/
>The 25-25 pin cable they suggest does indeed work. Apparently, not all
>null modem cables have all the connections, so that might be your
>problem.
>
>Note, I'm sure there is an error in the pinouts at that site for the
>9->25 pin cable. Pins 2 and 3 should be crossed. (I'm also sure I
>pointed this out to them, but it does not seem to have changed.)
>


No, a null-modem cable between a 9-pin and a 25-pin connector
does NOT cross over pins 2 and 3. That's because IBM reversed
the signals on pins 2 and 3 when they invented the 9-pin RS232
port. On the 9-pin connector, pin 2 is RxD (Receive Data), and
pin 3 is TxD (Transmit Data).

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 05:15 AM
Ben
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

No, I am using normal console on the other machine. That being said I
assume the keyboard and monitor must be disconnected from the 450 I
was to tip TO, correct?

When tipping, will I receive normal console output?

Thanks for the help.

Ben..

gerg@panix.com (Greg Andrews) wrote in message news:<bg690u$lm5$1@reader1.panix.com>...
> bozothedeathmachine@excite.com (Ben) writes:
> >Hi all. I'd like to connect 2 e450s via a serial connection so I can
> >tip from one to the other. I am doing some testing which will require
> >1 of the 450s to be in single user mode and I will be remote.
> >
> >I have tried connecting the 2 A/B ports with a null modem cable and
> >tip-ing to cua/a but that didn't get me anywhere. Can anyone else give
> >me a tip or 2?
> >

>
> When your first E450 is using its A port as the console, you can't
> run tip on it for other purposes. So you need to get a splitter
> cable to give you access to the signals for the B port for using tip.
> So then you would connect the cable to the B connector on the splitter
> cable on the E450 you run tip on, and the other end of the cable would
> connect to the A/B port on the E450 you will run in single-user mode.
>
> -Greg

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-12-2008, 05:15 AM
Ben
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

Ok. First I want to say thanks to everyone for there input, but there
is another "but" following...

But, I still can't get the machines to talk. I booted sun1 into SU
mode then quickly unplugged the keyboard and mouse. I then connected
my laptop (Procomm Plus on Win2k) to the serial A/B port. I got a
carrier-detect light, but nothing from the console. I tried this both
with and without null cable. Then tried the same thing for the serial
port of sun2 (running normal console) with/without null. Nothing. I
can't get any kind of output from the serial port. I'm getting close
to wits end here.

Is serial A console by default? Or do I have to edit some config
files?

Thanks again.

gerg@panix.com (Greg Andrews) wrote in message news:<bg690u$lm5$1@reader1.panix.com>...
> bozothedeathmachine@excite.com (Ben) writes:
> >Hi all. I'd like to connect 2 e450s via a serial connection so I can
> >tip from one to the other. I am doing some testing which will require
> >1 of the 450s to be in single user mode and I will be remote.
> >
> >I have tried connecting the 2 A/B ports with a null modem cable and
> >tip-ing to cua/a but that didn't get me anywhere. Can anyone else give
> >me a tip or 2?
> >

>
> When your first E450 is using its A port as the console, you can't
> run tip on it for other purposes. So you need to get a splitter
> cable to give you access to the signals for the B port for using tip.
> So then you would connect the cable to the B connector on the splitter
> cable on the E450 you run tip on, and the other end of the cable would
> connect to the A/B port on the E450 you will run in single-user mode.
>
> -Greg

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-12-2008, 05:15 AM
Mike Mann
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

On 1 Aug 2003 02:19:31 -0700, bozothedeathmachine@excite.com
(Ben) wrote:

>Ok. First I want to say thanks to everyone for there input, but there
>is another "but" following...
>
>But, I still can't get the machines to talk. I booted sun1 into SU
>mode then quickly unplugged the keyboard and mouse. I then connected
>my laptop (Procomm Plus on Win2k) to the serial A/B port. I got a
>carrier-detect light, but nothing from the console.


That won't work. The keyboard must be disconnected *before* the
machine is powered up. As part of the power-up sequence, the
machine looks to see if a keyboard is attached. If one is
attached, it's used for console input and console output is
directed at the monitor port. If there's no keyboard attached
*when the machine is powered up*, console I/O is directed at
serial port A.

If you have the correct null-modem cable linking port A to port B
(say) on another Sun box, "tip -9600 /dev/cua/b" on that other
Sun box should allow you to talk to the console on the first box.

If you prefer to use a Windoze laptop as the controller, TeraTerm
is highly recommended at the terminal program to use:

http://hp.vector.co.jp/authors/VA002416/teraterm.html

Mike.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-12-2008, 05:15 AM
Greg Andrews
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

bozothedeathmachine@excite.com (Ben) writes:
>Ok. First I want to say thanks to everyone for there input, but there
>is another "but" following...
>
>But, I still can't get the machines to talk. I booted sun1 into SU
>mode then quickly unplugged the keyboard and mouse.
>


No. Power sun1 off, unplug the keyboard and mouse, then power it on.

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-12-2008, 05:16 AM
Dr. David Kirkby
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

Greg Andrews wrote:
>
> "Dr. David Kirkby" <drkirkby@ntlworld.com> writes:
> >
> >I built such a cable from information at
> >http://www.obsolyte.com/sunFAQ/serial/
> >The 25-25 pin cable they suggest does indeed work. Apparently, not all
> >null modem cables have all the connections, so that might be your
> >problem.
> >
> >Note, I'm sure there is an error in the pinouts at that site for the
> >9->25 pin cable. Pins 2 and 3 should be crossed. (I'm also sure I
> >pointed this out to them, but it does not seem to have changed.)
> >

>
> No, a null-modem cable between a 9-pin and a 25-pin connector
> does NOT cross over pins 2 and 3. That's because IBM reversed
> the signals on pins 2 and 3 when they invented the 9-pin RS232
> port. On the 9-pin connector, pin 2 is RxD (Receive Data), and
> pin 3 is TxD (Transmit Data).
>
> -Greg
> --
> Do NOT reply via e-mail.
> Reply in the newsgroup.


There must surely be something wrong these set of connections, which
is at
http://www.obsolyte.com/sunFAQ/serial/


25 pin 9 pin
pin 1 GND - pin 1 GND
pin 2 TXD - pin 3 RXD
pin 3 RXD - pin 3 TXD
pin 4 RTS - pin 8 CTS
pin 5 CTS - pin 7 RTS
pin 7 gnd - pin 5 gnd
pin 6 DSR - pin 4 DTR
pin 20 DTR - pin 6 DSR

How can this work, if both both pins 2 and 3 at the 25-pin end are
shorted together on pin 3 of the 9-pin end? That makes no sense to me.
It must be wrong.

If I understand you correctly, the correct connections for a 25 to 9
pin null modem cable should be:

25 pin 9 pin
pin 1 GND - pin 1 GND
pin 2 TXD - pin 2 RXD
pin 3 RXD - pin 3 TXD
pin 4 RTS - pin 8 CTS
pin 5 CTS - pin 7 RTS
pin 7 gnd - pin 5 gnd
pin 6 DSR - pin 4 DTR
pin 20 DTR - pin 6 DSR

Is that correct ?

--
Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail davek@medphys.ucl.ac.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-12-2008, 05:16 AM
Greg Andrews
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

"Dr. David Kirkby" <drkirkby@ntlworld.com> writes:
>Greg Andrews wrote:
>>
>> No, a null-modem cable between a 9-pin and a 25-pin connector
>> does NOT cross over pins 2 and 3. That's because IBM reversed
>> the signals on pins 2 and 3 when they invented the 9-pin RS232
>> port. On the 9-pin connector, pin 2 is RxD (Receive Data), and
>> pin 3 is TxD (Transmit Data).
>>

>There must surely be something wrong these set of connections, which
>is at
>http://www.obsolyte.com/sunFAQ/serial/
>
>
>25 pin 9 pin
>pin 1 GND - pin 1 GND
>pin 2 TXD - pin 3 RXD
>pin 3 RXD - pin 3 TXD
>pin 4 RTS - pin 8 CTS
>pin 5 CTS - pin 7 RTS
>pin 7 gnd - pin 5 gnd
>pin 6 DSR - pin 4 DTR
>pin 20 DTR - pin 6 DSR
>
>How can this work, if both both pins 2 and 3 at the 25-pin end are
>shorted together on pin 3 of the 9-pin end? That makes no sense to me.
>It must be wrong.
>


It is wrong. It's wrong in three ways. You've pointed out the
most obvious one. (the second line has the wrong pin number for
the 9-pin connector).

>
>If I understand you correctly, the correct connections for a 25 to 9
>pin null modem cable should be:
>
>25 pin 9 pin
>pin 1 GND - pin 1 GND
>


No. This is the second problem with obsolyte.com's pinout.
Pin 1 of the 9-pin connector is not GND. It is DCD, and it
should not be connected to the chassis ground pin on the 25-pin
connector.

>
>pin 2 TXD - pin 2 RXD
>pin 3 RXD - pin 3 TXD
>pin 4 RTS - pin 8 CTS
>pin 5 CTS - pin 7 RTS
>pin 7 gnd - pin 5 gnd
>pin 6 DSR - pin 4 DTR
>pin 20 DTR - pin 6 DSR
>
>Is that correct ?
>


It's correct as far as the data, ground, and RTS/CTS pins are
concerned, but I think it shows an inferior connection of the
DTR, DSR, and DCD pins. (that's the third problem)

Take a look at the 25-to-25 null-modem cable diagram on the same
web page. It doesn't show DTR on one end going to just DSR on
the other end. It shows DTR on one end going to both DSR and
DCD on the other end. That is the superior connection.

So not only is part of the obsolyte.com 25-to-9 pinout wrong,
but other parts are inconsistent with their 25-to-25 pinout,
*which they recommend*. They need to revise that page.

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-12-2008, 05:16 AM
Andrew Kam
 
Posts: n/a
Default Re: Connecting 2 e450s via serial port (fairly newbie-ish question)

Good morning all!

Post your technical queries to ap-csc-english@sun.com if you are based in
the Asia Pacific region (including Australia and New Zealand). This is the
Technical Support area. They should be able to point you in the right
direction.

However, unless you have a Cobalt machine - all other hardware and software
support requires you to have a valid maintenance contract number with Sun.
If you don't have one, be prepared to pay for time and materials costs.

Best regards
Andrew

"Greg Andrews" <gerg@panix.com> wrote in message
news:bge7ed$d8b$1@reader1.panix.com...
> bozothedeathmachine@excite.com (Ben) writes:
> >Ok. First I want to say thanks to everyone for there input, but there
> >is another "but" following...
> >
> >But, I still can't get the machines to talk. I booted sun1 into SU
> >mode then quickly unplugged the keyboard and mouse.
> >

>
> No. Power sun1 off, unplug the keyboard and mouse, then power it on.
>
> -Greg
> --
> Do NOT reply via e-mail.
> Reply in the newsgroup.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:20 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545