User Manual
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Getting Started
- Chapter 3 Initial IP Configuration
- Chapter 4 Choosing the Proper Operation Mode
- Chapter 5 Web Console Configuration
- Chapter 6 Installing and Configuring the Software
- Appendix A SNMP Agents with MIB II & RS-232 Like Groups
- Appendix B Well Known Port Numbers
- Appendix C Federal Communication Commission Interference Statement
- Appendix D FCC Warning Statement
- Appendix E Service Information
NPort W2250/2150 Plus User’s Manual Installing and Configuring the Software
6-16
Example2:
# cd /usr/lib/npreal2/driver
# ./mxaddsvr 192.168.3.4 16 4001 966
In Example 1, 16 tty ports will be added, all with IP 192.168.3.4, but with data ports equal to (950,
951, …, 965), and command ports equal to (966, 967, 968, …, 981).
In Example 2, 16 tty ports will be added, all with IP 192.168.3.4, but with data ports equal to
(4001, 4002, …, 4016), and command ports equal to (966, 967, 968, …, 981).
b. Mapping tty ports manually
After entering the directory /usr/lib/npreal2/driver, you can modify npreal2d.cf to map NPort
serial ports to tty ports, and then execute mxloadsvr to activate the modifications.
The following tasks will be performed:
> Modify npreal2d.cf
> Create tty ports in the directory /dev with major & minor number configured in npreal2d.cf.
> Stop and then restart the driver.
Removing Mapped TTY ports
As with the “Mapping TTY Ports” task, we provide two ways to remove mapped tty ports:
a. Removing the mapped tty ports automatically
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]
Example:
# cd /usr/lib/npreal2/driver
# ./mxdelsvr 192.168.3.4
If you don’t include the IP address in the command line, a numbered list of IP addresses for servers
currently installed, along with the total number of ports for each server, will be listed on the screen.
To remove the tty ports for a particular server, type the number next to the server’s IP address and
then hit Enter. The following tasks will be performed:
> Modify the npreal2d.cf
> Remove the relevant tty ports in directory /dev
> Stop and then restart the driver.
b. Removing the mapped tty ports manually
After entering the directory /usr/lib/npreal2/driver, you can modify npreal2d.cf to delete servers
and ports manually, and then execute mxloadsvr to activate the modifications.
TTY Naming Rule
The tty name of the real tty driver is configured in npreal2d.cf. The pre-defined tty name is
ttyrXX, and the callout name is curXX. The naming convention is illustrated as follows:
NPort Server TTY Name Callout Name
1st (4port) ttyr00 – ttyr03 cur00 – cur03
2nd (8port) ttyr04 – ttyr0b cur04 – cur0b
3rd (16port) ttyr0c – ttyr1b cur0c – cur1b
4th (8port) ttyr1c – ttyr23 cur1c – cur23