NPort W2150/2250 Plus Series User’s Manual
Installing and Configuring the Software
11-20
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
--- source code
moxattyd.cf
--- an empty configuration file
Makefile
--- makefile
VERSION.TXT
--- fixed TTY driver version
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
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 bootup, 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.