EtherLite32

From CLONWiki
Revision as of 15:31, 22 November 2007 by Boiarino (talk | contribs)
Jump to navigation Jump to search

The number of EtherLite32 terminal servers are installed to provide serial connections to ROCs, IOCs, network switches and other devices.

RealPort software must be installed to communicate with EtherLite terminal servers. Do following as 'root' (tar file contains files downlloaded from http://www.digi.com):

cd /usr/local/src
cp ../downloads/EtherLite32.tar .
tar xvf EtherLite32.tar
rm EtherLite32.tar
cd EtherLite32
pkgadd -d realport_2.8.3.pkg

Last command will initiate following dialog and output (empty lines removed):

The following packages are available:
  1  realport     Digi RealPort Driver
                  (sparc/i386) 2.8.3
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 
Processing package instance <realport> from </usr/local/src/EtherLite32/realport_2.8.3.pkg> 
Digi RealPort Driver(sparc/i386) 2.8.3
--------------------------------------------------------------------
Copyright (c) 1996-2005 Digi International Inc. All Rights Reserved.
This software contains proprietary and confidential information 
of Digi International Inc.  By accepting transfer of this copy, 
Recipient agrees to retain this software in confidence, to prevent 
disclosure to others, and to make no use of this software other 
than that for which it was delivered.  This is an unpublished 
copyrighted work of Digi International Inc.  Except as permitted 
by federal law, 17 USC 117, copying is strictly prohibited.
--------------------------------------------------------------------
Using </> as the package base directory.
## Processing package information.
## Processing system information. 
WARNING: setting mode of </dev/dpr> to default mode (755) 
WARNING: setting mode of </dev/dty> to default mode (755)
WARNING: setting mode of </opt/realport> to default mode (755)
WARNING: setting mode of </opt/realport/amd64> to default mode (755)
WARNING: setting mode of </opt/realport/i386> to default mode (755)
WARNING: setting mode of </opt/realport/include> to default mode (755)
WARNING: setting mode of </opt/realport/sparc32> to default mode (755)
WARNING: setting mode of </opt/realport/sparc64> to default mode (755)
WARNING: setting mode of </opt/realport/utils> to default mode (755)
   9 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package. 
Do you want to continue with the installation of <realport> [y,n,?] y
Installing Digi RealPort Driver as <realport>
## Installing part 1 of 1.
/etc/rc2.d/S76realport <symbolic link>
/opt/realport/S76realport
/opt/realport/amd64/dgipserv
/opt/realport/amd64/digi_realport
/opt/realport/amd64/ditty
/opt/realport/amd64/dpa-rp
/opt/realport/amd64/ncx_debug
/opt/realport/amd64/ncx_devices_exist
/opt/realport/amd64/ncx_make_links
/opt/realport/amd64/ncx_mknod
/opt/realport/amd64/ncxd.Z
/opt/realport/dgipserv.1
/opt/realport/ditty
/opt/realport/dpa-rp
/opt/realport/drpadmin
/opt/realport/i386/dgipserv
/opt/realport/i386/digi_realport
/opt/realport/i386/ditty
/opt/realport/i386/dpa-rp
/opt/realport/i386/ncx_debug
/opt/realport/i386/ncx_devices_exist
/opt/realport/i386/ncx_make_links
/opt/realport/i386/ncx_mknod
/opt/realport/i386/ncxd.Z
/opt/realport/include/stdigi.h
/opt/realport/install_notes.txt
/opt/realport/ncxd
/opt/realport/release_notes.txt
/opt/realport/sparc32/dgipserv
/opt/realport/sparc32/digi_realport
/opt/realport/sparc32/ditty
/opt/realport/sparc32/dpa-rp
/opt/realport/sparc32/ncx_debug
/opt/realport/sparc32/ncx_devices_exist
/opt/realport/sparc32/ncx_make_links
/opt/realport/sparc32/ncx_mknod
/opt/realport/sparc32/ncxd.Z
/opt/realport/sparc64/dgipserv
/opt/realport/sparc64/digi_realport
/opt/realport/sparc64/ditty
/opt/realport/sparc64/dpa-rp
/opt/realport/sparc64/ncx_debug
/opt/realport/sparc64/ncx_devices_exist
/opt/realport/sparc64/ncx_make_links
/opt/realport/sparc64/ncx_mknod
/opt/realport/sparc64/ncxd.Z
/opt/realport/utils/dgipserv
/opt/realport/utils/ncx_debug
/opt/realport/utils/ncx_devices_exist
/opt/realport/utils/ncx_make_links
/opt/realport/utils/ncx_mknod
/opt/realport/utils/ncx_verify_conf
/usr/sbin/dgipserv <symbolic link>
/usr/sbin/ditty <symbolic link>
/usr/sbin/dpa-rp <symbolic link>
/usr/sbin/drpadmin <symbolic link>
/usr/share/man/man1/dgipserv.1
/usr/share/man/man1/ditty.1
/usr/share/man/man7/realport.7
[ verifying class <none> ]
## Executing postinstall script.
Using / as package base directory...
Unloading previous versions of drivers, if any....      Done
Loading new drivers...Nov 22 14:53:37 clon10 digi_realport: Digi RealPort Driver (Instance 0) Ver 2.8.3
        Done
Run the drpadmin tool to add realport devices
Installation of <realport> was successful.

Copy several files to /opt/realport:

cp dpflush /opt/realport
cp dinc /opt/realport

NOTE: 'dinc' was copied from old CDsts driver, it seems digi does not have it any more, but we found it useful: 'tsconnect' will use it.

To configure EtherLite devices, run 'drpadmin' command and specify devices one by one, for example:

clon10:EtherLite32> /opt/realport/drpadmin 
Please select an option (a)dd (d)elete (s)how (r)eset (q)uit : a
Enter the IP address or network name of the unit: 129.57.167.208
Enter the number of ports: 32
Enter the tty device ID (only 2 chars allowed) : 0 
Would you like this RealPort session to be encrypted?
NOTE: Not all RealPort products support encrypted RealPort sessions.
Please check your RealPort product's firmware release notes
or product literature before selecting "always".
If in doubt, select "never".
(always/never) : (never): 
The following device will be configured,
0       129.57.167.208  32      0       secure (never)
Is this correct (y to add or x to abort) ? y
Please select an option (a)dd (d)elete (s)how (r)eset (q)uit : q
clon10:EtherLite32> 


...
copy tsconnect.conf to /opt/realport



old info

---+ ETHERLITE Terminal Servers

---++ Hardware | *Name* | *Ethernet Address* | *IP Name* | *Location* | *Ports* | *Protocol* | | els0 | 00a0e7008569 | etherlite1 | FC1 | 0-31 | RS232 | | els1 | 00a0e721288b | rs422a | FC2 | 32-33 | RS422 | | els2 | 00a0e7213b9f | etherlite2 | SF1S | 34-65 | RS232 | | els3 | 00a0e72141bd | rs422b | SCS | 66-67 | RS422 | | els4 | 00a0e72141b9 | rs422c | SF1S | 68-69 | RS422 | | els5 | 00a0e72141ae | rs422d | SF1N | 70-71 | RS422 | | els6 | 00a0e72141c4 | rs422e | SF2N | 72-73 | RS422 | | els7 | 00a0e72141b1 | rs422f | GS | 74-75 | RS422 | | els8 | 00a0e7214019 | etherlite3 | SF1N | 76-107 | RS232 | | els9 | 00a0e7214003 | etherlite4 | SCS | 108-139 | RS232 | | elsa | 00a0e7214e24 | etherlite8 | GS |  ???? | RS232 | | elsb | 00a0e72331b2 | etherlite9 | CR |  ???? | RS232 | | elsc | 00a0e721402e | etherlite5 | FC1 |  ???? | RS232 |


---+++ Key Meaning

  $ FC:   Forward Carriage
  $ FC1:   Forward Carriage, 1st level up from ground
  $ FC2:   Forward Carriage, 2nd level up from ground
  $ SF:   Space Frame
  $ SF0:   Space Frame, ground level
  $ SF1S:   Space Frame, 1st level up from ground, South
  $ SF1N:   Space Frame, 1st level up from ground, North
  $ SF2:   Space Frame, 2nd level up from ground
  $ SF2N:   Space Frame, 2nd level up from ground, North
  $ SF2S:   Space Frame, 2nd level up from ground, South
  $ SCS:   South Clam Shell structure
  $ NCS:   North Clam Shell structure
  $ GS:   Gas Shed

---++ Wiring The terminal server cables are cat 5 cables with 4 twisted pairs of conductors. Each conductor is fed into an RJ45 connector, which is numbered from right to left, looking at the front of the plug with the tab down. Using Hall B's convention, this table describes which wire colors should be fed to which RJ45 conductors at either end of the connection. The wiring will be different at the terminal server and the device. This wiring scheme will allow a connection to be made directly to a Motorola computer with an RJ45 console connector. For devices with a DSUB connector, there are converters available at the lab, and they rely on this wiring configuration as well. |*Server Wire Color*| *RJ45 Pin* | *Device Wire Color* | *Signal (at Server end)*| |Brown |1| Orange |RTS| |Blue |2| Orange Stripe |DSR| |Brown Stripe |3| Blue |DCD| |Blue Stripe |4| Blue Stripe |!RxD| |Green |5| Green |!TxD| |Green Stripe |6| Green Stripe|SG| |Orange |7| Brown |DTR| |Orange Stripe |8| Brown Stripe |CTS|

---++ Configuration /etc/bootptab on *CLON10*:

# Etherlite 32 RS232, Forward Carriage 1st Level, etherlite1
els0:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7008569:ip=129.57.167.208:
# Etherlite 2 RS422, Forward Carriage 2nd Level, rs422a
els1:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e721288b:ip=129.57.167.215:
# Etherlite 32 RS232, Space Frame 1st Level South, etherlite2
els2:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7213b9f:ip=129.57.167.209:
els3:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141bd:ip=129.57.167.216:
els4:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141b9:ip=129.57.167.217:
els5:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141ae:ip=129.57.167.218:
els6:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e72141c4:ip=129.57.167.219:
# Gas Shed 422 server, rs422f
els7:sm=255.255.255.0:gw=129.57.160.1:ht=ether:ha=00a0e72141b1:ip=129.57.160.20:
# Etherlite 32 RS232, Space Frame 1st Level North etherlite3
els8:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7214019:ip=129.57.167.210:
# Etherlite 32 RS232, South Clam Shell etherlite4
els9:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e7214003:ip=129.57.167.211:
# Gas Shed 232 2-port server, etherlite8
elsa:sm=255.255.255.0:gw=129.57.160.1:ht=ether:ha=00a0e7214e24:ip=129.57.160.50:
# Etherlite 32 RS232, Counting Room
#elsb:sm=255.255.255.0:gw=129.57.68.100:ht=ether:ha=00a0e721401a:ip=129.57.68.95:
elsb:sm=255.255.255.0:gw=129.57.68.100:ht=ether:ha=00a0e72331b2:ip=129.57.68.95:
# Etherlite 32 RS232, Forward Carriage, 1st Level, etherlite5
elsc:sm=255.255.255.0:gw=129.57.167.99:ht=ether:ha=00a0e721402e:ip=129.57.167.212:

---++ Changing configuration

if terminal server have to be replaced, do following:

  * set new MAC address in configuration file /etc/bootptab
  * kill -HUP for 'bootpd'
  * kill -HUP for '/usr/sbin/rpc.bootparamd'
  * start manualy /usr/sbin/rpc.bootparamd