CN2610 Dual-LAN 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.
CN2610 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 the Serial Ports................................................................................... 4-5 Save....................................................................................................................... 4-6 Restart ................................................................................................................... 4-7 Setting up Hosts ....................................................................................................
Accessing the Console Utility .............................................................................. 10-2 Selecting the Application...................................................................................... 10-3 Configuring FIXTTY Mode ................................................................................... 10-4 Configuring the Serial Ports................................................................................. 10-5 Save.................................................
Configuring the Static Routing Table ................................................................... 14-4 Static Routing Examples...................................................................................... 14-5 Configuring Routes to the Internet........................................................................ 14-5 Configuring Routes to the Internet and Intranet.................................................... 14-6 Configuring Multiple-Point Routes.....................................
Setting up Windows 2003 Hosts..........................................................................B-16 Appendix C SNMP Agent with MIB II ......................................................................... C-1 Appendix D Pin Assignments and Cable Wiring ...................................................... D-1 Pin Assignments ....................................................................................................D-2 10/100BaseTX Port Pin Assignment ................................
1 Chapter 1 Introduction Welcome to Moxa CN2610 Dual LAN Async Server. Models are available with 8 or 16 asynchronous RS-232 ports, and all models come with two 10/100 Mbps Ethernet LAN ports. CN2610 Dual LAN Async Server is used to connect terminals, modems, printers, and other asynchronous serial devices to LAN hosts. CN2610 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.
CN2610 User’s Manual Introduction Product Features Hardware y y y y y y y Dual LAN ports (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.
CN2610 User’s Manual Introduction Front Panel LCM Display Panel Push Buttons CN2610 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 Ready Reset Button Feature SEL Rx Ready LED LED Indicators Description Press the Reset button for 5 seconds to load factory defaults. CN2610 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 CN2610 Dual LAN Async Server. Both basic and advanced software configuration instructions are given.
CN2610 User’s Manual Getting Started Hardware Installation Desktop Place your CN2610 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 CN2610 and other equipment. Do not place equipment or objects on top of the unit, as this might damage the server. Pads Bottom of CN2610 Rackmount CN2610 is designed to be mounted on a standard 19-inch rack.
CN2610 User’s Manual Getting Started Wiring Requirements ATTENTION Safety First! Be sure to disconnect the power cord before installing and/or wiring your CN2610. 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.
CN2610 User’s Manual Getting Started Connecting to a Serial Device Use appropriately wired serial data cables to connect serial devices to CN2610’s serial ports. Connecting to the Console Port A console is a combination of keyboard and monitor that is used to configure settings and monitor the status of your system. The console port can be used if a network is unavailable, or you do not know CN2610’s IP address.
CN2610 User’s Manual Getting Started to complete the configuration process and to gather information about all servers on the network. 1. Run upgrade.exe, located in the \Software\Firmware\ folder on the CN2610 Documentation and Software CD, or run NPort Tool Æ Firmware Utility from the Start menu. 2. The CN2610 Utility will search for all CN2610s on the network. 3. The CN2610 Utility lists all available servers on the network. Note that servers in grey are password protected.
CN2610 User’s Manual Getting Started connections, and then use search to try locating the server again. Using Telnet 1. Telnet over the network to the server’s IP address. 2. Type 1 to choose ansi/vt100, and then press Enter. Telnet 192.168.127.254 Async Server CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3. CN2610’s MAIN MENU will open, as shown below. Telnet 192.168.127.254 CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Getting Started 2. Click Next to Continue. 3. Select the I Agree option and then click Next.
CN2610 User’s Manual Getting Started 4. Select a directory in which to install the CN2610 Utility, and then click Next. 5. Click Next to continue.
CN2610 User’s Manual Getting Started 6. Wait while the PComm Lite software is installed. 7. Click Close.
CN2610 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 CN2610 console port. Start PComm Terminal, and then click the left-most icon to open a new connection. 10. Click the Communication Parameter tab, select the COM port (COM2 in this example) for console connection, 115200 for Baudrate, 8 for Data Bits, None for Parity, and 1 for Stop Bits.
CN2610 User’s Manual Getting Started 11. Click 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.
CN2610 User’s Manual Getting Started 13. The MAIN MENU is shown below. (NOTE: Click Edit Æ Font to choose a different font for the MAIN MENU.) Configuring CN2610—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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Getting Started CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------[Info.] Lan Adv. Host_table Route_table User_table Quit Examine/modify async server basic configuration ESC: back to menu Enter: select Async server name [CN2610-8_19 Async server location [ Async server serial number [3] Domain server 1 IP address [192.168.1.
CN2610 User’s Manual Getting Started Server Configuration—LAN 1. From the MAIN MENU, use the arrow keys to select Server, and then press Enter. CN2610-8 CN2610-8_19 V2.0 MAIN MENU -----------------------------------------------------------------------------[Server] Port seTting sAve Utility Restart Exit Examine/modify async server node/table configuration Enter: select 2. ESC: previous menu From the SERVER MENU, select Lan, and then press Enter. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Getting Started determine if the destination TCP/IP host is on the same subnet. If the address is on the same subnet, a connection is established directly from the CN2610. Otherwise, the connection is established through the “default gateway.” If this field is left ‘Blank’ the netmask will depend on the default IP address class (which depends on the IP address itself). The netmask is 255.0.0.0 for class A, 255.255.0.0 for class B, and 255.255.255.0 for class C.
CN2610 User’s Manual Getting Started RADIUS server IP—The IP address of the RADIUS (Remote Authentication Dial-In User Service) server is used to authenticate remote dial-in users connecting from an ISP (Internet Service Provider). Leave this field blank if you do not have a RADIUS server on your network. Windows NT includes RADIUS software. For UNIX-based platforms, refer to Appendix B for information about setting up a RADIUS server.
CN2610 User’s Manual Getting Started CN2610-8 CN2610-8_19 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 Host_table contains frequently accessed host names and their corresponding IP addresses. Adding entries to this table gives you the advantage of being able to refer to a host by name, instead of by IP address.
CN2610 User’s Manual Getting Started CN2610-8 CN2610-8_19 V2.0 ----------------------------------------------------------------------Info. Lan Adv.
CN2610 User’s Manual Getting Started CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------Info. Lan Adv. Host_table Route_table [User_table] Quit Examine/modify the user/password table ESC: back to menu Entry 01 02 03 04 05 06 07 08 Enter: select User name [ [ [ [ [ [ [ [ Password ] ] ] ] ] ] ] ] [ [ [ [ [ [ [ [ ] ] ] ] ] ] ] ] Phone number [ [ [ [ [ [ [ [ ] ] ] ] ] ] ] ] Save When exiting the SERVER MENU, you will be prompted to save settings.
CN2610 User’s Manual Getting Started CN2610-8 CN2610-8_19 V2.
3 Chapter 3 Knowing Your Application This chapter discusses a variety of applications for CN2610 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. CN2610 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.
CN2610 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 LAN1 LAN2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 CN2610 AC POWER 100-240V, 47-63Hz Bar Code Reader POS Terminal Bar Code Reader POS Terminal Bar Code Reader POS Terminal Moxa provides CN2610 COM port drivers for all Windows operating systems.
CN2610 User’s Manual Knowing Your Application Linux Real TTY/Unix Fixed TTY (NT Real COM) Linux, Unix Ethernet CN2610 CN2610 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 CN2610 Async Server’s serial ports are provided for Linux environments.
CN2610 User’s Manual Knowing Your Application Device Control (Device Control) IBM SUN SCO UNIX TCP/IP CN2610 { 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 CN2610 Device Control application allows you to choose between two different operation modes: ASPP and RAW.
CN2610 User’s Manual Knowing Your Application UDP Communication (Raw UDP) R TCP/IP R Ethernet UDP datagram Serial ports Console LAN1 LAN2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 AC POWER 100-240V, 47-63Hz CN2610 Serial Finger Printer UDP is a non connection-oriented data transmission protocol that has the advantages of efficient, high-speed, high-volume data transmission.
CN2610 User’s Manual Knowing Your Application Dual-host Redundant Data Acquisition System (DRDAS) Backup PC Primary PC LAN A LAN B Primary CN2610 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/422/485 Data Remote Terminal Unit (RTU) The DRDAS operation mode provides a highly redundant network structure that takes advantage of CN2610’s dual LAN ports, dual IP addresses, and dual MAC addresses.
CN2610 User’s Manual Primary PC Knowing Your Application Backup PC LAN A LAN B Primary CN2610 CN2610 16 port RS-232 Async Server 1 2 3 4 5 6 7 8 9 16 port RS-232 Async Server 10 11 12 13 14 15 16 1 MENU SEL Ready 2 3 4 5 Tx Tx Reset Reset Rx MENU SEL Ready Rx 6 7 8 9 10 11 12 13 14 15 16 Backup RS-232/422/485 Data Remote Terminal Unit (RTU) This type of highly redundant setup is implemented with two CN2610s, as shown above in the structure diagram.
CN2610 User’s Manual Knowing Your Application Console Management (Reverse Terminal) Unix Windows NT Telnet TCP/IP CN2610 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 CN2610 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.
CN2610 User’s Manual Knowing Your Application Terminal Access (Terminal) Unix Windows NT TCP/IP CN2610 CN2610 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 Terminal Terminal Terminal CN2610’s Terminal Access application is used to connect terminals to Unix or Windows Servers over a network.
CN2610 User’s Manual Knowing Your Application Multi-host TTY (Multi-host TTY) Unix Moxattyd Unix Moxattyd Unix Moxattyd Unix Moxattyd TCP/IP CN2610 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 CN2610 Terminal Swith Session Between different Unix server by Hot Key The Multi-host TTY application is ideal for connecting over a network to multiple Unix hosts from several sessions simultaneously.
CN2610 User’s Manual Knowing Your Application Dial-in/Out-of-Band Management (Dialin/out) Web Server E-mail Server TCP/IP CN2610 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 CN2610 Router Modem PPP Dialout SLIP Dialin PPP Dialin Internet Modem UNIX Server PC Notebook Moxa CN2610 Async Server provides dial-up/dial-out access for ISPs and enterprises that need a remote access solution.
CN2610 User’s Manual Knowing Your Application Network Printer (Printer) Unix IBM TCP/IP CN2610 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 CN2610 RS-232 Printer Printer Printer Printer CN2610 Async Server’s printing program (running under UNIX) provides an excellent solution for banking and stock exchange services with huge printing demands.
CN2610 User’s Manual Knowing Your Application Multiplexor Access (Multiplex) IBM workstation with multiport board RS-232 CN2610 CN2610 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 CN2610 CN2610 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 CN2610 Async Server supports Real COM/TTY drivers for Windows and Linux, allowing CN2610’s serial ports to be recognized as Real COM ports by the Windows operating system, or Real TTY ports by Linux operating systems. CN2610 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.
CN2610 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 CN2610’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.
CN2610 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. CN2610-8 CN2610-8_19 V2.0 MAIN MENU -----------------------------------------------------------------------------Server [Port] seTting sAve Utility Restart Exit Examine/modify async server ports configuration Enter: select 2.
CN2610 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. CN2610-8 CN2610-8_19 V2.
CN2610 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.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------Mode [Line] mOdem Welcome_MSG Quit Examine/modify asynchronous port configuration ESC: back to menu Port 01 02 03 04 05 06 07 08 Speed [115200] [115200] [115200] [115200] [115200] [115200] [115200] [115200] Enter: Bits [8] [8] [8] [8] [8] [8] [8] [8] Setting Speed Bits Stop Parity FIFO RTS/CTS XON/XOFF Discon.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY CN2610-8 CN2610-8_19 V2.0 MAIN MENU -----------------------------------------------------------------------------Server Port seTting [sAve] Utility Restart Exit Save current configuration to Flash ROM ESC: back to menu Enter: select +-------------------------------------+ |Enter to updated, other key to cancel| +-------------------------------------+ Restart 1. From the MAIN MENU, select Restart. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. When the Welcome to the Add Hardware Wizard window opens, click Next to continue. 4. Wait patiently while the Wizard searches for servers connected to the network.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 5. The next window to open will ask you if the hardware is connected. Select Yes, I have already connected the hardware, and click Next to continue. 6. Select Add a new hardware device, and then click Next to continue.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. Select Install the hardware that I manually select from a list (Advanced) to install the hardware, and then click Next to continue. 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 Next to continue.
CN2610 User’s Manual 9. Windows Real COM/Linux Real TTY/Unix Fixed TTY The window that opens next will ask you to select the device driver you want to install for this hardware. Click Have Disk… to install from the CD. 10. Locate and then select the driver file NPSERVER.INF. Click Open to proceed with the installation.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 11. Select the correct CN2610 model, and then click Next to continue. 12. The Wizard will start installing the driver, and automatically search the network for copies of the CN2610 model you selected in the previous step.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 Continue Anyway to proceed. 14. Wait patiently while the driver is installed.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 15. You can select the CN2610 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 Next to finish installing the CN2610 driver. 16. The next window reports that the driver was installed, and port drivers will be installed next. Click Next to continue. 17. Click Finish to complete the installation of the server driver.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY Installing Ports 1. After the CN2610 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 Next to continue. 2. Select Include this location in the search, and then click Next to continue.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 Continue Anyway to proceed. 4. The driver for Moxa Port 0 will be installed.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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 CN2610. 6. After the installation is complete, you can check Ports (COM & LPT) under Device Manager to verify that all of the ports were installed successfully.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY Configuring CN2610 in a Windows XP/2003 Environment After the CN2610 driver is installed, you will be given the option to proceed directly with the configuration of CN2610. You may also configure CN2610 at a later time. In this section we explain how to configure Real COM Mapping. 1. Click Device Manager Æ Multiport serial adapters, right click the CN2610 you would like to configure, and select Properties.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 2. Click the Configuration tab. 3. Click Settings to configure CN2610’s Basic Configuration, Password, and Access Control.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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. 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.
CN2610 User’s Manual 6. Windows Real COM/Linux Real TTY/Unix Fixed TTY The Access Control page allows you to set up access rights for each of the CN2610’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). To allow access to a group of IP addresses, adjust the “netmask” accordingly. To allow any IP address to access a port, delete all IP addresses assigned to that port.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. Click Modify to save all Property Sheet settings and return to the Properties / Configuration page. 8. Click Ports Setting to configure the data transmission mode and FIFO for each COM port. 9. Check the box(es) next to the port(s) you would like to modify, and then click Modify Setting.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 10. Modify the settings that need to be changed, and then click OK. Setting up Windows 2000 Hosts In this section, we explain how to set up a host in a Windows 2000 environment. Installing a Server 1. Unzip the Windows 2000 driver file, located on the CN2610 CD ROM, to your hard disk. 2. Run the Windows Add Hardware Wizard, located in the Control Panel.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. When the Welcome to the Add Hardware Wizard window opens, click Next to continue. 4. In the Choose a Hardware Task window, select Add/Troubleshoot a device, and then click Next to continue.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 5. In the Choose a Hardware Device window, select Add a new device, and then click Next to continue. 6. In the Find New Hardware window, select No, I want to select the hardware from a list, and then click Next to continue.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. In the Hardware Type window, select Multi-port serial adapters from the Hardware types list, and then click Next to continue. 8. Click Have Disk to install from the CD, and then click Next to continue.
CN2610 User’s Manual 9. Windows Real COM/Linux Real TTY/Unix Fixed TTY After locating the win2k folder, select the driver file NPSERVER.INF, and then click Open. 10. Select the correct CN2610 model, and then click Next to continue.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 11. The Wizard will start installing the Server driver, and automatically search the network for copies of the CN2610 model you selected in the previous step. 12. Although the next window to open states that the software hasn’t passed Windows Logo testing, you can rest assured that this driver has already been tested and been shown that it can support this Windows OS. Click Continue Anyway to proceed.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 13. You can select the CN2610 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 Next to finish installing CN2610 driver.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 14. The next window reports that the driver was installed, and port drivers will be installed next. Click Next to continue. Installing Ports 1. The ports will be installed automatically. Click Finish to conclude the installation procedure.
CN2610 User’s Manual 2. 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 CN2610 in a Windows 2000 Environment After the CN2610 driver is installed, you will be given the option to proceed directly with the configuration of CN2610. You may also configure CN2610 at a later time. In this section we explain how to configure Real COM Mapping. 1.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY to configure, and select Properties. 2. Click the Configuration tab. 3. Click Settings to configure CN2610’s Basic Configuration, Password, and Access Control.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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. 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.
CN2610 User’s Manual 6. Windows Real COM/Linux Real TTY/Unix Fixed TTY The Access Control page allows you to set up access rights for each of the CN2610’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). To allow access to a group of IP addresses, adjust the “netmask” accordingly. To allow any IP address to access a port, delete all IP addresses assigned to that port.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. And then click OK to return to the Access Control page. 8. Click OK to return to the Configuration page. 9. Click Ports Setting to configure the data transmission mode and FIFO for each COM port.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 10. Check the box(es) next to the port(s) you would like to modify, and then click Modify Setting. 11. Modify the settings that need to be changed, and then click OK.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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. Unzip the Windows 95/98/ME/NT driver file, located on the CN2610 CD ROM, to your hard disk. 2. Locate and run the Setup.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 4. Select Custom mode, and then click Next to continue. 5. Select a Destination Directory and then click Next to continue. 6. Click Next to finish installing NPort Pro Manager.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. After the driver is installed, NPort Pro Manager and the Add Server Wizard will start running automatically. Select Yes, and then click Next to continue. 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 Next to continue.
CN2610 User’s Manual 9. Windows Real COM/Linux Real TTY/Unix Fixed TTY If necessary, enter a different IP address in the Server IP address box, and then click Next to continue. 10. Select the COM number for CN2610’s port 1. The rest of the ports will be mapped automatically. Click Next to continue.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 11. For added security, set a password for the CN2610. Check the Auto-Saved box to save the password on your computer. Click Next to continue. 12. Check the new server settings to make sure they are correct, and then click Finish.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 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. Configuring CN2610 in a Windows 95/98/ME/NT Environment After the CN2610 driver is installed, you can proceed directly with the configuration of CN2610, or configure CN2610 at a later time. In this section we explain how to configure Real COM Mapping. 1.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 2. Right click the CN2610 you wish to configure, click the right mouse button, and then select Server Properties. 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.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 4. On the Password page, set up a password for this CN2610 for added security. Check the Auto Save Password on this computer box if you want your computer to remember the password. 5. The Access Control page allows you to set up access rights for each of the CN2610’s ports. Access right is assigned by IP address.
CN2610 User’s Manual Windows Real COM/Linux Real TTY/Unix Fixed TTY 6. The Transmission page lets you to select a Transmission Mode and Tx FIFO for each port. 7. The Access Control page is used to modify access rights to the server.
CN2610 User’s Manual 8. Windows Real COM/Linux Real TTY/Unix Fixed TTY The Advanced page allows you to add routes to CN2610. However, since CN2610 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 CN2610 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 CN2610.
CN2610 User’s Manual Setting Up Device Control Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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. CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual 5. Setting Up Device Control ASPP mode is selected by default. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Device Control CN2610-8 CN2610-8_19 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.
CN2610 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.
CN2610 User’s Manual Setting Up Device Control CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual 4. Setting Up Device Control Press Esc to return to the PORT MENU. Configuring the Serial Ports Open Port Menu Æ Line to configure serial port settings. 1. From the MAIN MENU, select Port, and then press Enter. CN2610-8 CN2610-8_19 V2.0 MAIN MENU -----------------------------------------------------------------------------Server [Port] seTting sAve Utility Restart Exit Examine/modify async server ports configuration Enter: select 2.
CN2610 User’s Manual 4. Setting Up Device Control Press ESC to return to the PORT MENU. Save When exiting the SERVER MENU, you will be prompted to save settings. Press Y to save. CN2610-8 CN2610-8_19 V2.0 SERVER MENU -----------------------------------------------------------------------------Info. Lan Adv.
CN2610 User’s Manual Setting Up Device Control ASPP Library Introduction The CN2610 Documentation and Software CD contains example programs that illustrate how to control an ASPP port. After uncompressing the file ASPP.tar.z, the folder \aspp\as.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.
CN2610 User’s Manual Setting Up Device Control ASPP Examples for Windows 1. Program testing environment: Ethernet RS-232 CN2610 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 CN2610 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.
CN2610 User’s Manual Setting Up Raw UDP Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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. CN2610-8 CN2610-8_19 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.
CN2610 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. CN2610-8 CN2610-8_19 V2.
CN2610 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 CN2610’s (2, 3, 4 are 1/2/3/4 Port: 1-65535 Ethernet port.
CN2610 User’s Manual Setting Up Raw UDP CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Raw UDP CN2610-8 CN2610-8_19 V2.0 SERVER MENU -----------------------------------------------------------------------------Info. Lan Adv. Host_table Route_table [User_table] Quit Examine/modify async server basic configuration Enter: select ESC: previous menu +-----------------------------------------------------+ | Warning !!! | | You had modified the configuration without saving.
7 Chapter 7 Setting Up the Dual-host Redundant Data Acquisition System This chapter includes information about how to set up a CN2610 Async Server, that allows the redundant terminal on the redundant Ethernet network to access CN2610’ serial ports. The DRDAS mode realizes a highly redundant structure.
CN2610 User’s Manual Setting Up DRDAS Configuring Port Operation Mode – Port Menu [Mode] Open Port MenuÆMode to install DRDAS mode and application parameters. 1. To enter the CN2610 MAIN MENU, use either Telnet from a network terminal, or connect directly to the CN2610 Async Server using a console terminal. Select ansi/vt100, and then press Enter. Refer to chapter 2 for more details about how to enter the MAIN MENU. Async Server CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 2.
CN2610 User’s Manual Setting Up DRDAS CN2610-8 CN2610-8_19 V2.0 MAIN MENU -----------------------------------------------------------------------------Server [Port] seTting sAve Utility Restart Exit Examine/modify async server ports configuration Enter: select 4. ESC: previous menu From the PORT MENU, select Mode, and then press Enter. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up DRDAS CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up DRDAS +-----------------------------------------------------+ | TCP data port : [955] | | TCP command port : [971] | | Primary IP addr : [ ] | | Backup 1 IP addr : [ ] | | Backup 2 IP addr : [ ] | | Backup 3 IP addr : [ ] | | TCP alive check time : [0 ] minutes | +-----------------------------------------------------+ Setting Value Notes Necessity TCP data port number Via the data port, users can retrieve data through the async line.
CN2610 User’s Manual 3. Setting Up DRDAS Specify the relevant settings. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up DRDAS CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------[Mode] Line mOdem Welcome_MSG Quit Examine/modify the operation mode of async ports ESC: back to menu Enter: select +------------------------------------------+ | Warning !!! | | If any field changed in this menu, | | use [Restart] [System] to take effect | | Press any key to continue. | +------------------------------------------+ 2. You may also save later.
CN2610 User’s Manual Setting Up DRDAS CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------[System] Port Quit Restart the Async Server ESC: back to menu Enter: select +--------------------------------------------------------------------+ | Warning !!! | | Restart system will disconnect all ports and clear all status value | | ‘ Enter: continue ESC: cancel | +--------------------------------------------------------------------+ 3.
8 Chapter 8 Setting Up Reverse Terminal In this chapter, we show how to use CN2610 to connect terminals to a computer over an Ethernet network.
CN2610 User’s Manual Setting Up Reverse Terminal Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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. CN2610-8 CN2610-8_19 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.
CN2610 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 CN2610’s serial ports, which is the reverse direction provided by CN2610’s terminal application. CN2610-8 CN2610-8_19 V2.
CN2610 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 CN2610’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.
CN2610 User’s Manual Setting Up Reverse Terminal CN2610-8 CN2610-8_19 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. Each item is described in detail below the figure. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Reverse Terminal Save When exiting the SERVER MENU, you will be prompted to save settings. Press Y to save. CN2610-8 CN2610-8_19 V2.0 SERVER MENU -----------------------------------------------------------------------------Info. Lan Adv.
9 Chapter 9 Setting Up Terminal In this chapter, we describe the steps you should follow to configure Moxa CN2610 as a Terminal Server. CN2610 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 CN2610’s RS-232 ports, or connected from a remote site by using external modems.
CN2610 User’s Manual Setting Up Terminal Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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. CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual 5. Setting Up Terminal TERM_ASC mode is selected by default. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual 3. Setting Up Terminal Move the cursor to the Description/more setting column and press Enter. CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual Setting Telnet TCP port Setting Up Terminal Notes Necessity Enter a number or leave the space blank. Optional If not specified, then by default, port 23 is used. If you want to use Telnet without a TCP port number, set this option to 23. Primary host IP IP address or If specified, designates a ‘permanent’ Optional the name host to which the terminal will always be defined in the connected.
CN2610 User’s Manual 1. Setting Up Terminal Move the cursor to the Mode column for the port and press Enter. CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual Setting Up Terminal +------------------------------------------------+ | Quit key : [^E] | | Auto-link protocol : [none ] | | Telnet TCP port : [23 ] | | Primary host IP : [ ] | | Link by input IP : [Disable] | | Secondary host IP : [ ] | | Auto-login prompt : [ogin: ] | | Password prompt : [assword: ] | | Login user name : [ ] | | Login password : [ ] | | Terminal type : [ansi ] | | Inactivity time : [0 ] minutes | | Authentication type : [local ] | | TCP alive check time : [0 ] minu
CN2610 User’s Manual 5. Setting Up Terminal Setting Authentication type Value None/local/ server TCP alive check time 0-99 minutes Notes Necessity None: Authentication is not required. Optional local: Check the ID stored in the User_table (defined under the SERVER MENU). Server: Check the ID with the external RADIUS server. Refer to Appendix C for RADIUS installation information. The time period CN2610 waits before Optional checking if the TCP connection is alive or not.
CN2610 User’s Manual Setting Up Terminal 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.
CN2610 User’s Manual Setting Up Terminal Restart 1. From the MAIN MENU, select Restart. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
10 Chapter 10 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 CN2610, and the CN2610 will listen on different TCP ports for connection requests from various Moxattyd.
CN2610 User’s Manual Setting Up Multi-Host TTY Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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. CN2610-8 CN2610-8_19 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.
CN2610 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. CN2610-8 CN2610-8_19 V2.
CN2610 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. CN2610 provides 3 modes that depend on the connection mode supported by the terminal. Idle time before the port is disconnected automatically.
CN2610 User’s Manual Setting Up Multi-Host TTY CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------Mode [Line] mOdem Welcome_MSG Quit Examine/modify asynchronous port configuration ESC: back to menu Port 01 02 03 04 05 06 07 08 Speed [115200] [115200] [115200] [115200] [115200] [115200] [115200] [115200] Enter: Bits [8] [8] [8] [8] [8] [8] [8] [8] Setting Speed Bits Stop Parity FIFO RTS/CTS XON/XOFF Discon.
CN2610 User’s Manual Setting Up Multi-Host TTY CN2610-8 CN2610-8_19 V2.0 MAIN MENU -----------------------------------------------------------------------------Server Port seTting [sAve] Utility Restart Exit Save current configuration to Flash ROM ESC: back to menu Enter: select +-------------------------------------+ |Enter to updated, other key to cancel| +-------------------------------------+ Restart 1. From the MAIN MENU, select Restart. CN2610-8 CN2610-8_19 V2.
CN2610 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 CN2610 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, CN2610 IP address, and TCP port number in the entry for the file moxattyd.cf.
CN2610 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.
11 Chapter 11 Setting Up Dialin/out In this chapter, we describe the steps required to configure Moxa CN2610 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.
CN2610 User’s Manual Setting Up Dial-in/Out Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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. CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual Setting Up Dial-in/Out CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Dial-in/Out CN2610-8 CN2610-8_19 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.
CN2610 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.
CN2610 User’s Manual Setting Up Dial-in/Out CN2610-8 CN2610-8_19 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.
CN2610 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.
CN2610 User’s Manual Setting Up Dial-in/Out CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual Setting Up Dial-in/Out +------------------------------------------------+ | Quit key : [^E] | | Auto-link protocol : [none ] | | Telnet TCP port : [23 ] | | Primary host IP : [ ] | | Link by input IP : [Disable] | | Secondary host IP : [ ] | | Auto-login prompt : [ogin: ] | | Password prompt : [assword: ] | | Login user name : [ ] | | Login password : [ ] | | Terminal type : [ansi ] | | Inactivity time : [0 ] minutes | | Authentication type : [none ] | | TCP alive check time : [0 ] mi
CN2610 User’s Manual 7. Setting Up Dial-in/Out Setting Authentication type Value None/local/ server TCP alive check time 0-99 minutes Notes Necessity None: Authentication is not required. Optional local: Check the ID stored in the User_table (defined under the SERVER MENU). Server: Check the ID with the external RADIUS server. Refer to Appendix C for RADIUS installation information. The time period CN2610 waits before Optional checking if the TCP connection is alive or not.
CN2610 User’s Manual 9. Setting Up Dial-in/Out Setting Inactivity time Value 0-99 minutes Necessity Optional ID Notes Idle time before the port is disconnected automatically. If set to 0 minutes, the port will not disconnect. If you are using software to collect Link quality information, choose YES.
CN2610 User’s Manual Setting Up Dial-in/Out Configuring the Serial Ports Open Port Menu Æ Line to configure serial port settings. 1. From the MAIN MENU, select Port, and then press Enter. CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual 4. Setting Up Dial-in/Out 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. From the MAIN MENU, use the arrow keys to select Port, and then press Enter. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Dial-in/Out Optional Welcome Message Open Port Menu Æ Welcome_MSG to set up a welcome message to greet dial-in users. 1. From the MAIN MENU, use the arrow keys to select Port, and then press Enter. CN2610-8 CN2610-8_19 V2.0 MAIN MENU -----------------------------------------------------------------------------Server [Port] seTting sAve Utility Restart Exit Examine/modify async server ports configuration Enter: select 2.
CN2610 User’s Manual Setting Up Dial-in/Out CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------Info. Lan Adv. Host_table Route_table [User_table] Quit Examine/modify the user/password table ESC: back to menu Entry 01 02 03 04 05 4. Enter: select User name [ [ [ [ [ Password ] ] ] ] ] [ [ [ [ [ Phone Number ] ] ] ] ] [ [ [ [ [ ] ] ] ] ] Press Esc to return to the MAIN MENU.
CN2610 User’s Manual Setting Up Dial-in/Out Restart 1. From the MAIN MENU, select Restart. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
12 Chapter 12 Setting Up Printer In this chapter, we describe how to set up Moxa CN2610 as a printer server. Up to 16 serial printers can be connected simultaneously to one CN2610. At the end of the chapter, the settings needed for one-port parallel printing is illustrated for both UNIX and Windows systems.
CN2610 User’s Manual Setting Up Printer Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
CN2610 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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Printer CN2610-8 CN2610-8_19 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.
CN2610 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. CN2610-8 CN2610-8_19 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.
CN2610 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 CN2610 waits before Optional checking if the TCP connection is alive or not. If no response is received, CN2610 will reset the port and terminate the connection.
CN2610 User’s Manual Setting Up Printer Parity FIFO RTS/CTS XON/XOFF Discon. Ctrl None, Even, Odd, Mark, Space Yes, No Yes, No Yes, No None DSR off DCD off 4. 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. DCD off will be interpreted as a disconnection. Press ESC to return to the PORT MENU.
CN2610 User’s Manual Setting Up Printer Restart 1. From the MAIN MENU, select Restart. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Steps Setting Up Printer SCO UNIX Command Description set rw #chmod 600 /dev/iop1 Change access permission to 600 or rw----- set printer name #/usr/lib/lpadmin -pLaser1 -v/dev/iop1 Redirect the printer spooler to write to pipe ‘iop1’. Assumes the printer name is Laser1. execute asprint for Group 01 #/asprint /dev/iop1 ‘CN2610 IP address’ 2048 & Start ‘asprint’ utility to read from pipe ‘iop1’ and write to the CN2610 printer port.
CN2610 User’s Manual Steps Setting Up Printer SCO UNIX Command execute asprint for Group 01 #/asprint /dev/iop1 ‘CN2610 IP address’ 2048 & Description Start ‘asprint’ utility to read from pipe ‘iop1’ and write to the CN2610 printer port. ‘/dev/iop1’: the device name the spooler is writing to. ‘CN2610’: the host name of the CN2610 as defined in /etc/hosts, or its IP address. ‘2048’: the TCP port number (Group01) of the printer port on the CN2610.
CN2610 User’s Manual Steps Setting Up Printer SCO UNIX Command execute asprint for Group 01 #/asprint /dev/iop1 ‘CN2610 IP address’ 2048 & Description Start ‘asprint’ utility to read from pipe ‘iop1’ and write to the CN2610 printer port. ‘/dev/iop1’: the device name the spooler is writing to. ‘CN2610’: the host name of the CN2610 as defined in /etc/hosts, or its IP address. ‘2048’: the TCP port number (Group01) of the printer port on the CN2610. accept printer Laser1 #lpr -PLaser1 file_name.
CN2610 User’s Manual Setting Up Printer 3. Select Microsoft TCP/IP Printing, and then click OK to continue. 4. Insert the Windows NT installation CD to your computer’s CD driver. 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 Start Æ Settings Æ Printers. 8. Click Add Printer to start the Add Printer Wizard. 9. Select My Computer, and then click Next to continue.
CN2610 User’s Manual Setting Up Printer 10. In the window that opens next, click Add Port. 11. Select LPR Port. Click New Port…. 12. Enter CN2610’s IP Address, and then enter the Print Queue’s name. Click 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.
CN2610 User’s Manual Setting Up Printer 14. Select the printer’s manufacturer and model name. Click Next to continue. 15. Enter the printer’s name, and select yes if you wish to set this printer as the default printer. Click 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.
CN2610 User’s Manual Setting Up Printer 17. Print a test page to verify that the printer is configured correctly, and then click OK to finish. Setting up a Windows 2000 Host 1. Click Start Æ Settings Æ Printers. 2. Click Add Printer to start and Add Printer Wizard. 3. A Welcome message will appear. Click Next to continue.
CN2610 User’s Manual Setting Up Printer 4. Select Local printer, and click Next to continue. 5. Select Create a new port:, and then select LPR Port from the drop down list. Click Next to continue.
CN2610 User’s Manual Setting Up Printer 6. Enter CN2610’s IP Address, and then enter the Print Queue’s name. Click OK to continue. 7. Select the printer’s manufacturer and model name. Click Next to continue. 8. Enter the printer’s name, and select yes if you wish to set this printer as the default printer. Click Next to continue.
CN2610 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 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 Next to continue.
CN2610 User’s Manual Setting Up Printer 11. If you want to print a test page, reboot Windows 2000, select this printer, and click Print Test Page.
13 Chapter 13 Setting Up Multiplex In this chapter, we describe how to configure Moxa CN2610 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.
CN2610 User’s Manual Setting Up Multiplexor Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 User’s Manual Setting Up Multiplexor Selecting the Application The Multiplex application uses two Async Servers. One of the servers (called the “host” CN2610) is attached to a host with a multi-port serial board and mutiple serial lines. The other server (called the “device” CN2610) 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 CN2610’s to illustrate.
CN2610 User’s Manual Setting Up Multiplexor CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual Setting Up Multiplexor CN2610-8 CN2610-8_19 V2.
CN2610 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 CN2610’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.
CN2610 User’s Manual Setting Up Multiplexor Configuring the “Device” CN2610 1. From the MAIN MENU, select Port, and then press Enter. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Multiplexor CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual Setting Up Multiplexor CN2610-8 CN2610-8_19 V2.
CN2610 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. Telnet TCP port 23 Enter a number or leave the space blank.
CN2610 User’s Manual Setting Up Multiplexor 11. Repeat the previous steps for ports 5, 7, and 8. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Setting Up Multiplexor 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.
CN2610 User’s Manual Setting Up Multiplexor Restart 1. From the MAIN MENU, select Restart. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
14 Chapter 14 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.
CN2610 User’s Manual Setting Up Routing Accessing the Console Utility NOTE In this section, we show how to access CN2610’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 CN2610-8 Console terminal type (1: ansi/vt100, 2: vt52) : 1 3.
CN2610 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.
CN2610 User’s Manual Setting Up Routing CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------Info. Lan [Adv.
CN2610 User’s Manual Setting Up Routing Setting Entry Gateway Destination Value Notes 01-32 A maximum of 32 entries are allowed. xxx.xxx.xxx.xxx The IP address of the next-hop router. xxx.xxx.xxx.xxx The host IP address or network address of the route’s destination. xxx.xxx.xxx.xxx The destination network’s netmask. 1-15 The number of hops from the source destination. Netmask Metric 4. Necessity Fixed Required Required Required Required Press Esc to return to the MAIN MENU.
CN2610 User’s Manual Setting Up Routing Configuring Routes to the Internet and Intranet 203.67.6.1 UNIX Server Ethernet 203.67.6 203.67.6.252 TCP/IP Router CN2610 16 port RS-232 Async Server 1 2 3 4 5 6 MENU 8 9 10 11 12 13 14 15 16 SEL Ready Rx CN2610 Console Server Router Router 203.67.6.254 Modem 205.65.66.2 7 Tx Reset 203.67.6.253 Ethernet 202.65.66 Modem Internet 202.65.66.4 202.65.66.
CN2610 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 CN2610 CN2610 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 CN2610 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.
CN2610 User’s Manual Setting Up Routing Save When exiting the SERVER MENU, you will be prompted to save settings. Press Y to save. CN2610-8 CN2610-8_19 V2.0 SERVER MENU -----------------------------------------------------------------------------Info. Lan Adv. Host_table Route_table [User_table] Quit Examine/modify async server basic configuration Enter: select ESC: previous menu +-----------------------------------------------------+ | Warning !!! | | You had modified the configuration without saving.
15 Chapter 15 Administrative Utilities In this chapter, we show how to use CN2610 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.
CN2610 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. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual 3. Administrative Utilities Each item is discussed in the following subsections. CN2610-8 CN2610-8_19 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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Administrative Utilities Network 1. From the MONITOR MENU, select Network, and then press Enter. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual ErrHeader: Sent: Administrative Utilities 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). CurrEstab: The counter of TCP connections for which the current state is either ESTABLISHED or CLOSE-WAIT. ErrPorts: Received TCP datagram packets with invalid destination port. Opens: TCP connections.
CN2610 User’s Manual Administrative Utilities Routing 1. From the MONITOR MENU, select Routing, and then press Enter. CN2610-8 CN2610-8_19 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.
CN2610 User’s Manual Administrative Utilities CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Administrative Utilities CN2610-8 CN2610-8_19 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. Ethernet port 1 transceiver loopback test... OK. 3. Press Esc to restart the system.
CN2610 User’s Manual 4. Administrative Utilities When the Download ok! window appears, click 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 CN2610 CD, and then run the program.) 2. Use an RJ45-DB9 female cable to connect to the console port, and then turn on CN2610. Start the PComm Terminal program and then open a new connection.
CN2610 User’s Manual Administrative Utilities 3. On the Communication Parameter page, select COM2 for Ports, 115200 for Baudrate, 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. 5. Type 1 to choose ansi/VT100 terminal type, and then press Enter to enter the MAIN MENU.
CN2610 User’s Manual 6. Administrative Utilities Use the following keystrokes to navigate CN2610’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. From the MAIN MENU, select Utility, and then press Enter. 2. From the UTILITY MENU, select Upgrade, and then press Enter. 3.
CN2610 User’s Manual Administrative Utilities 4. When you see Start loading file … near the bottom of the screen, click the Port Manager menu. 5. Select Port Manager Æ File Transfer from the menu bar.
CN2610 User’s Manual Administrative Utilities 6. In the File Transfer window select XModem-CheckSum for Protocol and Transmit for Direction, and then click OK, The file will be transmitted to the CN2610. 7. Locate the upgrade file, CN2610_2.ROM for example, and then click Open to transfer the firmware to the CN2610.
CN2610 User’s Manual 8. Administrative Utilities The CN2610 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. This can be done using the security file .rhosts.
CN2610 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.
CN2610 User’s Manual Administrative Utilities CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------Ping Monitor Diagnostic [Upgrade] Quit Upgrade operational system program ESC: back to menu Enter: select Upgrade via Host name/IP address File name User name [Network host (using RCP) [203.67.8.22 [/home/john/CN2610.rom [john ] ] ] ] Press CTRL-U to start ...
CN2610 User’s Manual Administrative Utilities 5. When you see Start loading file … near the bottom of the screen, click the Port Manager menu. 6. Select Port Manager Æ File Transfer from the menu.
CN2610 User’s Manual Administrative Utilities 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 CN2610. 8. Choose the backup filename, CN2610.bak for example, and then click Save. 9. CN2610 will export settings to the file.
CN2610 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 CN2610’s IP address, e.g., 192.168.205.21, or CN2610’s domain name (if it’s defined in your /etc/hosts file), in the .rhosts file. 3. Telnet CN2610’s IP address. 4.
CN2610 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 the Port Manager menu.
CN2610 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 CN2610. Click OK. 8. Choose the backup filename, CN2610.bak for example, and then click Open.
CN2610 User’s Manual 9. Administrative Utilities CN2610 will import settings from the file. 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 CN2610’s IP address, e.g., 192.168.205.21, or CN2610’s domain name (if it’s defined in your /etc/hosts file), in the .rhosts file. 3. Telnet CN2610’s IP address.
CN2610 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. CN2610-8 CN2610-8_19 V2.
A Appendix A Troubleshooting In this appendix, we give solutions to various problems you may come across when using CN2610.
CN2610 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.
CN2610 User’s Manual Troubleshooting 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 Reset Problem: I used Telnet Console in a Windows 9x/NT environment, but I couldn’t use the arrow keys to select options. Solution: ¾ In Telnet, click the Terminal menu, choose Preferences, and then select VT100 Arrows in the Terminal Preferences window. Click OK to return to the MAIN MENU. The arrow keys should work properly now.
CN2610 User’s Manual Troubleshooting ¾ MOXA does not recommend that you setup 2 LAN ports in the same physical network and subnet. You might encounter unpredictable outcomes. We suggest that you connect 2 different NICs to different networks. CN2610 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 192.168.0.1 SEL Ready Rx We do NOT recommend this type of connection. 192.168.0.2 192.168.0.5 2.
CN2610 User’s Manual Troubleshooting Saving CN2610’s Parameters Question: How can I save CN2610’s parameters to recover from unexpected power failures, or to transfer the same parameters to another CN2610? 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. CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual Troubleshooting ¾ Check to see if the CN2610’s SLIP port baudrate (in the Port Æ Line menu) is the same as the remote host’s baudrate. ¾ 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. If the port is utilizing RTS/CTS hardware flow control, then the RTS, CTS pins should be included. In this case, cables with only pins 2, 3, and 7 will not work.
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.
CN2610 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.
CN2610 User’s Manual RADIUS Server CN2610-8 CN2610-8_19 V2.0 -----------------------------------------------------------------------------Info. Lan [Adv.
CN2610 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 CN2610-8 CN2610-8_19 V2.
CN2610 User’s Manual RADIUS Server +------------------------------------------------+ | Key Mapping : | | Max.
CN2610 User’s Manual RADIUS Server OS SCO OpenServer Command #mount -f ISO9660, filemode=444 Example: #mount-f ISO9660, filemode=444 /dev/cd1/mnt Solaris x86 In the volume manager mounts the CD-ROM on mount point /cdrom/cdrom0 Linux #mount /dev/cdrom or #mount-t iso9660-ro mode=0555 Example: #mount-t iso9660-ro mode=0555/dev/hdb/mnt 3. Copy the file to the UNIX host. #cp /mnt/cdrom/radius.2.3.tar 4. Extract the .tar to files.(radiu.2.3 subdirectory) #tar xvf radius.2.3.
CN2610 User’s Manual RADIUS Server +--------------------------------------------------------------------+ | Basic Configuration | +--------------------------------------------------------------------+ | > assword File : /etc/passwd | | Async Server Administration | | Save & Exit | +--------------------------------------------------------------------+ 2. Specify CN2610 IP.
CN2610 User’s Manual RADIUS Server +--------------------------------------------------------------------+ | User Permission Maintenance | +--------------------------------------------------------------------+ | Modify User Permission | | >Basic Permission Maintenance | | Extended Permission Maintenance | | Save & Exit | +--------------------------------------------------------------------+ Basic Permission Maintenance +--------------------------------------------------------------------+ | Basic Permissi
CN2610 User’s Manual RADIUS Server +--------------------------------------------------------------------+ | Extended Permission Maintenance | +--------------------------------------------------------------------+ | >Add Permission Group | | Modify Permission Group | | Delete Permission Group | +--------------------------------------------------------------------+ +--------------+----------------------------------------------------------+----+ | Add Extended | Hint : Sun Mon Tue Wed Thu Fri Sat, 0/1:accept
CN2610 User’s Manual RADIUS Server +--------------------------------------------------------------------+ | User List | +--------------------------------------------------------------------+ | >adm | | bin | | daemon | | ftp | | games | | gdm | | george | | gopher | | halt | | lp | +--------------------------------------------------------------------+ | J:Down K:Up Q:Quit Enter:Select | +--------------------------------------------------------------------+ 1.
CN2610 User’s Manual RADIUS Server Radius Hash Key:[ ]Æ RADIUS encryption key, must be the same key in the proxy server end. Select “OK” to save. 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.
CN2610 User’s Manual 5. RADIUS Server Select Service. Check the RADIUS ports. [Authentication] 1645 [Accounting] 1646 6. Select Client, and the click Add. Enter CN2610’s IP address in the IP address field. Enter CN2610’s password in the password field. The password corresponds to the RADIUS key setting in the CN2610 Console. 7. Click Apply. 8. Right click RADIUS in the left info window, and select Start. 9. You will now see that RADIUS is running.
CN2610 User’s Manual RADIUS Server Setting up Windows 2000 Hosts 1. Click Start Æ Programs Æ Administrative Tools Æ Routing and Remote Access. 2. Follow the steps below to install. Right click Server (Local) to select Configure and Enable Routing and Remote Access. Click Next to continue. 3. Select Remote access server and then click Next to continue. 4. Select Set up an advanced remote access server, and then click Next to continue. 5. Select TCP/IP protocol, and then click Next to continue.
CN2610 User’s Manual 6. RADIUS Server Specify an IP address.
CN2610 User’s Manual 7. RADIUS Server Select Yes, I want to use a RADIUS server, and then click Next to start using this function.
CN2610 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 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. Click OK to continue until the installation is finished.
CN2610 User’s Manual 5. RADIUS Server 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 CN2610. 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 CN2610.
CN2610 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.
CN2610 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
CN2610 User’s Manual Pin Assignments and Cable Wiring Async RS-232 Port Cable Wiring 8-pin RJ45 to Male DB9 for CN2610 RJ45 Port RJ45 Connector Male DB9 RS-232 Device CN2610 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 CN2610 RJ45 Port RJ45 Connector Female DB9 RS-232 Device CN2610 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
CN2610 User’s Manual Pin Assignments and Cable Wiring 8-pin RJ45 to Male DB25 for CN2610 RJ45 Port RJ45 Connector Male DB25 RS-232 Device CN2610 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 CN2610 is working properly, the LCM panel will display a green color. The red Ready LED will also light up, indicating that the CN2610 is receiving power. After the red Ready LED turns to green, you will see a display similar to: C N 2 6 1 0 - 1 6 _ 0 3 1 9 2 . 1 6 8 . 1 2 7 .
CN2610 User’s Manual LCM Display C N 2 6 1 0 - 1 6 _ 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.
CN2610 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 CN2610’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.
CN2610 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: .........................
CN2610 User’s Manual Service Information Problem Report Form MOXA CN2610 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: CN2610-8 2. Serial Number: CN2610-16 _________________ 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.
CN2610 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.