background image

CN2510 Async Server User’s Manual 

Edition 7.0, January 2018 

www.moxa.com/product 

 

© 2018 Moxa Inc. All rights reserved. 

 

 

Summary of Contents for CN2510-16

Page 1: ...CN2510 Async Server User s Manual Edition 7 0 January 2018 www moxa com product 2018 Moxa Inc All rights reserved...

Page 2: ...to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa assumes no responsi...

Page 3: ...ing Your Application 3 1 Windows Real COM NT Real COM 3 2 Linux Real TTY Unix Fixed TTY NT Real COM 3 3 Device Control Device Control 3 4 UDP Communication Raw UDP 3 5 Console Management Reverse Termi...

Page 4: ...10 2 Selecting the Application 10 2 Configuring PPPD PPP Mode 10 4 Configuring SLIPD SLIP Mode 10 6 Configuring Dynamic Mode 10 8 Configuring the Serial Ports 10 12 Configuring Modem Initialization 1...

Page 5: ...How to Start MxNPortAPI 15 2 MxNPortAPI Function Groups 15 3 Example Program 15 3 A Troubleshooting A 1 Console Terminal Problems A 2 Terminal Port Problems A 4 How to Save CN2510 s Parameters A 4 AS...

Page 6: ...rver is used to connect terminals modems printers and other asynchronous serial devices to LAN hosts CN2510 complies with TCP IP and IEEE 802 3 specifications using standard Ethernet 10 100BaseT and t...

Page 7: ...k management Network protocols TCP IP UDP ICMP NetBEUI DHCP Application protocols Telnet Rlogin Rtelnet RAW TCP RAW UDP RCP WINS LPD DNS Multi Host Security protocols RADIUS Dial back PAP CHAP Local u...

Page 8: ...Indicates serial port transmission Serial Rx Yellow Indicates serial port reception Rear Panel Socket Port Description AC Power Input CN2510 8 and CN2510 8 Automatic detection of 100 240V 47 63 Hz AC...

Page 9: ...Connecting CN2510 8 16 48V s Power Grounding CN2510 8 16 48V Connecting to the Network Connecting to a Serial Device Connecting to the Console Port Accessing the Console Utility Configuration Checklis...

Page 10: ...inner holes available for other uses You have two options You can lock either the front or rear panel of the CN2510 to the front of the rack Locking the front panel is shown in the following figure Wi...

Page 11: ...s power cord to its terminal block follow the steps given below 1 Loosen the screws on the V and V terminals of CN2510 8 16 48V s terminal block 2 Connect the power cord s 48 VDC or 48 VDC wire to the...

Page 12: ...To connect to the console port use a PC running UNIX or a PC with terminal emulation software e g HyperTerminal or PComm by Moxa parameter settings are baud rate 115200 bps parity check None data bits...

Page 13: ...Once you know the IP address you can telnet CN2510 over the network to complete the configuration process and to gather information about all servers on the network 1 Run upgrade exe located in the S...

Page 14: ...hen use search to try locating the server again Using Telnet 1 Telnet over the network to the server s IP address 2 Type 1 to choose ansi vt100 and then press Enter Telnet 192 168 127 254 Async Server...

Page 15: ...Console from a Console Terminal If you do not know the CN2510 s IP address or it is not possible to use Telnet you can use a direct console connection to enter the CN2510 console Use a terminal emula...

Page 16: ...CN2510 Getting Started 2 8 3 Select the I Agree option and then click on Next 4 Select a directory in which to install the CN2510 Utility and then click on Next...

Page 17: ...CN2510 Getting Started 2 9 5 Click on Next to continue 6 Wait while the PComm Lite software is installed...

Page 18: ...nstallation is complete select Start Programs PComm Terminal Emulator to run PComm Terminal Emulator 9 Use an RJ45 to DB25 female cable to connect to the CN2510 console port Start PComm Terminal and t...

Page 19: ...COM2 in this example for console connection 115200 for Baud Rate 8 for Data Bits None for Parity and 1 for Stop Bits 11 Click on the Terminal tab and select VT100 for terminal type Press Enter to conf...

Page 20: ...om the SERVER MENU select Info and then press Enter CN2510 8 CN2510 8_5631 V2 0 SERVER MENU Info Lan Adv Host_table Route_table User_table Quit Examine modify async server basic configuration Enter se...

Page 21: ...not be found CN2510 sends a query to the Domain Name Server WINS function disable Enable or disable the WINS server The default setting is enable WINS server IP address If a WINS Server is connected t...

Page 22: ...integer The default value is 192 168 127 254 Async server IP netmask A netmask is used to group network hosts into subnets CN2510 sends TCP IP packets directly to hosts that are on the same subnet If...

Page 23: ...S key This is a shared key used by the RADIUS protocol If you have a RADIUS server you will need to enter the password in this field UDP port 1 1645 2 1812 RADIUS originally used port 1645 but more re...

Page 24: ...sses Adding entries to this table gives you the advantage of being able to refer to a host by name instead of by IP address The host table can hold up to 16 Host name Host IP address entries The Host_...

Page 25: ...m the MAIN MENU use the arrow keys to select Server and then press Enter CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table conf...

Page 26: ...631 V2 0 Server Port seTting sAve Utility Restart Exit Save current configuration to Flash ROM ESC back to menu Enter select Enter to updated other key to cancel Restart 1 From the MAIN MENU select Re...

Page 27: ...by using different combinations of operation modes on the same Async Server NOTE Each section title consists of an application name that uses terminology common to our industry followed in parentheses...

Page 28: ...vered to serial device s connected to CN2510 s serial port s 1 A serial device connected to CN2510 starts transmitting serial data 2 CN2510 converts the data into one or more Ethernet packets 3 The pa...

