EasyManuals Logo

Moxa Technologies NPort 5600-8-DT Series User Manual

Moxa Technologies NPort 5600-8-DT Series
112 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #96 background imageLoading...
Page #96 background image
NPort 5600-8-DT/DTL Series TTY Drivers for Linux and UNIX
11-3
The mxaddsvr command performs the following actions:
1. Modify npreal2d.cf.
2. Create TTY ports in directory /dev with major and minor number configured in npreal2d.cf.
3. Restart the driver.
Mapping TTY ports automatically
To map TTY ports automatically, you may execute mxaddsvr with just the IP address and number of ports, as
in the following example:
# cd /usr/lib/npreal2/driver
# ./mxaddsvr 192.168.3.4 16
In this example, 16 TTY ports will be added, all with IP 192.168.3.4, with data ports from 950 to 965 and
command ports from 966 to 981.
Mapping TTY ports manually
To map TTY ports manually, you may execute mxaddsvr and manually specify the data and command ports,
as in the following example:
# cd /usr/lib/npreal2/driver
# ./mxaddsvr 192.168.3.4 16 4001 966
In this example, 16 TTY ports will be added, all with IP 192.168.3.4, with data ports from 4001 to 4016 and
command ports from 966 to 981.
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:
1. Modify npreal2d.cf.
2. Remove the relevant TTY ports in directory /dev.
3. Restart the driver.
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 from the list for deletion.
Removing Linux Driver Files
A utility is included that will remove all driver files, mapped TTY ports, and unload the driver. Enter the directory
/usr/lib/npreal2/driver, 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.
www.ipc2u.ru
www.moxa.pro

Table of Contents

Other manuals for Moxa Technologies NPort 5600-8-DT Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moxa Technologies NPort 5600-8-DT Series and is the answer not in the manual?

Moxa Technologies NPort 5600-8-DT Series Specifications

General IconGeneral
BrandMoxa Technologies
ModelNPort 5600-8-DT Series
CategoryServer
LanguageEnglish

Related product manuals