User's Manual
NPort W2150A/W2250A Series  Installing and Configuring the Software 
5-19 
  /search       Search the NPort and store the list to the memory. 
  /set          Specify the ID to set. Users must specify one of the searched 
    NPorts for further operations. The default is 1. 
 /port   Specify the NPort port number (PORT_NO) to set. 
  /password     Specify the password (CIPHER) if the NPort has one. 
  /network      Set to change the network settings. 
 /ip   Change the IP address (IP_ADDR) of NPort. 
  /mask         Change the subnet mask (SUBNET) of NPort. 
  /gateway      Change the IP address (IP_ADDR) of gateway. 
  /apply        Specify the ID to save changes and restart the NPort. 
 4. Examples 
    npcli /driver /install D:\Users\drvmgr_setup_Ver1.19.0_Build_15122492 
 npcli /driver /uninstall 
    npcli /driver /add 192.168.127.254 /port 1 /com 3 
    npcli /driver /add 192.168.127.254 /port 2 /com 4 /flush normal 
 npcli /device /search 
    npcli /device /set 1 /network /ip 192.168.10.7 /mask 255.255.255.0 
  /password moxa 
    npcli /device /apply 1 
Note:
  Npcli.exe requires an administrator privilege to change device settings. 
  It support only IPv4 and it must be run under Windows XP and later versions. 
Linux Real TTY Drivers 
Real TTY driver are provided that will map Linux host TTY ports to NPort serial ports. Once the mapping has 
been set up, Linux users and applications can connect to a serial port as if it were a local TTY port. These 
drivers have been designed and tested for the majority of Linux distributions, including Linux kernel version 
2.4.x, 2.6.x, and 3.x, 4.x. Please check http://www.moxa.com
 for the latest Linux kernel supported. 
Basic Steps 
Follow these instructions to map a TTY port to an NPort serial port: 
1. Install the NPort device server and set the target device port to Real COM mode. 
2. Install the Real TTY driver files on the Linux host. 
3. Map the host’s TTY port to the target device port on the NPort. 
Installing Linux Real TTY Driver Files 
Before proceeding with the software installation, make sure you have completed the NPort device server has 
been installed and configured correctly. Note that the default LAN IP address for the NPort is 
192.168.126.254, whereas the default WLAN IP address is 192.168.127.254.
ATTENTION 
The target serial port must be operating in Real COM mode in order to map TTY ports. 
1. Obtain the driver file from https://www.moxa.com/support/support_home.aspx?isSearchShow=1
.
2. Log in to the console as a super user (root). 
3. Execute cd / to go to the root directory. 