Page 29: ...ng CN2510 to access serial devices over an Ethernet network but without needing to modify the software currently in use Moxa also provides Fixed TTY port drivers for Unix environments However the Linu...

Page 30: ...mission directly set CN2510 for TCP RAW mode Device control applications can use standard Linux Unix Socket programming in Linux Unix environments or WinSock programming in Windows environments Standa...

Page 31: ...ity is sacrificed for higher transmission speed UDP provides a very powerful transmission method when data needs to be transmitted quickly over the network and upper level application software is give...

Page 32: ...port for network hosts to initiate a connection RAW mode however does not provide a Telnet conversion function If the serial devices connected to CN2510 need to use the CR LF conversion function then...

Page 33: ...ts at a remote site with terminal commands transmitted over the network via CN2510 s Ethernet port The Terminal Access application allows you to use fast keys used in many terminal applications and sw...

Page 34: ...ust first enable Moxattyd to activate the TTY port s mapping function Moxattyd will initiate the connection with the CN2510 and the CN2510 will listen to the connection requests issued by various Moxa...

Page 35: ...legal access to the network by verifying the user s identity with its Local User Table or RADIUS CN2510 supports PPP SLIP and Terminal modes for dial up dial out access Regardless of which OS is used...

Page 36: ...xchange services with huge printing demands Use a Windows or Unix host s network printer function via RAW mode and assign a specific IP address and TCP port number to specify the printer s location Yo...

Page 37: ...multiplex solutions use CN2510 s RTelnet and terminal modes eliminating the need to modify existing software CN2510 acts like a converter by extending the communication distance CN2510s work in pairs...

Page 38: ...pplications to make the serial ports accessible over an Ethernet but without the need to modify existing serial transmission software The Real COM driver provided by Moxa lets users treat networked se...

Page 39: ...8 127 254 CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keys...

Page 40: ...Enter CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application ption more setting 01 NT Real COM Dis...

Page 41: ...ach item is described in detail below the figure CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Applic...

Page 42: ...igure CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify asynchronous port configuration ESC back to menu Enter select Port Speed Bits Stop Parity FIFO RTS CTS XON XOFF Discon...

Page 43: ...to save and any other key to cancel CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Save current configuration to Flash ROM ESC back to menu Enter select Enter to u...

Page 44: ...his section we explain how to set up Windows hosts Setting up Windows XP 2003 Hosts In this section we use Windows XP to illustrate the installation procedure The installation procedure for Windows 20...

Page 45: ...Y Unix Fixed TTY 4 8 4 Wait patiently while the Wizard searches for servers connected to the network 5 The next window to open will ask you if the hardware is connected Select Yes I have already conne...

Page 46: ...inux Real TTY Unix Fixed TTY 4 9 6 Select Add a new hardware device and then click on Next to continue 7 Select Install the hardware that I manually select from a list Advanced to install the hardware...

Page 47: ...ens next will ask you to select the type of hardware you are installing Select Multi port serial adapters and then click on Next to continue 9 The window that opens next will ask you to select the dev...

Page 48: ...dows Real COM Linux Real TTY Unix Fixed TTY 4 11 10 Locate and then select the driver file NPSERVER INF Click on Open to proceed with the installation 11 Select the correct CN2510 model and then click...

Page 49: ...r copies of the CN2510 model you selected in the previous step 13 Although the next window to open states that the software hasn t passed Windows Logo testing you can rest assured that this driver has...

Page 50: ...ed automatically or select Manually Enter the IP address of NPort Server Async Server and then enter the IP address of a different server Click on Next to finish installing the CN2510 driver 16 The ne...

Page 51: ...llation of the server driver This will automatically trigger the port installation procedure Installing Ports 1 After the CN2510 server driver has been installed Windows will notify you that new hardw...

Page 52: ...ion in the search and then click on Next to continue 3 Although the next window to open states that the software hasn t passed Windows Logo testing you can rest assured that this driver has already be...

Page 53: ...nux Real TTY Unix Fixed TTY 4 16 4 The driver for Moxa Port 0 will be installed 5 After Moxa Port 0 is installed steps 1 to 4 will be repeated 7 or 15 times depending on whether you are installing dri...

Page 54: ...ully Configuring CN2510 in a Windows XP 2003 Environment After the CN2510 driver is installed you will be given the option to proceed directly with the configuration of CN2510 You may also configure C...

Page 55: ...CN2510 Setting Up Windows Real COM Linux Real TTY Unix Fixed TTY 4 18 2 Click on the Configuration tab 3 Click on Settings to configure CN2510 s Basic Configuration Password and Access Control...

Page 56: ...age modify Server Name IP Address Netmask and Gateway Check the DHCP checkbox if the network parameters will be assigned automatically by a DHCP server 5 On the Password page add a password or change...

Page 57: ...by IP address In the example shown here the netmask of 255 255 255 255 limits access to the listed IP address 192 168 6 16 To allow access to a group of IP addresses adjust the netmask accordingly To...

Page 58: ...l COM Linux Real TTY Unix Fixed TTY 4 21 8 Click on Ports Setting to configure the data transmission mode and FIFO for each COM port 9 Check the box es next to the port s you would like to modify and...

Page 59: ...changed and then click on OK Setting up Windows 2000 Hosts In this section we explain how to set up a host in a Windows 2000 environment Installing a Server 1 Unzip the Windows 2000 driver file locat...

Page 60: ...COM Linux Real TTY Unix Fixed TTY 4 23 3 When the Welcome to the Add Hardware Wizard window opens click on Next to continue 4 In the Choose a Hardware Task window select Add Troubleshoot a device and...

