User's Manual

NPort W2150A/W2250A Series Installing and Configuring the Software
5-22
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.
Adding an additional server
Modify the text file moxattyd.cf to add an additional server. Users may use vi or any text editor to modify
the file. For more configuration information, refer to moxattyd.cf, which contains detailed descriptions of
the various configuration parameters.
Find the process ID (PID) of the moxattyd.
# ps -ef | grep moxattyd
Update the configuration of moxattyd.
# kill -USR1 [PID]
(e.g., if moxattyd PID = 404, kill -USR1 404)
This completes the process of adding an additional server.