Moxa Technologies NE-4100 Network Card User Manual


 
NE-4100 Series User’s Manual Linux and UNIX Configuration
8-5
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.
ATTENTION
The 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, 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]
Starting moxattyd
Execute the command init q or reboot your UNIX operating system.
Adding an additional server
1. Modify the text file moxattyd.cf to add an additional server. User may use vi or any text
editor to modify the file. For more configuration information, look at the file moxattyd.cf,
which contains detailed descriptions of the various configuration parameters.
2. Find the process ID (PID) of the program moxattyd.
# ps -ef | grep moxattyd
3. Update the configuration of moxattyd program.
# kill -USR1 [PID]
(e.g., if moxattyd PID = 404, kill -USR1 404)
This completes the process of adding an additional server