Page 61: ...TTY Unix Fixed TTY 4 24 5 In the Choose a Hardware Device window select Add a new device and then click on Next to continue 6 In the Find New Hardware window select No I want to select the hardware f...

Page 62: ...ux Real TTY Unix Fixed TTY 4 25 7 In the Hardware Type window select Multi port serial adapters from the Hardware types list and then click on Next to continue 8 Click on Have Disk to install from the...

Page 63: ...p Windows Real COM Linux Real TTY Unix Fixed TTY 4 26 9 After locating the win2k folder select the driver file NPSERVER INF and then click on Open 10 Select the correct CN2510 model and then click on...

Page 64: ...ically search the network for copies of the CN2510 model you selected in the previous step 12 Although the next window to open states that the software hasn t passed Windows Logo testing you can rest...

Page 65: ...Unix Fixed TTY 4 28 13 You can select the CN2510 that was located automatically or select Manually Enter the IP address of NPort Server Async Server and then enter the IP address of a different server...

Page 66: ...Fixed TTY 4 29 14 The next window reports that the driver was installed and port drivers will be installed next Click on Next to continue Installing Ports 1 The ports will be installed automatically...

Page 67: ...sfully Configuring CN2510 in a Windows 2000 Environment After the CN2510 driver is installed you will be given the option to proceed directly with the configuration of CN2510 You may also configure CN...

Page 68: ...CN2510 Setting Up Windows Real COM Linux Real TTY Unix Fixed TTY 4 31 2 Click on the Configuration tab 3 Click on Settings to configure CN2510 s Basic Configuration Password and Access Control...

Page 69: ...page modify Server Name IP Address Netmask and Gateway Check the DHCP checkbox if the network parameters are assigned automatically by a DHCP server 5 On the Password page add a password or change th...

Page 70: ...igned by IP address In the example shown here the netmask of 255 255 255 255 limits access to the listed IP address 192 168 6 16 To allow access to a group of IP addresses adjust the netmask according...

Page 71: ...Setting Up Windows Real COM Linux Real TTY Unix Fixed TTY 4 34 8 Click on OK to return to the Configuration page 9 Click on Ports Setting to configure the data transmission mode and FIFO for each COM...

Page 72: ...Setting 11 Modify the settings that need to be changed and then click on OK Setting up Windows 95 98 ME NT Hosts In this section we explain how to set up a host in a Windows 95 98 ME NT environment Yo...

Page 73: ...98 ME NT driver file located on the CN2510 CD ROM to your hard disk 2 Locate and run the Setup exe file 3 The setup program is used for both CN2500 and NPort Server Pro products so you will see a Welc...

Page 74: ...lect a Destination Directory and then click on Next to continue 6 Click on Next to finish installing NPort Pro Manager 7 After the driver is installed NPort Pro Manager and the Add Server Wizard will...

Page 75: ...Y 4 38 8 Select one of the server s in the list or select No I will define the server myself if the correct server is not listed Click on Next to continue 9 If necessary enter a different IP address i...

Page 76: ...39 10 Select the COM number for CN2510 s port 1 The rest of the ports will be mapped automatically Click on Next to continue 11 For added security set a password for the CN2510 Check the Auto Saved b...

Page 77: ...4 40 12 Check the new server settings to make sure they are correct and then click on Finish 13 The server and ports will be displayed in the NPort Server Manager window Click the Save icon in the up...

Page 78: ...CN2510 or configure CN2510 at a later time In this section we explain how to configure Real COM Mapping 1 Start the Manger by clicking on Start Properties NPort Server NPort Server Manager and then cl...

Page 79: ...odify Server Name Server IP and Netmask Select the Enable option to the right of DHCP if the network parameters are assigned automatically by a DHCP server 4 On the Password page set up a password for...

Page 80: ...s Control page allows you to set up access rights for each of the CN2510 s ports Access right is assigned by IP address 6 The Transmission page lets you to select a Transmission Mode and Tx FIFO for e...

Page 81: ...ting Up Windows Real COM Linux Real TTY Unix Fixed TTY 4 44 8 The Advanced page allows you to add routes to CN2510 However since CN2510 has a column to set the Default Gateway you can ignore this conf...

Page 82: ...so use ASPP mode provided exclusively by Moxa to communicate with CN2510 For both Linux Unix Socket programming and Windows WinSock programming IP is used to communicate between hosts and devices At t...

Page 83: ...CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keystrokes to navigate...

Page 84: ...keys to select Device Control and then press Enter CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port App...

Page 85: ...ing data from the serial device Follow these steps to configure ports for ASPP mode 1 Move the cursor to the Mode column for the port and press Enter CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcom...

Page 86: ...e modify the operation mode of async ports ESC back to menu Enter select Port Application Mod 01 NT Real COM AS TCP data port 950 02 NT Real COM AS TCP command port 966 03 NT Real COM AS TCP alive che...

Page 87: ...ync Server Proprietary Protocol 02 NT Real COM ASPP Async Server Proprietary Protocol 03 NT Real COM ASPP Async Server Proprietary Protocol 04 NT Real COM ASPP rver Proprietary Protocol 05 NT Real COM...

Page 88: ...From the MAIN MENU select Port and then press Enter CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server ports configuration Enter select ES...

Page 89: ...ble Route_table User_table Quit Examine modify async server basic configuration Enter select ESC previous menu Warning You had modified the configuration without saving Would you save it now Y yes N n...

Page 90: ...baud rate parity etc 5 sio_baud fd baud mode configure serial port s baud rate 6 sio_flowctrl fd mode configure hardware and or software flow control 7 sio_lctrl fd mode line control 8 sio_lstatus fd...

