Installing The Unix Driver; Configuring The Unix Driver - Moxa Technologies MiiNePort E1-SDK User Manual

Hide thumbs Also See for MiiNePort E1-SDK:
Table of Contents

Advertisement

MiiNePort E1/E2-SDK

Installing the UNIX Driver

Log in to UNIX and create a directory for the Moxa TTY. To create a directory named /usr/etc, execute the
command:
# mkdir –p /usr/etc
Copy moxattyd.tar to the directory you created. For the /usr/etc directory, execute the following
commands:
# cp moxattyd.tar /usr/etc
# cd /usr/etc
Extract the source files from the tar file by executing the command:
# tar xvf moxattyd.tar
The following files will be extracted:
README.TXT
moxattyd.c --- source code
moxattyd.cf --- an empty configuration file
Makefile --- makefile
VERSION.TXT --- fixed TTY driver version
FAQ.TXT
Compile and link.
For SCO UNIX:
# make sco
For UnixWare 7:
# make svr5
For UnixWare 2.1.x, SVR4.2:
# make svr42

Configuring the UNIX Driver

Modify the configuration:
The configuration used by moxattyd is defined in the text file moxattyd.cf, which is in the same directory.
You may use vi or any text editor to modify the file, as follows:
ttyp1 192.168.1.1 950
You can refer to moxattyd.cf for detailed descriptions of the various configuration parameters. Please note
that "Device Name" depends on the OS. See the Device Naming Rule section in README.TXT for more
information.
To start the moxattyd daemon after system boot-up, add an entry into /etc/inittab using the TTY name you
defined in moxattyd.cf, as in the following example:
ts:2:respawn:/usr/etc/moxattyd/moxattyd –t 1
Device naming rule
For UnixWare 7, UnixWare 2.1.x, and SVR4.2, use:
pts/[n]
For all other UNIX operating systems, use:
ttyp[n]
The value of [n] should be equal or larger than 11 in order to prevent conflicts with the device names of
functional keys in some UNIX systems.
Starting moxattyd
Execute the command init q or reboot your UNIX operating system.
Utility Console and Driver Installation
4-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Miineport e2-sdk

Table of Contents