CN2510 Async Server User’s Manual Third Edition, June 2006 www.moxa.com/product MOXA Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 Web: www.moxa.com MOXA Technical Support support@moxa.com.tw Worldwide: support@moxa.
CN2510 Async Server User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2006 MOXA Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of The Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction..............................................................................................1-1 Product Features ................................................................................................... 1-2 Hardware................................................................................................................. 1-2 Software ..................................................................................................................
Configuring ASPP Mode ........................................................................................ 4-4 Configuring the Serial Ports................................................................................... 4-5 Save....................................................................................................................... 4-6 Restart ................................................................................................................... 4-7 Setting up Hosts ........
Setting up Hosts .................................................................................................... 9-7 Installing and Compiling Fixed TTY Driver........................................................... 9-7 Fixed TTY Driver for Different Applications......................................................... 9-8 Using Fixed TTY Driver......................................................................................... 9-9 Chapter 10 Setting Up Dialin/out .............................
Restart ................................................................................................................. 13-8 Chapter 14 Administrative Utilities..........................................................................14-1 Ping...................................................................................................................... 14-2 Monitor ................................................................................................................. 14-2 Line .........
Async RS-232 Port Cable Wiring .......................................................................... D-3 DB9 and DB25 Connector Pin Assignments ......................................................... D-4 Appendix E LCM Display ............................................................................................ E-1 Appendix F Service Information .................................................................................F-1 MOXA Internet Services ......................................
1 Chapter 1 Introduction Welcome to Moxa CN2510 Async Server. Models are available with 8 or 16 asynchronous RS-232 ports, and all models come with one 10/100 Mbps Ethernet LAN port. CN2510 Async Server 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 twisted pair 10/100BaseTX cable as the data transmission medium.
CN2510 User’s Manual Introduction Product Features Hardware y y y y y y y 1 LAN port (auto-detecting 10/100 Mbps Ethernet) Surge protection for each serial port 4 MB RAM, 2 MB Flash ROM Tx/Rx LED for each serial port System Status LEDs Ethernet Status LEDs 8 or 16 RJ45 RS-232 serial ports, with up to 921.
CN2510 User’s Manual Introduction Front Panel LCM Display Panel Push Buttons CN2510 8 port RS-232 Async Server 1 2 3 4 5 6 7 8 Tx Reset MENU Ready Reset Button Feature SEL Rx Ready LED LED Indicators Description Press the Reset button for 5 seconds to load factory defaults. CN2510 will beep twice when the configuration has been reset. Used for configuring the IP address and other parameters.
2 Chapter 2 Getting Started This chapter includes instructions on where and how to install CN2510 Async Server. Both basic and advanced software configuration instructions are given.
CN2510 User’s Manual Getting Started Hardware Installation Desktop Place your CN2510 on a clean, flat, well-ventilated desktop. For better ventilation, attach the 4 pads from the desktop kit to the bottom of the unit, and leave some space between the CN2510 and other equipment. Do not place equipment or objects on top of the unit, as this might damage the server. Pads Bottom of CN2510 Rackmount CN2510 is designed to be mounted on a standard 19-inch rack.
CN2510 User’s Manual Getting Started Wiring Requirements ATTENTION Safety First! Be sure to disconnect the power cord before installing and/or wiring your CN2510. Wiring Caution! Calculate the maximum possible current in each power wire and common wire. Observe all electrical codes dictating the maximum current allowable for each wire size. If the current goes above the maximum ratings, the wiring could overheat, causing serious damage to your equipment.
CN2510 User’s Manual NOTE Getting Started Use 8 kg-cm of screw torque and 22-14 AWG electric wire to connect CN2510-8/16-48V’s power cord to its terminal block. Grounding CN2510-8/16-48V ON OFF V+ V- Grounding and wire routing helps limit the effects of noise due to electromagnetic interference (EMI). Run the ground connection from the ground screw to the grounding surface prior to connecting serial devices to CN2510.
CN2510 User’s Manual NOTE Getting Started If your network is already set up, telnet over the network to CN2510’s IP address to access the Console Utility. If your network environment is not set up, use Moxa PComm Terminal to establish a direct serial console connection. Configuration Checklist You will need the following information to configure CN2510. Check with your network administrator if you do not know all of the required information.
CN2510 User’s Manual 3. Getting Started The CN2510 Utility lists all available servers on the network. Note that servers in grey are password protected. Double click the server’s name, or click on the server settings. from the menu bar to see 4. The server’s general information is shown in the NPort Server General Info. window. If necessary, change the settings, and then click on OK to accept the change. 5.
CN2510 User’s Manual 3. Getting Started 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 seTting sAve Utility Restart Exit Examine/modify async server node/table configuration Enter: select ESC: previous menu Use the following keystrokes to navigate CN2510’s console utility.
CN2510 User’s Manual Getting Started 2. Click on Next to Continue. 3. Select the I Agree option and then click on Next.
CN2510 User’s Manual Getting Started 4. Select a directory in which to install the CN2510 Utility, and then click on Next. 5. Click on Next to continue.
CN2510 User’s Manual Getting Started 6. Wait while the PComm Lite software is installed. 7. Click on Close.
CN2510 User’s Manual Getting Started 8. When the installation 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 then click on the left-most icon to open a new connection. 10. Click on the Communication Parameter tab, select the COM port (COM2 in this example) for console connection, 115200 for Baud Rate, 8 for Data Bits, None for Parity, and 1 for Stop Bits.
CN2510 User’s Manual Getting Started 11. Click on the Terminal tab and select VT100 for terminal type. Press Enter to confirm. 12. Type 1 to select ansi/VT100 terminal type, and then press Enter to open the MAIN MENU. 13. The MAIN MENU is shown below. (NOTE: Click on Edit Æ Font to choose a different font for the MAIN MENU.
CN2510 User’s Manual Getting Started Configuring CN2510—The Server Menu In this section, we describe both basic and advanced configuration tasks. We use the Telnet interface to illustrate (the Serial Console interface is the same). Server Configuration—Info. 1. From the MAIN MENU, use the arrow keys to select Server, and then press Enter. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Getting Started Domain Name Server in the Domain server 1 IP address field, and the IP address of the secondary Domain Name Server in the Domain server 2 IP address field. When CN2510 receives a connection request, CN2510 first checks the host table defined on the Host_table page. If a matching entry cannot 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.
CN2510 User’s Manual Getting Started DHCP (client)—When DHCP is enabled, CN2510 will request an available IP address and Netmask over the network from the DHCP Server. If an IP address is not available, CN2510 will use the current IP address, but will continue sending requests to the DHCP Server. Async server IP address—This field MUST contain an IP address unique to the network. The IP address is written using the notation “ddd.ddd.ddd.
CN2510 User’s Manual 3. Getting Started The Adv. page contains input/display fields for RADIUS server IP, RADIUS key, UDP port, Enable RADIUS accounting, SNMP community name, SNMP trap server IP address, Ethernet IP forwarding, Routing protocol, TCP retransmission timeout, and SIO data transfer timeout. Each item is described in detail below. CN2510-8 CN2510-8_5631 V2.0 -----------------------------------------------------------------------------Info. Lan [Adv.
CN2510 User’s Manual Getting Started Routing protocol—CN2510 supports RIP (Routing Information Protocol) versions 1 and 2, a widely used protocol specifying how routers exchange routing table information. When RIP is activated, routers (or CN2510s) periodically exchange entire routing tables. TCP retransmission timeout—This is the amount of time CN2510 waits to retransmit after a transmission failure occurs.
CN2510 User’s Manual 2. Getting Started From the SERVER MENU, select Route_table, 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: select 3. ESC: previous menu The Route_table specifies routing parameters.
CN2510 User’s Manual 3. Getting Started The User_table is used for local authentication for dial-in/out access. The CN2510 User Table, which holds information for up to 64 users, is useful if you do not have an external RADIUS server for authentication. The User_table page contains input/display fields for Entry, User name, Password, and Phone number. CN2510-8 CN2510-8_5631 V2.0 -----------------------------------------------------------------------------Info. Lan Adv.
CN2510 User’s Manual Getting Started 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 async ports Enter: select 2. ESC: previous menu Select System and then press Enter to restart the system and terminate the Telnet session. CN2510-8 CN2510-8_5631 V2.
3 Chapter 3 Knowing Your Application This chapter discusses a variety of applications for CN2510 Async Server. Refer to the diagrams in each section to see which application most closely matches your own. Determining which application you should choose will save time configuring both the hardware and software. CN2510 is an Async Server that can support simultaneously different operation modes for different serial ports. The examples in this chapter explain each operation mode in detail.
CN2510 User’s Manual Knowing Your Application Windows Real COM (NT Real COM) Windows 2000 Host A Windows 2000 Host B COM3-COM8 COM3-COM8 Serial ports Console Bar Code Reader POS Terminal LAN 1 2 Bar Code Reader 3 4 5 6 7 8 9 10 POS Terminal 11 12 13 14 15 16 Bar Code Reader CN2510 POS Terminal Moxa provides CN2510 COM port drivers for all Windows operating systems.
CN2510 User’s Manual Knowing Your Application Linux Real TTY/Unix Fixed TTY (NT Real COM) Linux, Unix Ethernet CN2510 CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU ttyS1 SEL Ready Rx ttyS2 ............ ttySN Real TTY drivers that control Moxa CN2510 Async Server’s serial ports are provided for Linux environments.
CN2510 User’s Manual Knowing Your Application Device Control (Device Control) IBM SUN SCO UNIX TCP/IP CN2510 { sio_open(..) sio_open(..) sio_read(...) sio_write(...) ... } 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset RTU MENU SEL Ready Rx RTU RTU The CN2510 Device Control application allows you to choose between two different operation modes: ASPP and RAW.
CN2510 User’s Manual Knowing Your Application UDP Communication (Raw UDP) R TCP/IP R Ethernet UDP datagram Serial ports Console LAN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 CN2510 Serial Finger Printer UDP is a non connection-oriented data transmission protocol that has the advantages of efficient, high-speed, high-volume data transmission. Since UDP does not use TCP’s handshaking procedure, it does not re-assemble and retransmit packets when data is missing.
CN2510 User’s Manual Knowing Your Application Console Management (Reverse Terminal) Unix Windows NT Telnet TCP/IP CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx CN2510 Reverse Telnet mode RS-232 Router Server Server The Reverse Terminal application, which uses Rtelnet mode, is used with routers, switches, and UPS equipment for console management applications.
CN2510 User’s Manual Knowing Your Application Terminal Access (Terminal) Unix Windows NT TCP/IP CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 CN2510 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx RS-232 Terminal Terminal Terminal CN2510’s Terminal Access application is used to connect terminals to Unix or Windows Servers over a network.
CN2510 User’s Manual Knowing Your Application Multi-host TTY (Multi-host TTY) Unix Moxattyd Unix Moxattyd Unix Moxattyd Unix Moxattyd TCP/IP CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx CN2510 Terminal Use hot key to swith sessions between different Unix servers The Multi-host TTY application is ideal for connecting over a network to multiple Unix hosts from several sessions simultaneously.
CN2510 User’s Manual Knowing Your Application Dial-in/Out-of-Band Management (Dialin/out) Web Server E-mail Server TCP/IP CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx CN2510 Router Modem PPP Dialout SLIP Dialin PPP Dialin Internet Modem UNIX Server PC Notebook Moxa CN2510 Async Server provides dial-up/dial-out access for ISPs and enterprises that need a remote access solution.
CN2510 User’s Manual Knowing Your Application Network Printer (Printer) Unix IBM TCP/IP CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx CN2510 RS-232 Printer Printer Printer Printer CN2510 Async Server’s printing program (running under UNIX) provides an excellent solution for banking and stock exchange services with huge printing demands.
CN2510 User’s Manual Knowing Your Application Multiplexor Access (Multiplex) IBM workstation with multiport board RS-232 CN2510 CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx TCP/IP Router Router TCP/IP CN2510 CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx RS-232 PO S t en r de h ea itc R pm e ui od Eq C Sw If are using a multiport serial board ins
4 Chapter 4 Setting Up Windows Real COM/Linux Real TTY/Unix Fixed TTY CN2510 Async Server supports Real COM/TTY drivers for Windows and Linux, allowing CN2510’s serial ports to be recognized as Real COM ports by the Windows operating system, or Real TTY ports by Linux operating systems. CN2510 Async Server can be used for a variety of applications to make the serial ports accessible over an Ethernet, but without the need to modify existing serial transmission software.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY Selecting the Application Open Port Menu Æ Mode to configure the NT Real COM application. 1. 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 2.
CN2510 User’s Manual 5. Windows Real COM/Linux Real TTY/Unix Fixed TTY ASPP mode is selected by default, since it is the only mode associated with the NT Real COM application. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY Setting Value TCP data port 950 – 965 The host uses this port number to determine which serial device to send data to. These values are fixed, and cannot be changed by the user. Serial Port TCP Port No. 01 950 02 951 03 952 … … 16 965 966 – 981 The host uses this port number to determine which device to send commands to. These values are fixed, and cannot be changed by the user. Serial Port TCP Port No.
CN2510 User’s Manual 3. Windows Real COM/Linux Real TTY/Unix Fixed TTY The Line page has pop-up selection lists 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.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY You may also save all settings from the MAIN MENU by selecting sAve and then pressing Enter. Press Enter again to save, and any other key to cancel. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 2. Run the Windows Add Hardware Wizard, located in the Control Panel. 3. When the Welcome to the Add Hardware Wizard window opens, click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 connected the hardware, and click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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, and then click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 8. The window that opens 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 device driver you want to install for this hardware. Click on Have Disk… to install from the CD.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 12. The Wizard will start installing the driver, and automatically search the network for 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 already been tested and been shown that it can support this Windows OS. Click on Continue Anyway to proceed. 14.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 15. 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. Click on Next to finish installing the CN2510 driver. 16. The next window reports that the driver was installed, and port drivers will be installed next. Click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 17. Click on Finish to complete the installation 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 hardware has been found. Select Install from a list or specific location (Advanced), and then click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 2. Select Include this location 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 been tested and been shown that it can support this Windows OS. Click on Continue Anyway to proceed.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 drivers for the 8-port or 16-port CN2510.
CN2510 User’s Manual 6. Windows Real COM/Linux Real TTY/Unix Fixed TTY After the installation is complete, you can check Ports (COM & LPT) under Device Manager to verify that all of the ports were installed successfully. 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 CN2510 at a later time. In this section we explain how to configure Real COM Mapping.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 1. Click on Device Manager Æ Multiport serial adapters, right click on the CN2510 you would like to configure, and select Properties. 2. Click on the Configuration tab.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. Click on Settings to configure CN2510’s Basic Configuration, Password, and Access Control. 4. On the Basic Configuration page, modify Server Name, IP Address, Netmask, and Gateway. Check the DHCP checkbox if the network parameters will be assigned automatically by a DHCP server.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 5. On the Password page, add a password or change the existing password. Check the Remember Password checkbox to remember the password on this computer. 6. The Access Control page allows you to set up access rights for each of the CN2510’s ports. Access right is assigned 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).
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. Click on Modify to save all Property Sheet settings and return to the Properties / Configuration page. 8. Click on Ports Setting to configure the data transmission mode and FIFO for each COM port.
CN2510 User’s Manual 9. Windows Real COM/Linux Real TTY/Unix Fixed TTY Check the box(es) next to the port(s) you would like to modify, and then click on Modify Setting. 10. Modify the settings that need to be changed, and then click on OK.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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, located on the CN2510 CD ROM, to your hard disk. 2. Run the Windows Add Hardware Wizard, located in the Control Panel. 3. When the Welcome to the Add Hardware Wizard window opens, click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 4. In the Choose a Hardware Task window, select Add/Troubleshoot a device, and then click on Next to continue. 5. In the Choose a Hardware Device window, select Add a new device, and then click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 6. In the Find New Hardware window, select No, I want to select the hardware from a list, and then click on Next to continue. 7. In the Hardware Type window, select Multi-port serial adapters from the Hardware types list, and then click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 8. Click on Have Disk to install from the CD, and then click on Next to continue. 9. After locating the win2k folder, select the driver file NPSERVER.INF, and then click on Open.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 10. Select the correct CN2510 model, and then click on Next to continue. 11. The Wizard will start installing the Server driver, and automatically search the network for copies of the CN2510 model you selected in the previous step.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 12. 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 been tested and been shown that it can support this Windows OS. Click on Continue Anyway to proceed.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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. Click on Next to finish installing CN2510 driver. 14. The next window reports that the driver was installed, and port drivers will be installed next. Click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY Installing Ports 1. The ports will be installed automatically. Click on Finish to conclude the installation procedure. 2. After the installation is complete, you can check Ports (COM & LPT) under Device Manager to verify that all of the ports were installed successfully.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 CN2510 at a later time. In this section we explain how to configure Real COM Mapping. 1. Click on Device Manager Æ Multiport serial adapters, right click on the CN2510 you would like to configure, and select Properties. 2.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. Click on Settings to configure CN2510’s Basic Configuration, Password, and Access Control. 4. On the Basic Configuration page, modify Server Name, IP Address, Netmask, and Gateway. Check the DHCP checkbox if the network parameters are assigned automatically by a DHCP server.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 5. On the Password page, add a password or change the existing password. Check the Remember Password checkbox to remember the password on this computer. 6. The Access Control page allows you to set up access rights for each of the CN2510’s ports. Access right is assigned 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).
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. And then click on OK to return to the Access Control page. 8. Click on OK to return to the Configuration page.
CN2510 User’s Manual 9. Windows Real COM/Linux Real TTY/Unix Fixed TTY Click on Ports Setting to configure the data transmission mode and FIFO for each COM port. 10. Check the box(es) next to the port(s) you would like to modify, and then click on Modify Setting.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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. You will first install the NPort Pro Manager program, and then use this utility to configure the server. We use Windows NT to illustrate the installation procedure. Installing a Server 1.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. The setup program is used for both CN2500 and NPort Server Pro products, so you will see a Welcome to NPort Server Pro window. Click on Next to continue. 4. Select Custom mode, and then click on Next to continue. 5. Select a Destination Directory and then click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 start running automatically. Select Yes, and then click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 in the Server IP address box, and then click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 box to save the password on your computer. Click on Next to continue.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 upper left corner to save the settings before exiting the program.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY Configuring CN2510 in a Windows 95/98/ME/NT Environment After the CN2510 driver is installed, you can proceed directly with the configuration of 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 click on the server you would like to configure.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. On the General page, you can see the server’s Serial No., and modify 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 this CN2510 for added security. Check the Auto Save Password on this computer box if you want your computer to remember the password.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 5. The Access 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 each port.
CN2510 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. The Access Control page is used to modify access rights to the server. 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 configuration.
5 Chapter 5 Setting Up Device Control Device Control applications use standard Linux/Unix Socket programming for Linux/Unix systems, or WinSock programming for Windows systems, to control device data transmission directly. With CN2510 configured for RAW mode, you can focus on pure data transmission, without using serial port control or serial modem control signals. You can also use ASPP mode, provided exclusively by Moxa, to communicate with CN2510.
CN2510 User’s Manual Setting Up Device Control Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Device Control Selecting the Application Open Port Menu Æ Mode to configure the Device Control application. 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter.
CN2510 User’s Manual 5. Setting Up Device Control ASPP mode is selected by default. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 2. Setting Up Device Control Use the arrow keys to highlight ASPP, 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 Port 01 02 03 04 05 06 07 08 3.
CN2510 User’s Manual Setting Up Device Control Setting Value Notes 950 – 965 The host uses this value to determine which serial device to send data to. These values are fixed, and cannot be changed by the user. Serial Port TCP Port No. 01 950 02 951 03 952 … … 16 965 966 – 981 The host uses this Port value to determine which device to send commands to. These values are fixed, and cannot be changed by the user. Serial Port TCP Port No.
CN2510 User’s Manual 2. Setting Up Device Control Use the arrow keys to highlight RAW, 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 Port 01 02 03 04 05 06 07 3.
CN2510 User’s Manual Setting Up Device Control Configuring the Serial Ports Open Port Menu Æ Line to configure serial port settings. 1. 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 2. ESC: previous menu From the PORT MENU, select Line, and then press Enter.
CN2510 User’s Manual Setting Up Device Control 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.
CN2510 User’s Manual Setting Up Device Control ASPP Library Introduction The CN2510 Documentation and Software CD contains example programs that illustrate how to control an ASPP port. After uncompressing the file ASPP.tar, the folder \aspp_unix\aspp.h will contain several basic subroutines. The following subroutines are used to control an ASPP port: 1. sio_init()—start ASPP Library 2. sio_open(ipaddr, p)—open a serial port 3. sio_close(fd)—close a serial port 4.
CN2510 User’s Manual Setting Up Device Control ASPP Examples for Windows 1. Program testing environment: Ethernet RS-232 CN2510 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx CN2510 Terminal Windows PC running as.exe 2. This program works like a dumb terminal. It sends all characters pressed on the keyboard to a remote connection, and then echoes the data to the screen. 3. This program sends ‘\r’ as ‘\r\n’ and ‘\n’ as ‘\r\n’. 4.
6 Chapter 6 Setting Up Raw UDP UDP is a non connection-oriented data transmission method. By circumventing TCP’s handshaking process, UDP gains the advantages of fast transmission speed, and high transmission efficiency. The disadvantage is that UDP is unable to guarantee data integrity, since UDP does not re-assemble out-of-order packets, or retransmit packets when data is missing.
CN2510 User’s Manual Setting Up Raw UDP Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Raw UDP Selecting the Application Open Port Menu Æ Mode to configure the Raw UDP application. 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter.
CN2510 User’s Manual 5. Setting Up Raw UDP The only operation mode associated with this application is RAW UDP, which is selected automatically in the Mode column. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Setting Dest. IP address 1/2/3/4 Setting Up Raw UDP Notes Necessity Defines 1 to 4 groups of IP addresses. UDP 1: Required packets will be sent through UDP port Port (2, 3, 4 are to the range of IP addresses from the Begin Optional) IP address to the End IP address. Src. IP Begin: x.x.x.x Defines IP addresses that will be allowed 1: Required address End: y.y.y.y to transmit UDP packets to CN2510’s (2, 3, 4 are 1/2/3/4 Port: 1-65535 Ethernet port.
CN2510 User’s Manual Setting Up Raw UDP Configuring the Serial Ports Open Port Menu Æ Line to configure serial port settings. 1. 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 2. ESC: previous menu From the PORT MENU, select Line, and then press Enter.
CN2510 User’s Manual Setting Up Raw UDP 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.
CN2510 User’s Manual 2. Setting Up Raw UDP Select System and then press Enter to restart the system and terminate the Telnet session. CN2510-8 CN2510-8_5631 V2.
7 Chapter 7 Setting Up Reverse Terminal In this chapter, we show how to use CN2510 to connect terminals to a computer over an Ethernet network.
CN2510 User’s Manual Setting Up Reverse Terminal Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Reverse Terminal Selecting the Application Open Port Menu Æ Mode to configure the Reverse Terminal application. 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter.
CN2510 User’s Manual 5. Setting Up Reverse Terminal The only operation mode associated with this application is Reverse Terminal mode, which is selected automatically in the Mode column. RTELNET mode allows Ethernet hosts to access serial hosts attached to CN2510’s serial ports, which is the reverse direction provided by CN2510’s terminal application. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Setting TCP port Source IP address Destination IP addr Map Keys to Inactivity time Authentication type TCP alive check time 3. Setting Up Reverse Terminal Value number Notes Each 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. IP address for Specify an IP address for this port for the port application purposes.
CN2510 User’s Manual 2. Setting Up Reverse Terminal From the PORT MENU, select Line, and then press Enter. CN2510-8 CN2510-8_5631 V2.0 PORT MENU -----------------------------------------------------------------------------Mode [Line] mOdem Welcome_MSG Quit Examine/modify asynchronous port configuration Enter: select 3. ESC: previous menu The Line page has pop-up selection lists for Port, Speed, Bits, Stop, Parity, FIFO, RTS/CTS, XON/XOFF, and Discon. ctrl for each serial port.
CN2510 User’s Manual Setting Up Reverse Terminal 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.
8 Chapter 8 Setting Up Terminal In this chapter, we describe the steps you should follow to configure Moxa CN2510 as a Terminal Server. CN2510 provides Telnet and Rlogin protocols for terminals to establish connections with UNIX hosts. Two terminal modes 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 from a remote site by using external modems.
CN2510 User’s Manual Setting Up Terminal Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Terminal Selecting the Application Open Port Menu Æ Mode to configure the Terminal application. 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter.
CN2510 User’s Manual 5. Setting Up Terminal TERM_ASC mode is selected by default. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 3. Setting Up Terminal Move the cursor to the Description/more setting column 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 Port 01 02 03 04 05 06 07 08 4.
CN2510 User’s Manual Setting Telnet TCP port Setting Up Terminal Notes Necessity By default, the Telnet TCP port number Optional 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 number. We recommend using 4001, 4002, etc. for ports 1, 2, etc. to avoid conflicts with other ports.
CN2510 User’s Manual Setting Up Terminal Configuring TERM_BIN Mode TERM_BIN (Terminal Binary) mode is used as an application protocol. For example, it can be used to transfer files with XMODEM or ZMODEM. You are only allowed to open one terminal session at a time when in Terminal Binary mode. 1. Move the cursor to the Mode column for the port and press Enter. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 4. Setting Up Terminal The pop-up selector contains input/display fields for Quit key, Auto-link protocol, Link by input IP, Auto-login prompt, Terminal type, Inactivity time, Authentication type, and TCP alive check time. Each item is described in detail below the figure.
CN2510 User’s Manual 5. Setting Up Terminal Setting Login user name Login password Terminal type Inactivity time Value ansi 0-99 minutes Authentication type None/local/ server TCP alive check time 0-99 minutes Notes Login ID Login Password Terminal type for outgoing connection Idle time before the port is disconnected automatically. If set to 0 minutes, the port will not disconnect. None: Authentication is not required. local: Check the ID stored in the User_table (defined under the SERVER MENU).
CN2510 User’s Manual 3. Setting Up Terminal The Line page has pop-up selection lists 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.
CN2510 User’s Manual Setting Up Terminal You may also save all settings from the MAIN MENU by selecting sAve and then pressing Enter. Press Enter again to save, and any other key to cancel. CN2510-8 CN2510-8_5631 V2.
9 Chapter 9 Setting Up Multi-host TTY The Multi-host TTY application is the ideal transmission method for communicating with multiple Unix hosts over the network via several simultaneous sessions. When the communication starts, a Unix server connected to the network must first activate Moxattyd to use the TTY port’s mapping function. Moxattyd will initiate the connection with the CN2510, and the CN2510 will listen on different TCP ports for connection requests from various Moxattyd.
CN2510 User’s Manual Setting Up Multi-Host TTY Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Multi-Host TTY Selecting the Application Open Port Menu Æ Mode to configure the Multi-host TTY application. 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter.
CN2510 User’s Manual 5. Setting Up Multi-Host TTY The only operation mode associated with this application is FIXTTY mode, which is selected automatically in the Mode column. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Setting Up Multi-Host TTY Setting Max. Sessions Value 1-8 Terminal mode no. Inactivity time TCP alive check time Star NT-560+, NL-5000A, VT100 0-99 minutes 0-99 minutes Session Hot Key TCP port Remote IP 3. Notes Select the maximum number of simultaneous sessions that will be allowed for this serial port. CN2510 provides 3 modes that depend on the connection mode supported by the terminal. Idle time before the port is disconnected automatically.
CN2510 User’s Manual 3. Setting Up Multi-Host TTY The Line page has pop-up selection lists 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.
CN2510 User’s Manual Setting Up Multi-Host TTY You may also save all settings from the MAIN MENU by selecting sAve and then pressing Enter. Press Enter again to save, and any other key to cancel. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 4. Setting Up Multi-Host TTY Compile and link documents: SCO OpenServer : # make sco SCO UnixWare : # make svr5 UnixWare 2.1.x, SVR 4.2 : # make svr42 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 moxattyd.cf. There are three columns: Device Name, CN2510 IP address, and TCP port number in the entry for the file moxattyd.cf.
CN2510 User’s Manual Setting Up Multi-Host TTY Transparent Printer Access It’s not necessary to add additional entries to /etc/inittab for printer access, as mentioned in the section on terminal access. Since Fixed TTY driver is a fixed pseudo tty, you can easily connect a serial printer to a Moxa CN2510 serial port to execute printing commands.
10 Chapter 10 Setting Up Dialin/out In this chapter, we describe the steps required to configure Moxa CN2510 as a Dial-in/out Access Server. Dial-in Access allows remote users to access the LAN, whereas Dial-out Access allows LAN hosts to establish connections to other sites.
CN2510 User’s Manual Setting Up Dial-in/Out Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Dial-in/Out Selecting the Application Open Port Menu Æ Mode to configure the Dial-up/out application. 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter.
CN2510 User’s Manual 5. Setting Up Dial-in/Out The Dialin/out application supports five operation modes: DYNAMIC, PPP, PPPD, SLIP, SLIPD. DYNAMIC mode is selected by default. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 3. Setting Up Dial-in/Out Move the cursor to the Description/more setting column, 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 Port 01 02 03 04 05 06 07 08 4.
CN2510 User’s Manual Setting Incoming PAP check 5. Setting Up Dial-in/Out Value None/local/server Notes None: Authentication is not required. local: Check the ID stored in the User_table (defined under the SERVER MENU). You will need to configure the user’s information later in this chapter. Server: Check the ID with the external RADIUS server. Refer to Appendix C for RADIUS installation information. Necessity Optional Press Esc to return to the PORT MENU.
CN2510 User’s Manual 3. Setting Up Dial-in/Out Move the cursor to the Description/more setting column, 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 Port 01 02 03 04 05 06 07 08 4.
CN2510 User’s Manual Setting Incoming PAP check 5. Setting Up Dial-in/Out Value None/local/server Notes None: Authentication is not required. local: Check the ID stored in the User_table (defined under the SERVER MENU). You will need to configure the user’s information later in this chapter. Server: Check the ID with the external RADIUS server. Refer to Appendix C for RADIUS installation information. Necessity Optional Press Esc to return to the PORT MENU.
CN2510 User’s Manual 3. Setting Up Dial-in/Out Move the cursor to the Description/more setting column, 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 Port 01 02 03 04 05 06 07 08 4.
CN2510 User’s Manual 6. Setting Up Dial-in/Out The pop-up selector contains input/display fields for Quit key, Auto-link protocol, Link by input IP, Auto-login prompt, Terminal type, Inactivity time, Authentication type, and TCP alive check time. Each item is described in detail below the figure.
CN2510 User’s Manual Setting Password prompt 7. Setting Up Dial-in/Out Value assword: Login user name Login password Terminal type Inactivity time ansi 0-99 minutes Authentication type None/local/ server TCP alive check time 0-99 minutes Notes Send Password information when this prompt is received Login ID Login Password Terminal type for outgoing connection Idle time before the port is disconnected automatically. If set to 0 minutes, the port will not disconnect.
CN2510 User’s Manual 9. Setting Up Dial-in/Out Setting Source IP address Value IP address for the port ID Notes CN2510 will automatically assign an IP address for the port. We recommend leaving this space blank. CN2510 automatically assigns the netmask 255.255.255.255. We recommend leaving this space blank. Depends on whether the remote user’s application requests compression. Idle time before the port is disconnected automatically. If set to 0 minutes, the port will not disconnect.
CN2510 User’s Manual Setting TCP/IP compression Inactivity time Setting Up Dial-in/Out Value Yes/No Notes Depends on whether the remote user’s application requests compression. Idle time before the port is disconnected automatically. If set to 0 minutes, the port will not disconnect. 0-99 minutes Necessity Optional Optional 11. Press Esc to return to the PORT MENU. Configuring the Serial Ports Open Port Menu Æ Line to configure serial port settings. 1.
CN2510 User’s Manual Setting RTS/CTS XON/XOFF Discon. Ctrl Setting Up Dial-in/Out Value Notes Hardware Flow Control Software Flow Control DSR off or DCD off will not be interpreted as a disconnection. DSR off will be interpreted as a disconnection. DCD off will be interpreted as a disconnection. Yes, No Yes, No None DSR off DCD off 4. Press ESC to return to the PORT MENU. Configuring Modem Initialization Open Port Menu Æ Modem to configure modem dial-out initialization and dial-out phone numbers. 1.
CN2510 User’s Manual NOTE Setting Up Dial-in/Out Setting Enable Initialize yes/no String Value Dial Up Phone Number String Number Notes Enable modem settings Set the modem initial string. E.g., AT&S0 =1 for auto-answer. Dial-up AT command Set the number you use to dial out The Dial Up and Phone Number settings are only valid under PPP/SLIP mode. 4. Press Esc to return to the PORT MENU. Optional Welcome Message Open Port Menu Æ Welcome_MSG to set up a welcome message to greet dial-in users. 1.
CN2510 User’s Manual 2. Setting Up Dial-in/Out From the SERVER MENU, select User_table, 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 the user/password table Enter: select 3. ESC: previous menu The User_table page has input fields for User name, Password, and Phone Number, for each serial port.
CN2510 User’s Manual Setting Up Dial-in/Out 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 async ports Enter: select 2. ESC: previous menu Select System and then press Enter to restart the system and terminate the Telnet session. CN2510-8 CN2510-8_5631 V2.
11 Chapter 11 Setting Up Printer In this chapter, we describe how to set up Moxa CN2510 as a printer server. Up to 16 serial printers can be connected simultaneously to one CN2510. At the end of the chapter, the settings needed for one-port parallel printing is illustrated for both UNIX and Windows systems.
CN2510 User’s Manual Setting Up Printer Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Printer Selecting the Application Open Port Menu Æ Mode to set up the Printer application. 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter.
CN2510 User’s Manual 5. Setting Up Printer The Dialin/out application supports two operation modes: RAW PRN and LPD PRN. RAW PRN mode is selected by default. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 3. Setting Up Printer Move the cursor to the Description/more setting column, 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 Port 01 02 03 04 05 06 07 4.
CN2510 User’s Manual Setting Up Printer Configuring LPD PRN Mode 1. Move the cursor to the Mode column for the port 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 Port 01 02 03 04 05 06 07 2.
CN2510 User’s Manual Setting Queue name (RAW) Queue name (ASCII) Append Form Feed TCP alive check time Setting Up Printer Value Text Notes Specify print queue’s name (in RAW mode) Necessity Fixed Text Specify print queue’s name (in ASCII mode) Fixed Enable/ Specify paging Optional Disable 0-99 minutes The time period CN2510 waits before Optional checking if the TCP connection is alive or not. If no response is received, CN2510 will reset the port and terminate the connection.
CN2510 User’s Manual Setting Up Printer Setting Speed Bits Stop Parity FIFO RTS/CTS XON/XOFF Discon. Ctrl Value 50 bps to 921.6 Kbps 5, 6, 7, 8 1, 1.5, 2 None, Even, Odd, Mark, Space Yes, No Yes, No Yes, No None DSR off DCD off 4. Notes Transmission rate Data bits Stop bits Odd, Even, Mark, Space First In First Out Device Hardware Flow Control Software Flow Control DSR off or DCD off will not be interpreted as a disconnection. DSR off will be interpreted as a disconnection.
CN2510 User’s Manual Setting Up Printer 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 async ports Enter: select 2. ESC: previous menu Select System and then press Enter to restart the system and terminate the Telnet session. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Setting Up Printer Setting up Unix Hosts UNIX uses the RLP program for remote parallel printing. For serial printing, Moxa provides the asprint utility program, which consists of two files, asprint.c and asprint.mak. First uncompress printer.tar.Z to the \printer directory, and then locate the files asprint.c and asprint.mak. To compile and link, you may need to modify the source file asprint.c. For instance, in SCO UNIX you must link to the libnls.a library, in Solaris to libnsl.
CN2510 User’s Manual Setting Up Printer Setting up a SOLARIS X86 Host Steps SCO UNIX Command Description Set free the occupied Floppy #/etc/init.d/volmgt stop disk Uncompress all programs #tar /dev/fd0 ./ Uncompress printer.tar.Z to ./printer #tar xvf printer.tar.Z compile/link #make -f sco_unix.mak make printer node #mknod /dev/iop1 p Create a unique pipe name for each printer group. Since there are 16 groups of TCP port numbers (from 2048 to 2063), you need to create 16 respective pipe names.
CN2510 User’s Manual Setting Up Printer Setting up a LINUX Host Steps SCO UNIX Command Description Uncompress all programs #tar /dev/fd0 ./ Uncompress printer.tar.Z to ./printer #tar xvf printer.tar.Z compile/link #make -f sco_unix.mak make printer node #mknod /dev/iop1 p Create a unique pipe name for each printer group. Since there are 16 groups of TCP port numbers (from 2048 to 2063), you need to create 16 respective pipe names. For example: iop1, iop2, iop3, etc.
CN2510 User’s Manual Setting Up Printer Setting up Windows Hosts Windows uses the LPD/LPR application to access printers. Moxa provides LPD PRN mode for serial printing. In this section, we explain how to install a LPD/LPR printer in a Windows NT/2000 environment to access a serial printer connected 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.
CN2510 User’s Manual Setting Up Printer 5. After the Microsoft TCP/IP Printing service is added, reboot your computer. 6. At this point, you can start configuring your LPR/LPD Printer. 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.
CN2510 User’s Manual Setting Up Printer 10. In the window that opens next, click on Add Port. 11. Select LPR Port. Click on New Port…. 12. Enter 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.
CN2510 User’s Manual Setting Up Printer 14. Select the printer’s manufacturer and model name. Click on Next to continue. 15. Enter the printer’s name, and select yes if you wish to set this printer as the default printer. Click on Next to continue. 16. 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 correctly, and then click on OK to finish.
CN2510 User’s Manual Setting Up Printer Setting up a Windows 2000 Host 1. Click on Start Æ Settings Æ Printers. 2. Click on Add Printer to start and Add Printer Wizard. 3. A Welcome message will appear. Click on Next to continue.
CN2510 User’s Manual Setting Up Printer 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. Click on Next to continue. 6. Enter CN2510’s IP Address, and then enter the Print Queue’s name. Click on OK to continue.
CN2510 User’s Manual Setting Up Printer 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 this printer as the default printer. Click on Next to continue.
CN2510 User’s Manual 9. Setting Up Printer 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. Click on Next to continue. 10. You will need to reboot Windows 2000 to enable the printer you just added. When asked if you want to print a test page, select No. Click on Next to continue.
CN2510 User’s Manual Setting Up Printer 11. If you want to print a test page, reboot Windows 2000, select this printer, and click on Print Test Page.
12 Chapter 12 Setting Up Multiplex In this chapter, we describe how to configure Moxa CN2510 as a Multiplexor and De-Multiplexor. Using the Multiplexor/De-Multiplexor application requires two Async Servers—one attached to a host 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 remote location.
CN2510 User’s Manual Setting Up Multiplexor Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Multiplexor Selecting the Application The Multiplex application uses two Async Servers. One of the servers (called the “host” CN2510) is attached to a host with a multi-port serial board and mutiple serial lines. The other server (called the “device” CN2510) is connected to external serial devices. In this way, one host can use a TCP/IP connection to control multiple serial devices from a remote location. We use ports 5, 6, 7, and 8 on both CN2510’s to illustrate.
CN2510 User’s Manual 2. Setting Up Multiplexor 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 ports Enter: select 3. ESC: previous menu The Mode page has pop-up selection lists for Application, Mode, and Description/more setting for each serial port.
CN2510 User’s Manual 5. Setting Up Multiplexor The Multiplex application supports two operation modes: RTELNET and TERM_BIN. RTELNET mode is selected by default. For the “Host” CN2510, use RTELNET mode. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Setting TCP port Source IP address Destination IP addr Map Keys to Inactivity time Authentication type TCP alive check time 8. Setting Up Multiplexor Value number Notes Each 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. IP address for Specify an IP address for this port for the port application purposes.
CN2510 User’s Manual Setting Up Multiplexor Configuring the “Device” CN2510 1. 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 2. ESC: previous menu From the PORT MENU, select Mode, and then press Enter. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 5. Setting Up Multiplexor The Multiplex application supports two operation modes: RTELNET and TERM_BIN. RTELNET mode is selected by default. For the “Device” CN2510, select TERM_BIN mode. 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 Port 01 02 03 04 05 06 07 08 6.
CN2510 User’s Manual 8. Setting Up Multiplexor The next step is to configure the TERM_BIN parameters. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Setting Quit Key Setting Up Multiplexor Value Notes Defines the Quit key used to disconnect the link between the current terminal session and the remote host. It may be left blank for binary communication. Auto-link protocol None/Telnet/ None: Do not connect to the host Rlogin automatically. Telnet: Connects to the host automatically by Telnet. Rlogin: Connects to the host automatically by Rlogin.
CN2510 User’s Manual Setting TCP alive check time Setting Up Multiplexor Value 0-99 minutes Notes Necessity The time period CN2510 waits before Optional checking if the TCP connection is alive or not. If no response is received, CN2510 will reset the port and terminate the connection. 11. Repeat the previous steps for ports 5, 7, and 8. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 3. Setting Up Multiplexor The Line page has pop-up selection lists 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.
CN2510 User’s Manual Setting Up Multiplexor You may also save all settings from the MAIN MENU by selecting sAve and then pressing Enter. Press Enter again to save, and any other key to cancel. CN2510-8 CN2510-8_5631 V2.
13 Chapter 13 Setting Up Routing Routing is the main process used by Internet hosts to deliver packets. The Internet uses a hop-by-hop routing model, which means that each host or router that handles a packet examines the Destination Address in the IP header, computes the next hop that will bring the packet one step closer to its destination, and then delivers the packet to the next hop, where the process is repeated.
CN2510 User’s Manual Setting Up Routing Accessing the Console Utility NOTE In this section, we show how to access CN2510’s console utility by Telnet over the network. For information on using the console port, see the section “Accessing the Console Utility” in Chapter 2. 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 CN2510-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2510 User’s Manual Setting Up Routing What is RIP? RIP (Routing Information Protocol) is a protocol used widely to manage routing information within a self-contained network, such as a corporate LAN (Local Area Network) or an interconnected group of such LANs. By using RIP, a gateway host with a router can send its entire routing table, which lists all the other hosts it knows about, to its closest neighbor host every 30 seconds.
CN2510 User’s Manual 3. Setting Up Routing Use the Up/Down arrow keys to move the cursor to the Routing protocol pop-up selector. Press Enter to see the options. Select RIP-1 or RIP-2. The RIP setting is only for sending packets. For receiving packets, CN2510 supports both RIP-1 and RIP-2. CN2510-8 CN2510-8_5631 V2.0 -----------------------------------------------------------------------------Info. Lan [Adv.
CN2510 User’s Manual 3. Setting Up Routing Use the tab and arrow keys to move the cursor to configure Gateway, Destination, Netmask, and Metric. Each item is described in detail below the figure. CN2510-8 CN2510-8_5631 V2.0 ---------------------------------------------------------------------Info. Lan Adv.
CN2510 User’s Manual Setting Up Routing For this example, the Notebook PC dials in to the CN2510 to request a connection to Internet host 210.48.96.9 (for example), which is not on local network 203.67.6. This causes CN2510 to act as a router and 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 hops to any destination beyond the local network (203.67.6).
CN2510 User’s Manual Setting Up Routing Configuring Multiple-Point Routes Web/FTP Server E-mail/News Server Ethernet 203.67.6 TCP/IP 203.67.6.253 CN2510 CN2510 Console Server 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Tx Reset MENU SEL Ready Rx Router 203.67.6.254 RS-232 RS-232 Modem 1 Modem 2 Modem 3 Modem 4 RS-232 202.6.6.254 CN2510 1 MENU 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 SEL Ready Rx Printer RS-232 201.2.2.
CN2510 User’s Manual Setting Up Routing 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.
14 Chapter 14 Administrative Utilities In this chapter, we show how to use CN2510 administrative utilities, which include Ping (to see if a LAN host is still active), and how to get information with Monitor Æ Line, Monitor Æ Network, Monitor Æ Async, Monitor Æ Routing, and Monitor Æ PPP-Trace.
CN2510 User’s Manual Administrative Utilities Ping Ping is used to test network hardware connectivity and whether a network host is active. 1. From the MAIN MENU, select Utility, and then press Enter. CN2510-8 CN2510-8_5631 V2.0 MAIN MENU -----------------------------------------------------------------------------Server Port seTting sAve [Utility] Restart Exit Async server utilities EEnter: select 2. ESC: previous menu From the UTILITY MENU, select Ping, and then press Enter.
CN2510 User’s Manual 3. Administrative Utilities Each item is discussed in the following subsections. CN2510-8 CN2510-8_5631 V2.0 MONITOR MENU ------------------------------------------------------------------------------[Line] Network Async async-Setting Routing PPP-Trace Quit Monitor asynchronous port connective utilization Enter: select ESC: previous menu Line 1. From the MONITOR MENU, select Line, and then press Enter. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Administrative Utilities Network 1. From the MONITOR MENU, select Network, and then press Enter. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual UDP statistics Received: ErrPorts: ErrHeader: Sent: Administrative Utilities Received UDP datagram packets. Received UDP datagram packets with invalid destination port. Received UDP datagram packet with incorrect header. Sent UDP datagram packets. TCP statistics Received: Total received packets of segments, including error packets. ErrHeader: Error packets (e.g., bad TCP checksums).
CN2510 User’s Manual Administrative Utilities Routing 1. From the MONITOR MENU, select Routing, and then press Enter. CN2510-8 CN2510-8_5631 V2.0 -----------------------------------------------------------------------------Line Network Async async-Setting [Routing] PPP-Trace Quit Monitor current routing table ESC: back to menu Iface eth0 eth0 eth0 eth0 eth0 lo17 Destination 0.0.0.0 201.2.2.0 203.65.66.0 0.0.0.0 192.168.0.0 192.168.2.180 Iface: Destination: Gateway: Netmask: Metric: Flags: Use: 2.
CN2510 User’s Manual 2. Administrative Utilities Use the arrow keys to select the port you wish to trace, and then press Enter to select. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual 2. Administrative Utilities If any of these tests fails, contact Moxa to request repair services. CN2510-8 CN2510-8_5631 V2.0 -----------------------------------------------------------------------------Ping Monitor [Diagnostic] Upgrade Quit Loopback test and self-diagnose ESC: back to menu Enter: select Asynchronous port controller test... OK. Asynchronous port loopback test... OK. Ethernet port controller test... OK. Ethernet port 1 controller loopback test... OK.
CN2510 User’s Manual Administrative Utilities 3. Specify the new firmware file used to upgrade. Click on OK to start. 4. When the Download ok! window appears, click on OK. Console Terminal Upgrade 1. Run Start Æ Programs Æ PComm Terminal Emulator. (If you cannot find the software on your computer, install PComm Lite from the CN2510 CD, and then run the program.
CN2510 User’s Manual Administrative Utilities 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 open a new connection. 3. On the Communication Parameter page, select COM2 for Ports, 115200 for Baud Rate, 8 for Data Bits, None for Parity, and 1 for Stop Bits. 4. On the Terminal page, select VT100 for Terminal Type, and then press Enter.
CN2510 User’s Manual Administrative Utilities 5. Type 1 to choose ansi/VT100 terminal type, and then press Enter to enter the MAIN MENU. 6. Use the following keystrokes to navigate CN2510’s console utility. Action Move Jump to next menu, or Select item Return to previous menu, or Close pop up selector Shortcut Key Key [Up/Down/Left/Right] Arrow Key or [Tab] Key [Enter] Key [Esc] Key Capitalized letter of the word Upgrading through the Serial Console 1.
CN2510 User’s Manual Administrative Utilities 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 screen, click on the Port Manager menu.
CN2510 User’s Manual Administrative Utilities 5. Select Port Manager Æ File Transfer from the 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.
CN2510 User’s Manual Administrative Utilities 7. Locate the upgrade file, CN2510_2.ROM for example, and then click on Open to transfer the firmware to the CN2510. 8. The CN2510 will store the new firmware in its Flash ROM, and then restart the entire system, completing the Firmware Upgrade procedure. Remote RCP Upgrade RCP (Remote Copy Program) is the Unix utility for copying files over the Ethernet. RCP allows transparent copying of files between hosts, without the need to enter passwords.
CN2510 User’s Manual NOTE Administrative Utilities The file must contain at least a host, and if the login ID is different on the remote host, it must also contain the login ID. This sample .rhosts file is for the user john on the host sun. The following three accounts are considered “equivalent” accounts. The user has accounts on moxa1 and moxa3 with the same login ID, and has an account on moxa2 as johnwu. # This comment line is ignored by the operating system. Moxa1.com.tw john Moxa2.com.
CN2510 User’s Manual Administrative Utilities Export Settings can be exported to a file to backup the configuration, or to set up another CN2510 with the same configuration. There are two types 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 MENU select seTting, and then press Enter. 3. From the SETTING MENU select Export, and then press Enter.
CN2510 User’s Manual Administrative Utilities 4. Select Console port (using XMODEM) for upgrade type, and then press Ctrl-U to start. 5. When you see Start loading file … near the bottom of the screen, click on the Port Manager menu.
CN2510 User’s Manual Administrative Utilities 6. Select Port Manager Æ File Transfer from the menu. 7. In the File Transfer window select XModem-CheckSum for Protocol, and Receive for Direction. Selecting OK causes the terminal to receive settings from the CN2510. 8. Choose the backup filename, CN2510.bak for example, and then click on Save. 9. CN2510 will export settings to the file.
CN2510 User’s Manual Administrative Utilities Remote RCP Export As we pointed out earlier, RCP is a file transfer protocol that does not require a password. 1. Login to your UNIX/LINUX host. For example, login to 203.67.8.22 as user john. 2. Create a file named .rhosts in this directory. Enter CN2510’s IP address, e.g., 192.168.205.21, or CN2510’s domain name (if it’s defined in your /etc/hosts file), in the .rhosts file. 3. Telnet CN2510’s IP address. 4.
CN2510 User’s Manual Administrative Utilities 3. From the SETTING MENU, select Import, and then press Enter. 4. Select Console port (using XMODEM) for Import type and then press Ctrl-U to start. 5. When you see Start loading file … near the bottom of the screen, click on the Port Manager menu.
CN2510 User’s Manual Administrative Utilities 6. Select Port Manager Æ File Transfer from the menu. 7. In the File Transfer window select XModem-CheckSum for Protocol and Transmit for Direction. This causes the file to be sent from the terminal to CN2510. Click on OK. 8. Choose the backup filename, CN2510.bak for example, and then click on Open. 9. CN2510 will import settings from the file.
CN2510 User’s Manual Administrative Utilities Remote RCP Import As we pointed out earlier, RCP is a file transfer protocol that does not require a password. 1. Login to your UNIX/LINUX host. For example, login to 203.67.8.22 as user john. 2. Create a file named .rhosts in this directory. Enter CN2510’s IP address, e.g., 192.168.205.21, or CN2510’s domain name (if it’s defined in your /etc/hosts file), in the .rhosts file. 3. Telnet CN2510’s IP address. 4.
CN2510 User’s Manual 3. Administrative Utilities Press Enter to confirm that you wish to erase all settings and restore the default settings. Press any key to cancel. CN2510-8 CN2510-8_5631 V2.
A Appendix A Troubleshooting In this appendix, we give solutions to various problems you may come across when using CN2510.
CN2510 User’s Manual Troubleshooting Console Terminal Problems Problem: No message is displayed on the console terminal. Solutions: ¾ Check to see if the terminal is set to 115200 bps, 8 data bits, no parity, 1 stop bit. ¾ Check to see if the RS-232 cable is wired correctly. The console needs CTS/DCD signals to trigger. Refer to the “Cable Wiring” section in Appendix D. ¾ The console may be blocked waiting for an event. Press ESC to try unblocking.
CN2510 User’s Manual Troubleshooting Question: If I forget the password for my CN2510, what should I do? Solution: ¾ Press the Reset button on the CN2510’s front panel for more than 5 seconds. The password stored in the Flash ROM will be erased. In addition, all settings will be reset to their factory default values. CN2510 will beep twice when the configuration has been reset. Refer to Chapter 1 for more details.
CN2510 User’s Manual Troubleshooting 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 from a remote site. Why does the CISCO router/switch receive two “Enter" commands even though I only pressed the “Enter” key once? Solution: ¾ The “Enter” Map keys of Async server are , causing the CISCO router to receive two commands instead of one.
CN2510 User’s Manual Troubleshooting How to Save CN2510’s Parameters Question: How can I save CN2510’s parameters to recover from unexpected power failures, or to transfer the same parameters to another CN2510? Solutions: ¾ After entering the Console screen, select seTting Æ Export, and press Enter. Then you can use XMODEM for a Windows host, or RCP for a UNIX host, to save the parameters to a file. CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual Troubleshooting SLIP/PPP Connection Problems Problem: Cannot make a SLIP connection to a remote host. Solutions: ¾ Check to see if the CN2510’s SLIP port baud rate (in the Port Æ Line menu) is the same as the remote host’s baud rate. ¾ Check to see if data bits = 8. ¾ Check to see if the XON/XOFF flow control is the same as the remote site. ¾ Check to see if the RS-232 cable is wired correctly.
B Appendix B RADIUS Server Managing dispersed serial lines and modem pools for large numbers of users can create the need for significant administrative support. Since modem pools are a link to the outside world, they require careful attention to security, authorization, and accounting.
CN2510 User’s Manual RADIUS Server What is RADIUS? Definition Remote Authentication Dial-up User Service, or RADIUS, is the standard for centralizing the authentication, authorization, and accounting of remote access users. Here is a brief description of how RADIUS works: When a user dials in to a remote access device, that device communicates with the central RADIUS server to determine if the user is authorized to connect to the LAN.
CN2510 User’s Manual 2. RADIUS Server From the SERVER MENU, select Adv., and then press Enter. CN2510-8 CN2510-8_5631 V2.0 -----------------------------------------------------------------------------Info. Lan [Adv.
CN2510 User’s Manual RADIUS Server +------------------------------------------------+ | Enable Detail-setting | | TERM_BIN mode [yes] [Term parameters] | | PPPD mode [yes] [PPP parameters] | | SLIPD mode [yes] [SLIP parameters] | |------------------------------------------------| | TERM_BIN mode [none ] | +------------------------------------------------+ Dialin/out—PPP/PPPD Mode CN2510-8 CN2510-8_5631 V2.
CN2510 User’s Manual RADIUS Server +------------------------------------------------+ | Key Mapping : | | Max.
CN2510 User’s Manual RADIUS Server Setting up Windows NT Hosts Install Windows NT OPTION PACK 4.0 to Windows NT server. 1. Start Æ Programs Æ Windows NT 4.0 Option Pack Æ Microsoft Internet Information Server Æ Management Console Manger. 2. Click Console Root Æ Internet Information Server (in the left info window). Your computer’s name will be visible. 3. Click your computer name, after which you will see RADIUS in the right info window.
CN2510 User’s Manual RADIUS Server 4. Right click on RADIUS in the left info window, and then select Properties. 5. Select Service. Check the RADIUS ports. [Authentication] 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 setting in the CN2510 Console. 7. Click Apply. 8. Right click on RADIUS in the left info window, and select Start. 9.
CN2510 User’s Manual RADIUS Server Setting up Windows 2000 Hosts 1. Click on Start Æ Programs Æ Administrative Tools Æ Routing and 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 then click on Next to continue. 4. Select Set up an advanced remote access server, and then click on Next to continue.
CN2510 User’s Manual RADIUS Server 5. Select TCP/IP protocol, and then click on Next to continue. 6. Specify an IP address.
CN2510 User’s Manual 7. RADIUS Server Select Yes, I want to use a RADIUS server, and then click on Next to start using this function.
CN2510 User’s Manual RADIUS Server Setting up Windows 2003 Hosts Windows 2003 uses IAS service instead of RADIUS service. For this reason, you need to install 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, choose Network Services. 3. Select Details, and then Internet Authentication Service.
CN2510 User’s Manual RADIUS Server 4. After the 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 be able to start using this function.
C Appendix C SNMP Agent with MIB II Simple Network Management Protocol agent software is built into CN2510. The software supports cold/warm start trap, line up/down trap, and RFC 1213 MIB-II. The following table lists the standard MIB-II groups, as well as the variable implementations for CN2510.
CN2510 User’s Manual UDP MIB UdpInDatagrams UdpNoPorts UdpInErrors UdpOutDatagrams UdpLocalAddress UdpLocalPort Address Translation MIB AtIfIndex AtPhysAddress AtNetAddress SNMP Agent with MIB II TCP MIB tcpRtoAlgorithm tcpRtoMin tcpRtoMax tcpMaxConn tcpActiveOpens tcpPassiveOpens tcpAttempFails tcpEstabResets tcpCurrEstab tcpInSegs tcpOutSegs tcpRetransSegs tcpConnState tcpConnLocalAddress tcpConnLocalPort tcpConnRemAddress tcpConnRemPort tcpInErrs tcpOutRsts C-2 SNMP MIB snmpInPkts snmpOutPkts snmpIn
D Appendix D Pin Assignments and Cable Wiring In this appendix, common pin assignment and cable wiring diagrams are presented.
CN2510 User’s Manual Pin Assignments and Cable Wiring Pin Assignments 10/100BaseTX Port Pin Assignment Pin 1 2 3 6 Signal Tx+ TxRx+ Rx- 1 8 Console Port Pin Assignment Pin 1 2 3 4 5 6 7 8 RS-232 DSR (in) RTS (out) GND TxD (out) RxD (in) DCD (in) CTS (in) DTR (out) 1 8 Async RS-232 Port Pin Assignment Pin 1 2 3 4 5 6 7 8 RS-232 DSR (in) RTS (out) GND TxD (out) RxD (in) DCD (in) CTS (in) DTR (out) 1 8 Cable Wiring 10/100BaseTX Port Cable Wiring Straight-Through Cable Cross-Over Cable RJ45 Plug
CN2510 User’s Manual Pin Assignments and Cable Wiring Async RS-232 Port Cable Wiring 8-pin RJ45 to Male DB9 for CN2510 RJ45 Port RJ45 Connector Male DB9 RS-232 Device CN2510 Cable Wiring 8 pins DSR RTS GND TxD RxD DCD CTS DTR Female DB9 9 pins 1 2 3 4 5 6 7 8 6 7 5 3 2 1 8 4 DTR CTS GND RxD TxD DCD RTS DSR 8-pin RJ45 to Female DB9 for CN2510 RJ45 Port RJ45 Connector Female DB9 RS-232 Device CN2510 Cable Wiring 8 pins DSR RTS GND TxD RxD DCD CTS DTR Male DB9 9 pins 1 2 3 4 5 6 7 8 4 8
CN2510 User’s Manual Pin Assignments and Cable Wiring 8-pin RJ45 to Male DB25 for CN2510 RJ45 Port RJ45 Connector Male DB25 RS-232 Device CN2510 Cable Wiring 8 pins DSR RTS GND TxD RxD DCD CTS DTR Female DB25 1 2 3 4 5 6 7 8 25 pins 6 4 7 2 3 8 5 20 DTR CTS GND RxD TxD DCD RTS DSR DB9 and DB25 Connector Pin Assignments DB9 Connector Pin Assignment Male DB9 Connector DSR (in) 6 RTS (out) 7 CTS (in) 8 1 DCD (in) 2 RxD (in) 3 TxD (out) 4 DTR (out) 5 GND Female DB9 Connector DCD (in) 1 RxD (in)
E LCM Display Appendix E For first time installation, we recommend using the LCM display and four push buttons to configure the IP address. Basic Operation If the CN2510 is working properly, the LCM panel will display a green color. The red Ready LED will also light up, indicating that the CN2510 is receiving power. After the red Ready LED turns to green, you will see a display similar to: C N 2 5 1 0 - 8 _ 1 9 1 9 2 . 1 6 8 . 1 2 7 . 2 5 4 This is where • CN2510-8 • 19 • 192.
CN2510 User’s Manual LCM Display C N 2 5 1 0 - 0 8 _ 0 3 1 9 2 . 1 6 8 . 1 2 7 . 2 5 t t i n g 4 MENU M a i n S e r v M e e r n U s e ↓ In addition, you only need to remember to: • • • Use the SEL button to move up one level (i.e., left to right on the tree graph) Use the MENU button to move down one level (i.e., right to left on the tree graph) Use the cursor keys, U and V, to scroll between the various options within a level (i.e.
CN2510 User’s Manual LCM Display The first type involves entering numbers, such as IP addresses, Netmasks, etc. In this case, you change the number one digit at a time. The up cursor (U) is used to decrease the highlighted digit, the down cursor (V) is used to increase the highlighted digit, and the sel button is used to move to the next digit. When the last digit has been changed, pressing sel simply enters the number into CN2510’s memory.
F Appendix F Service Information In this appendix, we show you how to contact Moxa for information about this and other products, and how to report problems.
CN2510 User’s Manual Service Information MOXA Internet Services Customer satisfaction is our number one concern, and to ensure that customers receive the full benefit of our products, Moxa Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates. The following services are provided E-mail for technical support................................support@moxa.com.tw World Wide Web (WWW) Site for product information: .........................
CN2510 User’s Manual Service Information Problem Report Form MOXA CN2510 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: CN2510-8 CN2510-16 2. Serial Number: CN2510-8-48V CN2510-16-48V _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see. A clearly written description of the problem will allow us to reproduce the symptoms, and expedite the repair of your product.
CN2510 User’s Manual Service Information Product Return Procedure For product repair, exchange, or refund, the customer must: Provide evidence of original purchase. Obtain a Product Return Agreement (PRA) from the sales representative or dealer. Fill out the Problem Report Form (PRF). Include as much detail as possible for a shorter product repair time. Carefully pack the product in an anti-static package, and send it, pre-paid, to the dealer.