User Manual

Table Of Contents
NPort W2250/2150 Plus User’s Manual Installing and Configuring the Software
6-15
Hardware Installation
Before proceeding with the software installation, make sure you have completed the hardware
installation, as described in an earlier chapter of this manual.
The default IP address of the Ethernet interface is 192.168.126.254 and the default IP address of
the WLAN interface is 192.168.127.254..
NOTE
After installing the hardware, you MUST configure the NPort operating mode to Real COM
Mode.
Installing the Driver File
a. Copy the driver file from the product’s CD-ROM or Moxa website.
b. Log in to the console as a super user (root).
c. Execute cd / to change to the root directory.
d. Copy the driver file npreal2xx.tgz to the “ / ” directory.
e. Execute tar xvfz npreal2xx.tgz to copy all files into the system.
f. Execute /tmp/moxa/mxinst.
NOTE
For RedHat AS/ES/WS and Fedora Core1, extra argument is needed: # /tmp/moxa/mxinst SP1
g. The shell script will install the driver files automatically.
After installing the driver, you will be able to see several files in the /usr/lib/npreal2/driver folder,
including:
> mxaddsvr (Add Server, map tty port)
> mxdelsvr (Delete Server, un-map tty port)
> mxloadsvr (Reload Server)
> mxmknod (Create device node/tty port)
> mxrmnod (Remove device node/tty port)
> mxuninst (Remove tty port and driver files)
At this point, you will be ready to map the NPort serial port to the system tty port. See “Mapping
TTY Ports” below for detailed instructions.
Mapping TTY Ports
Before mapping tty ports, you must set the operation mode of your NPort to Real Com Mode. We
provide two ways to map tty ports.
a. Mapping tty ports automatically
After logging in as a super user, enter the directory /usr/lib/npreal2/driver and then execute
mxaddsvr to map the target NPort serial port to the host tty ports. The syntax of mxaddsvr is:
mxaddsvr [NPort IP Address] [Total Ports] ([Data port] [Cmd port])
Example 1:
# cd /usr/lib/npreal2/driver
# ./mxaddsvr 192.168.3.4 16