Configuring The Unix Driver - Moxa Technologies MiiNePort E2-H User Manual

Miineport e2/e3
Hide thumbs Also See for MiiNePort E2-H:
Table of Contents

Advertisement

MiiNePort E2/E3
3. 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
moxattyd.cf
Makefile
VERSION.TXT
FAQ.TXT
4. 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 the moxattyd program is defined in the text file moxattyd.cf, which is in the same
directory that contains the program moxattyd. You may use vi, or any text editor to modify the file, as follows:
ttyp1 192.168.1.1 950
For more configuration information, view the file moxattyd.cf, which contains detailed descriptions of the
various configuration parameters.
NOTE
The "Device Name" depends on the OS. See the Device Naming Rule section in README.TXT for more
information.
Start the moxattyd daemon that you configured in moxattyd.cf. If you would like to set the connection timeout,
you can add a "-t min" parameter to specify the connection timeout value in minutes. For example:
# /usr/etc/moxattyd/moxattyd -t 1
NOTE
You will now be able to use tty, which is configured in moxattyd.cf.
To start the moxattyd daemon after system bootup, add an entry into /etc/inittab, with the tty name you
configured 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]
--- source code
--- an empty configuration file
--- makefile
--- fixed tty driver version
6-14
Utility Console and Driver Installation

Advertisement

Table of Contents
loading

Table of Contents