User's Manual Part 2

NPort W2004 User’s Manual Installing and Configuring the Software
6-21
> Remove the relevant tty ports in directory /dev
> Stop and then restart the driver.
Driver Files Removal
Driver Removal will remove all driver files, mapped tty ports, and unload the driver. To do this,
you only need to enter the directory /usr/lib/npreal2/driver, and then execute mxuninst to
uninstall the driver. This program will perform the following actions:
> Unload the driver.
> Delete all files and directories in "/usr/lib/npreal2"
> Delete directory "/usr/lib/npreal2".
> Modify the system initializing script file.
Installing the fixed TTY driver
Installation and Configuration
step 1 : login to UNIX and create a directory for MOXA TTY,
for instance, /usr/etc.
# mkdir /usr/etc
# cd /usr/etc
step 2 : Extract source code from tar-file :
Type "tar xvf moxattyd.tar".
After extract, you can find the following files :
README --> this file
moxattyd.c --> source program
moxattyd.cf --> empty configuration file
Makefile --> makefile
step 3 : Compile and Link :
For SCO UNIX:
# make sco
For Linux:
# make linux
For UnixWare 7:
# make svr5
For UnixWare 2.1.x, SVR4.2:
# make svr42
For IBM AIX:
# make aix
For HP-UNIX:
# make hpunix
For SunOS 5.8:
# make sun
For QNX6:
# make qnx6
step 4 : Modify configuration :
The configuration of moxattyd program is defined on
"moxattyd.cf" file at the same directory where contains