MiiNePort W1 Series
Removing Mapped TTY Ports
After logging in as root, enter the directory /usr/lib/npreal2/driver and then execute mxdelsvr to
delete a server. The syntax of mxdelsvr is:
mxdelsvr [IP Address]
Example:
# cd /usr/lib/npreal2/driver
# ./mxdelsvr 192.168.3.4
The following actions are performed when executing mxdelsvr:
npreal2d.cf is modified.
1.
2. Relevant tty ports in directory /dev are removed.
3. The driver is restarted.
If the IP address is not provided in the command line, the program will list the installed servers and total
ports on the screen. You will need to choose a server for deletion from the list.
Removing Linux Driver Files
A utility is included that 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. The following actions will be performed:
1. The driver is unloaded.
2. All files and directories in /usr/lib/npreal2 are deleted.
3. The directory /usr/lib/npreal2 is deleted.
4. The script file that initializes the system is modified.
The UNIX Fixed TTY Driver
Installing the UNIX Driver
1. Log in to UNIX and create a directory for the Moxa TTY. To create a directory named /usr/etc, execute
the command:
# mkdir –p /usr/etc
2. Copy moxattyd.tar to the directory you created. If you created the /usr/etc directory above, you
would execute the following commands:
# cp moxattyd.tar /usr/etc
# cd /usr/etc
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
--- source code
--- an empty configuration file
--- makefile
--- fixed tty driver version
6-10
Utility Console and Driver Installation