On 2012-08-16 at 12:56 -0400, Lawrence K. Chen, P.Eng. wrote:
> Along these lines....who makes an inexpensive ethernet to serial console 
> adapter?
> 
> Planning to replace my current servers with a couple of headless/fanless mini 
> PCs (one in my network closet and one in my Home Theatre rack).  At work we 
> use Digi CM's...though their pretty pricey, plus I only need a couple single 
> serial port adapters.

You need to be a little more specific: you mean to use cat5 cabling as
the wiring for serial between a DE-9 adaptor and something else, or a
DE-9 on both ends, or something else?

For instance, a monoprice.com USB-serial adaptor is product id 3726,
$5.54 for one, $5.27 each for two to nine.  That's USB A Male to "DB9M",
which is labelled "DB9 male connector" (I guess they really mean DE-9).

If you have those, then you can use some RJ-45/DE-9 adaptors yourself,
just buy a bag of adaptors and choose how to wire them.  DB9F (pid 1152)
start at $0.61 each and go down from there, same price for DB9M (1151).
I've done this, it works.

So if you buy parts for just one, that's $6.76 plus tax and shipping,
not including the cat5 cabling.

Attached are my notes from when I last made these up, quite a few years
ago.  Plain text, will need a monospace font for the diagrams to work
(and it's UTF-8, to capture the drawing characters I used at the time).
As a sysadmin, I've mostly dealt with the software layers, thanks to a
hardware hex, so there are plenty of people on this list who can correct
any misunderstandings and fill in gaps in knowledge about
standardisation in what I wrote.  Seriously, if there's any kind of
standard for colour-coding for serial-over-cat5-wiring then use that,
instead of the scheme I derived with logical approximations.

All LOPSA members hereby granted permission to rip the UTF-8 RJ-45 art
out of this document for use elsewhere, without attribution, so that you
can use the only really good part of the doc in something better.  :)
Hand-crafted.

-Phil
Serial is RS-232.
DE-9 adaptors; D for D-subminiture (from Cannon), E is the size.
  DB-25, DE-9.

RS-232 over DE-9 : EIA/TIA-574
RS-322 over RJ45 : EIA/TIA-561


RJ-45
=====

Looking from front, cable trailing away behind viewable area,
or from top, latch underneath.

   8       1       1┌─────────┐8
 ┌─┬┬┬┬┬┬┬┬┬─┐     ┌┴─────────┴┐
 │ │││││││││ │     │ ┌┬┬┬┬┬┬┬┐ │
 │ └┴┴┴┴┴┴┴┘ │     │ │││││││││ │
 │   Front   │     │ └┴┴┴┴┴┴┴┘ │
 │  ┌─────┐  │     │           │
 └──┤     ├──┘     │    Top    │
    └─┬─┬─┘        ├───────────┤
      └─┘          │           │
     latch         └───────────┘
                       cable

Not aware if cat5e pin↔colour combinations are standardised.

 1 Orange/White  DSR/RI
 2 Orange        DCD
 3 Green/White   DTR
 4 Blue          SGND
 5 Blue/White    RD
 6 Green         TD
 7 Brown/White   CTS
 8 Brown         RTS


DE-9
====

 1 DCD   in
 2 RD    in
 3 TD    out
 4 DTR   out
 5 SGND  -
 6 DSR   in
 7 RTS   out
 8 CTS   in
 9 RI    in


DE-9 / RJ45 adaptors
====================

As purchased from monoprice.com; not aware of colour standards.

Looking in, 8 on left, 1 on right, blank spot to right of 1.

 Left → Right
 8  White
 7  Brown
 6  Yellow
 5  Green
 4  Red
 3  Black
 2  Orange
 1  Blue


Serial Passthrough
==================

This is the "pdp passthru", as it's my own; there is no standard for serial
passthru, but as long as the same is used at both ends, there's no problem.
I prefer to use null-modem dongles to handle the 146 bridging.
I map the pins between standards to preserve line meanings.
I do not map RI (Ring Indicator).

 ┏━━━━━━━┳━━━━━━━━━┳━━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━┓
 ┃ DE-9# ┃ Adaptor ┃ Signal ┃ RJ45 ┃ RJ45         ┃
 ┃       ┃ Colour  ┃        ┃ Pin  ┃ Colour       ┃
 ┣━━━━━━━╇━━━━━━━━━╇━━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━┫
 ┃   1   │ Orange  │ DCD    │  2   │ Orange       ┃
 ┃   2   │ Green   │ RD     │  5   │ Blue/White   ┃
 ┃   3   │ Yellow  │ TD     │  6   │ Green        ┃
 ┃   4   │ Black   │ DTR    │  3   │ Green/White  ┃
 ┃   5   │ Red     │ SGND   │  4   │ Blue         ┃
 ┠───────┼─────────┼────────┼──────┼──────────────┨
 ┃   6   │ Blue    │ DSR    │  1   │ Orange/White ┃
 ┃   7   │ White   │ RTS    │  8   │ Brown        ┃
 ┃   8   │ Brown   │ CTS    │  7   │ Brown/White  ┃
 ┗━━━━━━━┷━━━━━━━━━┷━━━━━━━━┷━━━━━━┷━━━━━━━━━━━━━━┛

# vim: set expandtab :
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to