======================================================================== MOXA NPort Family Fixed TTY Driver for Linux and UNIX Installation Guide Copyright (C) 2001, 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/Async Server Fixed 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-311-485 1 port RS-422/485 serial device server The driver emulates each serial port of NPort as pseudo TTY ports on the network. This driver can run under following systems. SCO Unix SCO OpenServer SCO UnixWare 7 SCO UnixWare 2.x/SVR4.2 Linux 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 and one of the following system. (a) SCO UNIX 3.2.4 (b) SCO OpenServer 5 (c) SCO UnixWare 7 (SVR5) (d) UNIX SVR4.2 or UnixWare or MITUX (e) Linux - kernel 2.0.x or 2.2.x - 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 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.Select proper operating system in following menu. 1. SCO UNIX 2. UNIX SVR 4.2 3. UNIX SVR 5 (UnixWare 7.x) 4. Linux g.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 h.The shell script will install the driver files automatically. The administration program 'npadm' 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, you can find two options as follows to add NPort. - Auto-Probe NPort - Manual Add NPort Select "Auto-Probe NPort Server/Async Server", the npadm can search the NPort on local LAN automatically. All of the NPort found are displayed in the list of 'Select NPort Server/Async Server to Add'. Select the NPort to be installed. If you're not sure which NPort is the one for installation, you may press Ctrl+B to locate the server by observing the LED display. (Only DE-303, DE-308 support this function.) If the NPort is not installed in the local LAN but in different network, please select the 'Manual Add NPort Server/Async Server' to input the NPort's IP address manually. c.Next, you can see a password dialog poped up. If the NPort is password protected, please input the password and select [ENTER] to continue. If the NPort doesn't have password, you can press [ENTER] directly to go to next step. Please note, if you input wrong password more than three times, the administration program will go back to main menu. e.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. f.Next, the 'Set Port Property' menu poped up for serial port property configuration. You can set the port status i.e. device name, baud rate, data bit, stop bit, parity, , flow control and interface. The default device name of each port is 'disabled'. You have to specify a tty name for the serial port to be activated. You may select the device name by pressing [ENTER]. Please note that each port must have a unique device name. g.After everything is set, the NPort will be restarted and the driver daemon will activate automatically. h.The administration program stores all settinsg in '/usr/bin'. You may run 'npadm' to change the settings when necessary. 3.4 Check installation To check the result of installation, you may check the log file 'moxattyd.log' in /usr/etc/moxatty for driver daemon initial status. 3.5 Add more server Add Server allows you to add more NPort. You may refer to 3.3.b for more detail. 3.6 Remove server You may remove certain NPort from the list by entering this function. 4. Maintenance In addition to above functions, NPort 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 ~10seconds, by pressing <+> and <-> key. Moreover, you can select the port number then press to view per port's status i.e communcation parameters, signals status, flow control status, and idle time. If need, you can press the key to reset the value to zero. 4.2 Serial port sharing and access right authorization NPort allows multiple hosts access one serial port (but not at the same time). Therefore, proper access right authorization is necessary. To configure the access right for each serial port on Server, you must enter the IP address of the host to be authorized in this program. Press " Set Grant IP" to configure port access authorization. 4.3 Driver Removal You can remove the Fixed TTY Daemon 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