Intro

Spex uses 2 PortServer TS 4 MEI teminal server for the animatic smart motors
and 218E temperature monitor. 3 port are needed:
  port 1: rotator smart motor
  port 2: grating smart motor
  port 3: unused
  port 4: 218E Temperature Controller 

Hostname           192 address      
--------------   --------------  
spex-temp-digi   192.168.1.11    
spex-motor-digi  192.168.1.12    

Other that the hostname/IP, the ports are setup the same on both units.

Initial Setup

RARP is needed to setup the PortServer.
However, rarpd is obsolete since RHEL5.
However, just pluging into the IRTF network our CentOS6 basking dhcp server assigned 
it an IP number. Then telnet into the unit and assign it an IP number.

 telnet  128.171.110.251
 Trying 128.171.110.251...
 Connected to 128.171.110.251.
 Escape character is '^]'.

 login: root
 password:  (see manual)
 #> 

Below are the commands to set the static IP number.

spex-motor-digi Config:
	set config myname=spex-motor-digi
	set config domain=ifa.hawaii.edu
	set config nameserv=0.0.0.0
	set config submask=255.255.0.0
	set config gateway=0.0.0.0
	set config ip=192.168.1.12 
	set config dhcp=off 

spex-temp-digi Config:
	set config myname=spex-temp-digi
	set config domain=ifa.hawaii.edu
	set config nameserv=0.0.0.0
	set config submask=255.255.0.0
	set config gateway=0.0.0.0 
	set config ip=192.168.1.11
	set config dhcp=off 

Reset:
   #> boot action=reset

Configuring the ports: 

   Ports 1,2,3 are setup for animatics motor: 9600,8,N,1
	Ports 4     is  setup for Lakeshore 218E : 9600,7,O,1

   Animatics Smart Motor
	  Default serial of motor & Digi match: baud=9600 csize=8 parity=N stopb=1
	  Modification from default setting:
         set ports dev=prn range=1
         set ports dev=prn range=2
         set ports dev=prn range=3

   Lakeshore 218E  uses 9600, 7, O, 1
         set ports dev=prn range=4
			set line  range=4 baud=9600 csize=7 parity=o  stopb=1  
	   
To display the configuration: 

   cpconf term

Resetting to Factory defaults: 

   (See manual page 103).

	Turn off port server.
	Hold and press the reset button.
	Power on the Digi Port.
	When the 1-5-1 LED patterns is displayed, release the button.
	It may take about 2 minutes for the device to boot up.