Moxa Technologies NE-4100 Network Card User Manual


 
NE-4100 Series User’s Manual Linux and UNIX Configuration
8-4
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. This program will perform the following actions:
1. Unload the driver.
2. Delete all files and directories in /usr/lib/npreal2
3. Delete directory /usr/lib/npreal2
4. Modify the system initializing script file.
UNIX Fixed TTY Driver
Installing the UNIX Driver
The instructions for installing the UNIX driver are as follows:
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 --- 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