Page 91: ...ding the file name and other variables ASPP Examples for Windows 1 Program testing environment 2 This program works like a dumb terminal It sends all characters pressed on the keyboard to a remote con...

Page 92: ...retransmit packets when data is missing UDP is an ideal transmission method if you need fast data transmission and upper layer application software is given the task of checking data for transmission...

Page 93: ...CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keystrokes to navigate...

Page 94: ...ss Enter CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application ption more setting 01 NT Real COM...

Page 95: ...e figure Begin End Port serial to LAN Dest IP addr 1 Dest IP addr 2 Dest IP addr 3 Dest IP addr 4 LAN to serial Src IP addr 1 Src IP addr 2 Src IP addr 3 Src IP addr 4 Local Listen Port Delimiter 1 He...

Page 96: ...d the time required to transfer one character is 10 bits 1200 bits s 1000 ms s 8 3 ms Therefore you should set the Force Transmit timeout to be greater than 8 3 ms The Force Transmit timeout is specif...

Page 97: ...otes Speed 50 bps to 921 6 Kbps Transmission rate Bits 5 6 7 8 Data bits Stop 1 1 5 2 Stop bits Parity None Even Odd Mark Space Odd Even Mark Space FIFO Yes No First In First Out Device RTS CTS Yes No...

Page 98: ...r to updated other key to cancel Restart 1 From the MAIN MENU select Restart CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Restart the whole system or selected as...

Page 99: ...ow how to use CN2510 to connect terminals to a computer over an Ethernet network The following topics are covered in this chapter Accessing the Console Utility Selecting the Application Configuring RT...

Page 100: ...CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keystrokes to navigate...

Page 101: ...the operation mode of async ports ESC back to menu Enter select Port Application ption more setting 01 NT Real COM Disable Server Proprietary Protocol 02 NT Real COM Dialin out Server Proprietary Prot...

Page 102: ...ure TCP port 4006 Source IP address Destination IP addr Inactivity time 0 minutes Map keys CR LF to CR LF Authentication type none TCP alive check time 0 minutes Setting Value Notes Necessity TCP port...

Page 103: ...s for Port Speed Bits Stop Parity FIFO RTS CTS XON XOFF and Discon ctrl for each serial port Each item is described in detail below the figure CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Q...

Page 104: ...other key to cancel CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Save current configuration to Flash ROM ESC back to menu Enter select Enter to updated other ke...

Page 105: ...es are supported ASCII terminal with up to 8 simultaneous sessions and Binary terminal with one session for one user Terminals can be connected directly to one of CN2510 s RS 232 ports or connected fr...

Page 106: ...CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keystrokes to navigate...

Page 107: ...sync ports ESC back to menu Enter select Port Application ption more setting 01 NT Real COM Disable Server Proprietary Protocol 02 NT Real COM Dialin out Server Proprietary Protocol 03 NT Real COM Ter...

Page 108: ...mode of async ports ESC back to menu Enter select Port Application Mode Description more setting 01 NT Real COM ASPP Async Server Proprietary Protocol 02 NT Real COM ASPP Async Server Proprietary Pro...

Page 109: ...gram termination Optional Auto link protocol None Telnet Rlogin None Do not connect to the host automatically Telnet Connects to the host automatically by Telnet Rlogin Connects to the host automatica...

Page 110: ...rsor to the Mode column for the port and press Enter CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Ap...

Page 111: ...k by input IP Disable Secondary host IP Auto login prompt ogin Password prompt assword Login user name Login password Terminal type ansi Inactivity time 0 minutes Authentication type local TCP alive c...

Page 112: ...uired local Check the ID stored in the User_table defined under the SERVER MENU Server Check the ID with the external RADIUS server Refer to Appendix C for RADIUS installation information Optional TCP...

Page 113: ...Notes Speed 50 bps to 921 6 Kbps Transmission rate Bits 5 6 7 8 Data bits Stop 1 1 5 2 Stop bits Parity None Even Odd Mark Space Odd Even Mark Space FIFO Yes No First In First Out Device RTS CTS Yes N...

Page 114: ...er to updated other key to cancel Restart 1 From the MAIN MENU select Restart CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Restart the whole system or selected a...

Page 115: ...e the connection with the CN2510 and the CN2510 will listen on different TCP ports for connection requests from various Moxattyd Once a connection is established the Terminal server can use hot keys t...

Page 116: ...CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keystrokes to navigate...

Page 117: ...8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application ption more setting 01 NT Real COM Disable Server Proprietar...

Page 118: ...Each item is described in detail below the figure Max Sessions 8 Terminal model no VT100 Inactivity time 0 minutes TCP alive check time 0 minutes Session Hot key TCP port Remote IP address 1 A 4001 2...

Page 119: ...gure CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify asynchronous port configuration ESC back to menu Enter select Port Speed Bits Stop Parity FIFO RTS CTS XON XOFF Discon...

Page 120: ...other key to cancel CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Save current configuration to Flash ROM ESC back to menu Enter select Enter to updated other key...

Page 121: ...d c Configuring tty Redirection The following example illustrates how to map and redirect a tty device to a MOXA CN2510 serial port Use vi or any other text editor to add or modify entries in the file...

Page 122: ...t Applications This section illustrates how to use MOXATTY with a number of different applications Terminal Access To use terminal access the process getty must be activated when the system boots up T...

Page 123: ...quired to enable your applications to open tty devices Using Moxatty Starting MOXATTY Once you have completed the above settings you can start Follow the steps given below to ensure that MOXATTY is ru...

