[SunHELP] Setting up a PC as as a terminal

stephen price sd_price at yahoo.com
Fri Aug 2 09:10:42 CDT 2002


I use rj45-db9female and rj45-db25male converters,
then a standard ethernet cable to connect the two. 
Here's the way I have the adapters wired:

rj45-db9female
white wire  -> pin1
brown wire -> pin2
yellow wire -> pin3
green wire -> pin4
red wire -> pin5
black wire -> pin6
orange wire -> pin7
blue wire -> pin8

rj45-db25male
white wire  -> pin1
brown wire -> pin2
yellow wire -> pin3
green wire -> pin6
red wire -> pin7
black wire -> pin20
orange wire -> pin5
blue wire -> pin4

Plus I use TerraTermPro/ssh software (freebie).

Serial consoles can cause systems to halt or reboot if
not setup right. Spurious line electrical signals are
the culprit.  There are various patches or work
arounds that work to fix these problems.  

Also you'll probably want to set the alternate-break
sequence if you plan to do this alot.

The following matrix (I hope that it prints out right)
is something Sun sent me one time and shows needed
patches for various platforms/os.

Lastly, there are some really good reference material
on the net - try www.stokley.com

Solaris Arch(uname -m or -a)    Patch           Notes

2.8     sun4u (inc SB100,Netra) 109793-09      
(1)(2)(3)
                                111041-04	 Patch
111041-04 is for Solaris
						 8, Update 4 or greater.
                                108528-14 or greater

2.7     sun4m                   107589-08      
(1)(2)(5)
2.7     sun4c                   107589-08      
(1)(2)(5)
2.7     sun4d                   107589-08      
(1)(2)(5)
2.7     sun4u                   107589-08      
(1)(2)(5)
2.7     UltraAX-e               107026-12      
(1)(2)(5)
2.7     UltraSPARC-IIi-cEngine  107026-12      
(1)(2)(5)


2.6     UltraSPARC-IIi-c        106533-11       (1)(6)
2.6     sun4c                   105924-11       (1)(2)
2.6     sun4d                   105924-11       (1)(2)
2.6     sun4m                   105924-11       (1)(2)
2.6     sun4u                   105924-11       (1)(2)

2.5.1   sun4u                  
103821-05,104596-14,103640-39 (4)
        sun4c                  
103821-05,104596-14,103640-39 (4)
        sun4d                  
103821-05,104596-14,103640-39 (4)
        sun4m                  
103821-05,104596-14,103640-39 (4)


(1) Temporary, resets to default BREAK on reboot.
Perform #2 for longterm.
kbd -a alternate        -       Use  <cr><tilde><^B>
as BREAK
kbd -a disable          -       Inhibets ALL breaks
kbd -a enable           -       Activates normal break
( not alternate )

(2) Permanant. Changes made to /etc/default/kbd.
Requires reboot.
Note. To specify a condition ONLY uncomment one
option.

To use alternate break - Uncomment
#KEYBOARD_ABORT=alternate
To disable all breaks  - Uncomment
#KEYBOARD_ABORT=disable

(3) Some SUN boxes (Ex.U5) running 2.8 may not need
patch. Installing patch
will not cause any harm.

(4) kdb does not have the -a option, so you must add
the following line into
/etc/system file then reboot.

set abort_enable=2

(5) Requires Solaris 7 11/99 to properly install
patch. If installing patch
with 8/99 it won't install because SUNsior and
SUNWsiox are out of revision.
Either upgrdae to 11/99 or to Solaris 8. You may be
able to install these
two packages from a 11/99 cd. make sure you install
packages from
/var/spool/pkg.

(6) Installing this patch will edit /etc/system and
will change the
alternate break key sequence on this system. Reboot necessary



More information about the SunHELP mailing list