========================================================================
               MOXA NPort Server Family Real TTY Driver 
                              for Linux 
                                 
                          Installation Guide
        
  Copyright (C) 2002, MOXA Technologies Co., Ltd. All rights reserved. 
========================================================================
Content

1. Overview
2. System Requirement
3. Installation
   3.1 Before install
   3.2 Installation
   3.3 Configuration
   3.4 Check installation result
   3.5 Add more server
   3.6 Remove server
4. Maintenance
   4.1 Monitor
   4.2 Serial port sharing and access right authorization
   4.3 Upgrade firmware
5. Technical support
------------------------------------------------------------------------
1. Overview
    
    This NPort Server Real TTY driver supports following products.

      a.  NPort Server Pro:
          DE-303 16 ports RS-232 serial device server
          DE-308  8 ports RS-232 serial device server

      b.  NPort Server Lite:
	  DE-301 1 port RS-232 serial device server
	  DE-302 2 ports RS-232 serial device server
 	  DE-304 4 ports RS-232 serial device server 
	  DE-331 1 port RS-422/485 serial device server
	  DE-332 2 ports RS-422/485 serial device server
 	  DE-334 4 ports RS-422/485 serial device server 

      c.  NPort Express :
          DE-311  1 port RS-232/422/485 serial device server
          DE-311M 1 port RS-232 serial device server
          DE-211  1 port RS-232/422/485 serial device server

    This driver can run under following systems.

    a. Linux (kernel 2.0.36 above)
    b. Linux (kernel 2.2.x)
    c. Linux (kernel 2.4.x)
    
    You may always find and download the latest driver at
    http://www.moxa.com Or you may try
    http://www.moxa.com.tw
                  
2.  System Requirement
    To install this driver, you will need NPort Server and one of
    the following system.

     (a)  Linux
             -  kernel 2.4.x or 2.2.x or 2.0.36 above
             -  gcc-2.7.2.1 or above
             -  ld.so-1.7.14 or above
             -  libc.so-5 or above
             -  binutils-2.7.0 or above
             -  make-3.74 or above
             -  gunzip-1.2.4 or above 

3. Installation

   3.1 Before install

   Prior to proceed software installation, please make sure the
   hardware installation is completed as user's manual illustrated.
   The default IP address for NPort Server is 192.168.127.254. 

   3.2 Installation

     a.Insert the driver disk into floppy disk.
       For example, drive a:. 
     b.login from the console as a super user (root).
     c.Type 'cd /' to go to root directory.
     d.Type 'tar xvf /dev/fd0' to copy all files into the system.
     e.Type '/tmp/moxa/mxinstall'.
     f.Choose proper location for driver source. Select 5 to
       install driver from hard disk or specify the location
       of the driver disk.
           1.  /dev/fd0135ds18      (A:1.44M)
           2.  /dev/fd096ds15        (A:1.2M)
           3.  /dev/fd1135ds18      (B:1.44M)
           4.  /dev/fd196ds18        (B:1.2M)
           5.  Hard Disk            /tmp/moxa
     g.The shell script will install the driver files automatically.
       The administration program 'npsadm' will then be activated.

   3.3 Configuration

     a.If the driver installation is successful, you can see the
       main menu of administration utility.  
        -  Add Server
        -  Delete Server                  
        -  Configure Server
        -  Ports Monitor
        -  Driver Removal
        -  Exit

     b.Select 'Add Server' to add NPort Server, you can find two
       options as follows to add NPort Server.
        -  Auto-Probe NPort Server 
        -  Manual Add Nport Server
       Select "Auto-Probe NPort Server", the npadm can search the
       NPort Server on local LAN automatically. All of the NPort
       Servers found are displayed in the list of 'Select NPort
       Server to Add'. Select the NPort Server to be installed.

       If you're not sure which NPort Server is the one for
       installation, you may press Ctrl+B to locate the server
       by observing the LED display.

       If the NPort Server is not installed in the local LAN but
       in different network, please select the 'Manual Add NPort
       Server' to input the NPort Server's IP address manually. 

     c.Next, you can see a password dialog poped up. If the NPort
       Server is password protected, please input the password and
       select [ENTER] to continue.

       Please note, if you input wrong password more than three
       times, the administration program will go back to main menu.

     d.Next, the 'Set Server Property' menu poped up for server
       property configuration. You can modify the properties
       i.e. server name, IP address, IP Netmask, Gateway, password 
       and DHCP setting. Select Ctrl+F to save the setting.
               
     e.Next, the 'Set Port Property' menu poped up for serial
       port property configuration. You can set the port status
       i.e. mapping, device name, FIFO, interface.

       The default device name of each port is '/dev/ttynxx'.
       You can change the tty device name to you wanted.	

       Please note that each port must have a unique device name. 
       Select Ctrl+F to save the setting and exit.

     f.After everything is set, the NPort Server will be restarted
       and the driver will activate automatically.
        
     g.The administration program stores all settinsg in '/usr/bin'.
       You may run 'npsadm' to change the settings when necessary.

   3.4 Check log file
       You can check the driver log file 'npreald.log' in 
       '/usr/lib/npreal/bin'.

   3.5 Add more server
       Add Server allows you to add more NPort Server.  You may refer
       to 3.3.b for more detail.
       
   3.6 Remove server
       You may remove certain NPort Server from the list by entering
       'Delete Server' function.

4. Maintenance
   In addition to above functions, NPort Server administration program
   also provides more utilities for better system maintenance.

    4.1 Monitor
         You can select the Ports Monitor of administration utility to
         monitor each port's activity as well as to learn each port's
         transmission status by running 'npadm' program. This utility
         can report the data length and throughput of transmitting (Tx)
         and receiving (Rx) when data transmission.
 
	 In this comparison table, you can see the 'Char Count', total
         character counting, based on byte per second. In addition, per
	 Tx and Rx throughput reported in both of interval and average
	 based on byte per second.

	 The interval basis of throughput means the data transmission 
	 rate is counted within interval setting i.e. based on 3 seconds. 
	 And the average basis of throughput displays the average value 
	 of entire data transmission rate.
  
         We provide the function to change the interval number, 3 ~10
         seconds, by pressing <+> and <-> key. Moreover, you can select
         the port number then press <Enter> to view per port's status i.e
         communication parameters, signals status, flow control status,
         and idle time. If need, you can press the <Home> key to reset
         the value to zero.
 
    4.2 Serial port sharing and access right authorization
          NPort Server allows multiple hosts access one serial port. 
          Therefore, proper access right authorization is necessary.
          To configure the access right for each serial port on NPort 
          Server, you must enter the IP address of the host to be 
          authorized in this program.
          Press "<Ctrl+G>: Set Grant IP" to configure port access 
          authorization.

    4.3   Driver Removal
          You can remove the Real TTY driver from your system by running 
          the Driver Removal function.

5. Technical support
   If you have any technical questions, please send your question by 
   follows ways with detail description of the symptom.
   
   Email: support@moxa.com.tw
   Tel  : +886 2 89191230 ext.300


<end>