Page 124: ...out Access allows LAN hosts to establish connections to other sites The following topics are covered in this chapter Accessing the Console Utility Selecting the Application Configuring PPPD PPP Mode...

Page 125: ...CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keystrokes to navigate...

Page 126: ...N2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application ption more setting 01 NT Real COM Disable Server Prop...

Page 127: ...Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application Mode DYNAMIC on more setting 01 NT Real COM ASPP PPP rver Proprietary Proto...

Page 128: ...k IP netmask CN2510 automatically assigns the netmask 255 255 255 255 We recommend leaving this space blank Optional TCP IP compression Yes No Depends on whether the remote user s application requests...

Page 129: ...ration mode of async ports ESC back to menu Enter select Port Application Mode DYNAMIC on more setting 01 NT Real COM ASPP PPP rver Proprietary Protocol 02 NT Real COM ASPP PPPD rver Proprietary Proto...

Page 130: ...k IP netmask CN2510 automatically assigns the netmask 255 255 255 255 We recommend leaving this space blank Optional TCP IP compression Yes No Depends on whether the remote user s application requests...

Page 131: ...2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application Mode DYNAMIC on more setting 01 NT Real COM ASPP PPP r...

Page 132: ...nal 5 To configure the TERM_BIN mode parameters move the cursor to the Detail setting column to highlight Description more setting and then press Enter Enable Detail setting TERM_BIN mode yes Term par...

Page 133: ...o login prompt ogin Send ID information when this prompt is received Optional Password prompt assword Send Password information when this prompt is received Optional Login user name Login ID Optional...

Page 134: ...pplication requests compression Optional Inactivity time 0 99 minutes Idle time before the port is disconnected automatically If set to 0 minutes the port will not disconnect Optional Link quality rep...

Page 135: ...s configuration Enter select ESC previous menu 2 From the PORT MENU select Mode and then press Enter CN2510 8 CN2510 8_5631 V2 0 PORT MENU Mode Line mOdem Welcome_MSG Quit Examine modify asynchronous...

Page 136: ...Enter CN2510 8 CN2510 8_5631 V2 0 PORT MENU Mode Line mOdem Welcome_MSG Quit Modem initialization and dial out setting Enter select ESC previous menu 3 The Modem page has input display fields for Enab...

Page 137: ...o edit the welcome message 4 Press Esc to return to the PORT MENU Configuring Optional Local User Information Open Server Menu User_Table to configure local user authentication information If you set...

Page 138: ...N MENU Save When exiting the SERVER MENU you will be prompted to save settings Press Y to save CN2510 8 CN2510 8_5631 V2 0 SERVER MENU Info Lan Adv Host_table Route_table User_table Quit Examine modif...

Page 139: ...rt the whole system or selected async ports Enter select ESC previous menu 2 Select System and then press Enter to restart the system and terminate the Telnet session CN2510 8 CN2510 8_5631 V2 0 Syste...

Page 140: ...inting is illustrated for both UNIX and Windows systems The following topics are covered in this chapter Accessing the Console Utility Selecting the Application Configuring RAW PRN Mode Configuring LP...

Page 141: ...8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Examine modify async server node table configuration Enter select ESC previous menu Use the following keystrokes to naviga...

Page 142: ...r to confirm CN2510 8 CN2510 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application ption more setting 01 NT Real...

Page 143: ...c Server Proprietary Protocol 03 NT Real COM ASPP Async Server Proprietary Protocol 04 NT Real COM ASPP rver Proprietary Protocol 05 NT Real COM ASPP RAW PRN rver Proprietary Protocol 06 Printer RAW P...

Page 144: ...0 8_5631 V2 0 Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async ports ESC back to menu Enter select Port Application Mode Description more setting 01 NT Real COM ASPP Async S...

Page 145: ...elow the figure Queue name RAW Queue name ASCII Append Form Feed Disable TCP alive check time 0 minu Setting Value Notes Necessity Queue name RAW Text Specify print queue s name in RAW mode Fixed Queu...

Page 146: ...Notes Speed 50 bps to 921 6 Kbps Transmission rate Bits 5 6 7 8 Data bits Stop 1 1 5 2 Stop bits Parity None Even Odd Mark Space Odd Even Mark Space FIFO Yes No First In First Out Device RTS CTS Yes N...

Page 147: ...Select System and then press Enter to restart the system and terminate the Telnet session CN2510 8 CN2510 8_5631 V2 0 System Port Quit Restart the Async Server ESC back to menu Enter select Warning Re...

Page 148: ...name usr lib lpadmin pLaser1 v dev iop1 Redirect the printer spooler to write to pipe iop1 Assumes the printer name is Laser1 execute asprint for Group 01 asprint dev iop1 CN2510 IP address 2048 Start...

Page 149: ...600 or rw set printer name usr lib lpadmin pLaser1 v dev iop1 Redirect the printer spooler to write to pipe iop1 Assumes the printer name is Laser1 execute asprint for Group 01 asprint dev iop1 CN2510...

Page 150: ...ib lpadmin pLaser1 v dev iop1 Redirect the printer spooler to write to pipe iop1 Assumes the printer name is Laser1 add one line to etc printcap file Laser1 lp dev iop1 sd u sr spool Laser1 make spool...

Page 151: ...to a CN2510 Async Server Setting up a Windows NT Host 1 First you need to add TCP IP printing service to your Windows NT 2 Go to Start Settings Control Panel Network Click on the Services tab and the...

Page 152: ...Up Printer 11 13 7 Click on Start Settings Printers 8 Click on Add Printer to start the Add Printer Wizard 9 Select My Computer and then click on Next to continue 10 In the window that opens next cli...

Page 153: ...er CN2510 s IP Address and then enter the Print Queue s name Click on OK to continue 13 Select logical printer port for the LPR port you just added The LPF port should be the IP address of the port 14...

Page 154: ...Select Shared when prompted with questions asking if the printer is to be shared or not and then enter the name of the shared printer 17 Print a test page to verify that the printer is configured cor...

Page 155: ...ter 11 16 3 A Welcome message will appear Click on Next to continue 4 Select Local printer and click on Next to continue 5 Select Create a new port and then select LPR Port from the drop down list Cli...

Page 156: ...nd then enter the Print Queue s name Click on OK to continue 7 Select the printer s manufacturer and model name Click on Next to continue 8 Enter the printer s name and select yes if you wish to set t...

Page 157: ...s asking if the printer is to be shared or not and then enter the name of the shared printer Click on Next to continue 10 You will need to reboot Windows 2000 to enable the printer you just added When...

Page 158: ...CN2510 Setting Up Printer 11 19 11 If you want to print a test page reboot Windows 2000 select this printer and click on Print Test Page...

Page 159: ...ost with a multi port serial board and several serial lines and the other connected to external devices In this way the original host can use a TCP IP connection to control serial devices from a remot...

Page 160: ...127 254 Async Server CN2510 8 Console terminal type 1 ansi vt100 2 vt52 1 3 CN2510 s MAIN MENU will open as shown below Telnet 192 168 127 254 CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTtin...

Page 161: ...510 s to illustrate NOTE Configure the Host CN2510 s serial ports for RTELNET mode and configure the Device CN2510 s serial ports for TERM_BIN mode Configuring the Host CN2510 Open Port Menu Mode to s...

Page 162: ...out Server Proprietary Protocol 03 NT Real COM Terminal Server Proprietary Protocol 04 NT Real COM Reverse Terminal Server Proprietary Protocol 05 NT Real COM Device Control Server Proprietary Protoc...

Page 163: ...of CN2510 s serial ports is mapped to a TCP port To avoid conflicts with the TCP port numbers for CN251 s other serial ports use the default values 4001 for port 1 4002 for port 2 etc Required Source...

Page 164: ...Enter select ESC previous menu 2 From the PORT MENU select Mode and then press Enter CN2510 8 CN2510 8_5631 V2 0 PORT MENU Mode Line mOdem Welcome_MSG Quit Examine modify the operation mode of async p...

Page 165: ...mode of async ports ESC back to menu Enter select Port Application Mode Description more setting 01 NT Real COM ASPP Async Server Proprietary Protocol 02 NT Real COM ASPP Async Server Proprietary Pro...

Page 166: ...al COM ASPP Async Server Proprietary Protocol 05 NT Real COM ASPP Async Server Proprietary Protocol 06 Multiplex TERM_BIN Binary Terminal mode 1 session 07 NT Real COM ASPP Async Server Proprietary Pr...

Page 167: ...TCP port 23 By default the Telnet TCP port number is set to 23 which is the default TCP port number for Telnet If you need to telnet to this CN2510 serial port set the Telnet TCP port to a different n...

Page 168: ...cription more setting 01 NT Real COM ASPP Async Server Proprietary Protocol 02 NT Real COM ASPP Async Server Proprietary Protocol 03 NT Real COM ASPP Async Server Proprietary Protocol 04 NT Real COM A...

Page 169: ...Notes Speed 50 bps to 921 6 Kbps Transmission rate Bits 5 6 7 8 Data bits Stop 1 1 5 2 Stop bits Parity None Even Odd Mark Space Odd Even Mark Space FIFO Yes No First In First Out Device RTS CTS Yes...

Page 170: ...ter to updated other key to cancel Restart 1 From the MAIN MENU select Restart CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Restart the whole system or selected...

Page 171: ...dresses with next hops and 2 routing protocols must determine the contents of these tables CN2510 provides easy to use routing functions that support both static routing tables and dynamic RIP1 RIP2 r...

Page 172: ...or Select item Enter Key Return to previous menu or Close pop up selector Esc Key Shortcut Key Capitalized letter of the word What is RIP RIP Routing Information Protocol is a protocol used widely to...

Page 173: ...evious menu 2 From the SERVER MENU select Adv and then press Enter CN2510 8 CN2510 8_5631 V2 0 SERVER MENU Info Lan Adv Host_table Route_table User_table Quit Examine modify async server advance confi...

Page 174: ...able Quit Examine modify async server advance configuration Enter select ESC previous menu 3 Use the tab and arrow keys to move the cursor to configure Gateway Destination Netmask and Metric Each item...

Page 175: ...nd send the datagram to the default next hop router 203 67 6 254 In this case we should add the default gateway IP address 203 67 6 254 to the routing table as shown in the following figure to handle...

Page 176: ...ated outside network 203 67 6 In this case add a route entry for the next hop router 203 67 6 252 that delivers requests to network 202 65 66 The metric hop in this case is 2 route hops CN2510 8 CN251...

Page 177: ...er 203 67 6 254 as the next hop router For this example assume that the PPP source and destination IPs of modems 1 2 3 and 4 are Source IP Destination IP Source IP Destination IP Modem 1 203 67 6 250...

Page 178: ...er key to cancel CN2510 8 CN2510 8_5631 V2 0 MAIN MENU Server Port seTting sAve Utility Restart Exit Save current configuration to Flash ROM ESC back to menu Enter select Enter to updated other key to...

Page 179: ...tor Network Monitor Async Monitor Routing and Monitor PPP Trace The following topics are covered in this chapter Ping Monitor Line Network Async Routing PPP Trace Diagnostic Upgrade Upgrading with the...

Page 180: ...pgrade Quit Ping a host ESC back to menu Enter select Press ESC to cancel PING 192 168 1 3 56 data bytes 64 bytes from 192 168 1 3 icmp_seq 0 time 0 ms 64 bytes from 192 168 1 3 icmp_seq 1 time 0 ms 6...

Page 181: ...he status of each port CN2510 8 CN2510 8_5631 V2 0 Line Network Async async Setting Routing PPP Trace Quit Monitor asynchronous port connective utilization ESC back to menu Enter select Port Type Idle...

Page 182: ...ts Sent Sent IP datagram packets SDiscard Sent but discarded IP datagram packets IP statistics Received Received IP datagram packets RDiscard Received but discarded PPP datagram packets ErrHeader Rece...

Page 183: ...8 CN2510 8_5631 V2 0 Line Network Async async Setting Routing PPP Trace Quit Monitor asynchronous port line status ESC back to menu Enter select Port TXTotalCnt RxTotalCnt TXBuf RXBuf TXAvg RXAvg DTR...

Page 184: ...th0 192 168 0 0 192 168 2 180 255 255 0 0 1 U 389 lo17 192 168 2 180 0 UH Iface Name of the physical network interface Destination Network or host that the router allows you to connect to Gateway IP A...

Page 185: ...r selecting the ports that need monitoring press Space to start CN2510 8 CN2510 8_5631 V2 0 Line Network Async async Setting Routing PPP Trace Quit Trace PPP protocol connect messages ESC back to menu...

Page 186: ...OK Asynchronous port loopback test OK Ethernet port controller test OK Ethernet port 1 controller loopback test OK Ethernet port 1 transceiver loopback test OK 3 Press Esc to restart the system Upgra...

Page 187: ...t the CN2510 server by clicking the button on the toolbar If the CN2510 server is at a remote site use to add it to the list 3 Specify the new firmware file used to upgrade Click on OK to start 4 When...

Page 188: ...puter install PComm Lite from the CN2510 CD and then run the program 2 Use an RJ45 DB9 female cable to connect to the console port and then turn on CN2510 Start the PComm Terminal program and then ope...

Page 189: ...enter the MAIN MENU 6 Use the following keystrokes to navigate CN2510 s console utility Action Key Move Up Down Left Right Arrow Key or Tab Key Jump to next menu or Select item Enter Key Return to pre...

Page 190: ...2 From the UTILITY MENU select Upgrade and then press Enter 3 Select Console port using XMODEM for Upgrade type and then press Ctrl U to start 4 When you see Start loading file near the bottom of the...

Page 191: ...e menu bar 6 In the File Transfer window select XModem CheckSum for Protocol and Transmit for Direction and then click on OK The file will be transmitted to the CN2510 7 Locate the upgrade file CN2510...

Page 192: ...user s home directory and must be owned by that user This file identifies those users who are equivalent to the local user and are given access without needing to enter a password NOTE The file must...

Page 193: ...via Console port Network host using RCP Host name IP address File name User name Press CTRL U to start 7 In Host name IP address enter the IP address of the UNIX LINUX host 8 In File name enter the C...

Page 194: ...es of exported file settings Console Terminal or Remote RCP Console Terminal Export 1 Run Start Programs PComm Terminal Emulator Follow the steps given earlier to enter the MAIN MENU 2 From the MAIN M...

Page 195: ...near the bottom of the screen click on the Port Manager menu 6 Select Port Manager File Transfer from the menu 7 In the File Transfer window select XModem CheckSum for Protocol and Receive for Directi...

Page 196: ...our etc hosts file in the rhosts file 3 Telnet CN2510 s IP address 4 After entering CN2510 s MAIN MENU select setting Export 5 In the Export via column select Network host using RCP 6 Enter the UNIX L...

Page 197: ...ile Console Terminal or Remote RCP Console Terminal Import 1 Run Start Programs PComm Terminal Emulator Follow the steps given earlier to enter the MAIN MENU 2 From the MAIN MENU select seTting and th...

Page 198: ...ar the bottom of the screen click on the Port Manager menu 6 Select Port Manager File Transfer from the menu 7 In the File Transfer window select XModem CheckSum for Protocol and Transmit for Directio...

Page 199: ...r etc hosts file in the rhosts file 3 Telnet CN2510 s IP address 4 After accessing CN2510 s MAIN MENU select seTting Import In Import via column select Network host using RCP 5 Enter the UNIX LINUX ho...

Page 200: ...configuration Enter select ESC previous menu 2 From the SETTING MENU select Default and then press Enter CN2510 8 CN2510 8_5631 V2 0 SETTING MENU Export Import Default Quit Load the factory setting E...

Page 201: ...15 15 Android API Instructions The following topics are covered in this chapter Overview How to Start MxNPortAPI MxNPortAPI Function Groups Example Program...

Page 202: ...ease refer the MxNPortAPI Function Groups section This MxNPortAPI is layered between the Android application and Android network manager framework This Android library is compatible with Java 1 7 Andr...

Page 203: ...tRTS setDTR flush read write getBaud getFlowCtrl getIoctlMode getLineStatus getModemStatus getOQueue setBreak Example Program To make sure this API is workable with the device server on an Android pla...

Page 204: ...t STOP_BITS_1 MxNPort mxNPort NPortList get 0 Get first NPort device try byte buf H e l l o W o r l d mxNPort open open port mxNPort setIoctlMode mode serial parameters setting mxNPort write buf buf l...

Page 205: ...to various problems you may come across when using CN2510 The following topics are covered in this appendix Console Terminal Problems Terminal Port Problems How to Save CN2510 s Parameters ASPP Port...

Page 206: ...he display Question How can I restore CN2510 to the factory default settings Solution After entering the Console window select setting Default and then press Enter The CN2510 will be restored to the f...

Page 207: ...y now Question My application involves connecting the console port of a CISCO router switch to a Moxa Async Server serial port I connect to the CISCO router switch console by Telnet over the network f...

Page 208: ...TS CTS hardware flow control then the RTS CTS pins should be included In this case a cable with only TxD RxD and GND pins will not work The terminal may be unlocked by pressing Ctrl S Hex Code 0x13 if...

Page 209: ...trol then the RTS CTS pins should be included In this case cables with only pins 2 3 and 7 will not work Make sure there is no getty or other process using the SLIP port on the remote site RADIUS Prob...

Page 210: ...lar line to the shell program mk_radius at read_os 1 For example they might appear as follows read_os case ans in 1 clear mk_src echo enter lib directory cd lib echo compiling source program make cd e...

Page 211: ...rifying user name and password as well as configuring information which details the type of service to deliver to the user for example SLIP PPP Telnet rlogin Moxa CN2510 Async Server supports RADIUS p...

Page 212: ...s to maintain a single central database against which all remote user authentication takes place This greatly eases the management burden associated with administering large numbers of Dial in users C...

Page 213: ...UDP port 1 1645 2 1812 1 Enable RADIUS accounting no SNMP community name public SNMP trap server IP address Ethernet IP forwarding no None Routing protocol None RIP 1 RIP 2 TCP retransmission timeout...

Page 214: ...uto Term SLIP PPP identification 04 Dialin out DYNAMIC Auto Term SLIP PPP identification Enable Detail setting TERM_BIN mode yes Term parameters PPPD mode yes PPP parameters SLIPD mode yes SLIP parame...

Page 215: ...mpt ogin Password prompt assword Login user name Login password Terminal type ansi Inactivity time 0 minutes Authentication type none TCP alive check time 0 minutes Console Management RADIUS Settings...

Page 216: ...commercial servers The server is released under the GNU General Public License GPL which means that it is free to download and install FreeRADIUS can be downloaded from the following website http www...

Page 217: ...ion 1645 Accounting 1646 6 Select Client and the click on Add Enter CN2510 s IP address in the IP address field Enter CN2510 s password in the password field The password corresponds to the RADIUS key...

Page 218: ...d Remote Access 2 Follow the steps below to install Right click on Server Local to select Configure and Enable Routing and Remote Access Click on Next to continue 3 Select Remote access server and the...

Page 219: ...CN2510 RADIUS Server B 9 5 Select TCP IP protocol and then click on Next to continue 6 Specify an IP address...

Page 220: ...CN2510 RADIUS Server B 10 7 Select Yes I want to use a RADIUS server and then click on Next to start using this function...

Page 221: ...nstall IAS service to use RADIUS with Windows 2003 IAS service will not be installed by default 1 Click on Start Add or Remove Programs Add Remove Windows Components 2 With Windows Components selected...

Page 222: ...he installation is finished click on Administrative Tools and run Internet Authentication Service The window shown below will open 5 Select NEW RADIUS Client to add a new RADIUS client You will then b...

Page 223: ...nProtos IcmpInRedirects ifAdminStatus ipInDiscards IcmpInEchos ifOperStatus ipInDelivers IcmpInEchoReps ifLastChange ipOutRequests IcmpInTimestamps ifInOctets ipOutDiscards IcmpTimestampReps ifInUcast...

Page 224: ...ranslation MIB tcpEstabResets snmpInBadValues AtIfIndex tcpCurrEstab snmpInReadOnlys AtPhysAddress tcpInSegs snmpInGenErrs AtNetAddress tcpOutSegs snmpInTotalReqVars tcpRetransSegs snmpInTotalSetVars...

Page 225: ...agrams are presented The following topics are covered in this appendix Pin Assignments 10 100BaseTX Port Pin Assignment Console Port Pin Assignment Async RS 232 Port Pin Assignment Cable Wiring 10 100...

Page 226: ...Signal 1 Tx 2 Tx 3 Rx 6 Rx Console Port Pin Assignment Pin RS 232 1 DSR in 2 RTS out 3 GND 4 TxD out 5 RxD in 6 DCD in 7 CTS in 8 DTR out Async RS 232 Port Pin Assignment Pin RS 232 1 DSR in 2 RTS out...

Page 227: ...CN2510 Pin Assignments and Cable Wiring D 3 Async RS 232 Port Cable Wiring 8 pin RJ45 to Male DB9 for CN2510 8 pin RJ45 to Female DB9 for CN2510 8 pin RJ45 to Female DB25 for CN2510...

Page 228: ...ble Wiring D 4 8 pin RJ45 to Male DB25 for CN2510 DB9 and DB25 Connector Pin Assignments DB9 Connector Pin Assignment Male DB9 Connector Female DB9 Connector DB25 Connector Pin Assignment Male DB25 Co...

Page 229: ...items shown on the LCM panel s 2nd line down cursor scrolls down through a list of items shown on the LCM panel s 2nd line sel select selects the option listed on the LCM panel s 2nd line The buttons...

Page 230: ...tatus MAC address IP config IP address Netmask Gateway DNS server 1 DNS server 2 D D C C C C C C Serial set Select port Baud rate Data bit Stop bit Parity Flow control Tx Rx fifo Interface Tx Rx bytes...

Page 231: ...cursor button again to see Even as the third option P a r i t y E v e n Press the down cursor button again to see Space as the fourth option P a r i t y S p a c e Press the down cursor button yet aga...

Reviews: