Summary of Contents for Moxa Technologies CN2510 Series
Page 1
CN2510 Async Server User’s Manual www.moxa.com/product First Edition, May 2004...
Page 2
Information provided in this manual is intended to be accurate and reliable. However, Moxa Technologies assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
Table of Contents Introduction ..................1-1 Chapter 1 Product Features..........1-2 Hardware....................1-2 Software....................1-2 Package Checklist..........1-2 Front Panel..........1-3 Rear Panel........... 1-3 Bottom Label..........1-3 Getting Started .................2-1 Chapter 2 Hardware Installation........2-2 Desktop ..................... 2-2 Rackmount....................2-2 Wiring Requirements ................2-2 Connecting CN2510-8/16’s Power ............
Page 5
RAW Mode....................5-6 Configuring Port Setting – Port Menu [Line] ....5-7 Save............5-9 Restart............5-9 ASPP Library Introduction ........5-10 ASPP Examples for Unix ........5-10 ASPP Examples for Windows ........5-11 Setting up UDP Communication.............6-1 Chapter 6 Configuring Port Operation Mode – Port Menu [Mode] ... 6-2 Raw UDP Mode..................
Page 6
Setting up Unix Hosts........11-9 Setting up a SCO Unix Host ..............11-9 Setting up a SOLARIS X86 Host ............11-11 Setting up a LINUX Host ..............11-12 Setting up Windows Hosts ........11-13 Setting up a Windows NT Host ............11-13 Setting up a Windows 2000 Host............
Page 7
Setting up UNIX Hosts........B-5 Installing the RADIUS Execution File .............B-5 RADIUS Server Configuration..............B-6 Basic/Extended Permission Group Setting ..........B-7 Setting up Windows NT Hosts ......... B-10 Setting up Windows 2000 Hosts ....... B-12 Setting up Windows 2003 Hosts ....... B-15 Pin Assignments..........
Introduction Chapter 1 Welcome to Moxa CN2510 Async Server, a communication server with 4/8/16 asynchronous RS-232 ports and one 10/100 Mbps Ethernet LAN port. CN2510 Async Server can be used to connect terminals, modems, printers, and other asynchronous serial devices to LAN hosts. CN2510 complies with TCP/IP and IEEE 802.3 specifications using standard Ethernet 10/100BaseT and twisted pair 10/100BaseTX cable as the physical medium.
Product Features Hardware 1 LAN ports (Ethernet auto-detection 10/100 Mbps) Surge protection for each serial port 4 MB RAM, 2 MB Flash ROM Tx/Rx LED for each serial port System Status LEDs 8 or 16 RJ45 RS-232 serial ports, with up to 230.4 Kbps speed Software ASCII/Binary terminal modes with max.
Introduction Front Panel LCM Display Push Buttons LED Indicators Reset Button Color Description Reset None If you forget the password, press this button for 5 seconds, then the password will be removed. Ready Displays CN2510 system is powered on Ready Green Displays CN2510 system is ready Serial Tx...
Getting Started Chapter 2 This chapter includes instructions on where and how to install CN2510 Async Server, and discusses both basic and advanced software configuration. The following topics are covered: Hardware Installation Desktop Rackmount Wiring Requirements Connecting CN2510-8/16’s Power Connecting CN2510-8/16-48V’s Power Grounding CN2510-8/16-48V Connecting to the Network Connecting to a Serial Device...
Hardware Installation Desktop Place your CN2510 on a clean, flat, well-ventilated desktop. For better ventilation, attach the 4 pads from the desktop kit to the bottom of the unit, and leave some space between the CN2510 and other equipment. Do not place equipment or objects on top of the unit, as this might damage the server.
Getting Started Connecting CN2510-8/16’s Power Connect CN2510 100-240 VAC power line with its AC connector. If the power is properly supplied, the “Ready” LED will show a solid red color until the system is ready, at which time the “Ready” LED will change to a green color. Connecting CN2510-8/16-48V’s Power To connect CN2510-8/16-48V’s power cord with its terminal block, follow the steps given below: 1.
Connecting to the Console Port A console is a combination of keyboard and monitor, and is used to configure settings and to monitor the status of your system. If you do not have a network environment, use a terminal, a PC running UNIX, or a PC with terminal emulation software (e.g., HyperTerminal in Windows;...
Page 17
Getting Started 1. Run upgrade.exe, located on the CN2510 CD. \Software\Firmware\upgrade.exe 2. CN2510 Utility starts searching for all CN2510s on the network. 3. CN2510 Utility lists all available servers on the network. Note that servers in gray are password protected. Double click the server in black, or click on from the menu bar to see the server settings.
5. If you can’t find the server in the list, double-check the server’s power and network connections, and then use search to try locating the server again. Run a Telnet Program 1. Telnet over the network to the server’s IP address. Choose ansi/vt100 and press Enter 2.
Getting Started Entering Console via Console Terminal If you do not know the CN2510’s IP address, or it is not possible to use Telnet, you can instead use a direct console connection to enter the CN2510 console. First find a terminal emulation program for the console PC, such as HyperTerminal, which provides terminal emulation programs for Windows.
Page 20
2. Click on Next to Continue. 3. Select a directory in which to install CN2510 Utility and click on Next to accept. Then click on Next again to confirm and start. 4. When the installation is complete, run Start Programs PComm Terminal Emulator. 5.
Page 21
Getting Started 6. In Communication Parameter, select COM2 for console connection, 115200 for Baud Rate, 8 for Data Bits, None for Parity, and 1 for Stop Bits. 7. In Terminal, select VT100 for terminal type. Press Enter to confirm. 8. Type 1 to select ansi/VT100 terminal type, and press Enter to enter MAIN MENU. CN2510 User’s Manual...
9. You may use Edit Font to choose a different font display for MAIN MENU. 10. After entering CN2510’s MAIN MENU, use the following keys to move and select. Familiarize yourself with these cursor movement functions before we start the configuration process.
Getting Started Async server name-This field contains the name of this CN2510. CN2510 uses this name to identify itself when requested by an SNMP station or UNIX host. The name should be an ASCII string with length no more than 40 characters. Spaces are allowed. Async server location-This field contains the location of this CN2510.
2. In SERVER MENU, select Lan, and then press Enter. 3. In Lan, you must change the IP address, netmask, and any other information on your checklist (use the arrow keys to move the cursor). Press Esc to return to SERVER MENU. Ethernet LAN port 1: DHCP (client)-to enable or disable DHCP function.
Page 25
Getting Started RADIUS server IP-This field contains the IP address of the RADIUS server. RADIUS is short for Remote Authentication Dial-In User Service, and is used to authenticate remote dial-in users connecting from any ISP (Internet Service Provider). Skip this field if you do not have a RADIUS server on your network.
Page 26
SIO data transfer timeout-This field defines the time CN2510 waits to send serial data to the Ethernet. The unit is milliseconds. Decreasing the timeout setting increases the efficiency. Host Table The Host_table is used to edit frequently referred to host names and their corresponding IP addresses.
Getting Started User Table The User_table is used for local authentication in dial-in/out access. The CN2510 User Table, which holds information for up to 64 users, can be used if you do not have an external RADIUS server for authentication. Save 1.
Restart 1. In MAIN MENU, select Restart. 2. Select System and then press Enter to continue. 3. The system will restart and the Telnet/Console session will terminate. 2-16 CN2510 User’s Manual...
Knowing Your Application Chapter 3 This chapter discusses a variety of applications for CN2510 Async Server. Refer to the following diagrams to see which application matches your own. Determining your application will help you save time configuring both the hardware and software. CN2510 is a Async Server that can multitask, supporting various operation modes for different serial ports.
Windows Real COM (NT Real COM mode) Moxa offers the COM port driver for the whole series of Windows to control Moxa CN2510 Async Server’s serial ports. Through CN2510 Async Server, many applications which implemented serial boards can be enhanced to an Ethernet environment without modifying the software they are using right now.
Knowing Your Application Device Control (ASPP, RAW mode) For Device Control application, users can use standard Linux/Unix Socket programming in Linux/Unix or WinSock programming in the Windows environment to directly control devices’ data transmission. In this application, users use the standard Socket programming to communicate with the CN2510, and the operation mode used is TCP RAW mode, focusing only on data transmission without serial port control or serial modem signals control.
Console Management (Rtelnet mode) Console management is commonly used upon Console/AUX or COM port of routers, switches, and UPS. Rtelnet works the same as RAW mode that they only listen to one specific TCP port after booting up, and wait for the host on the network to initiate the connection. The difference is that the RAW mode does not provide conversion function of telnet protocol.
Knowing Your Application Multi-host TTY (Fix TTY mode) When terminals need to communicate with multiple Unix hosts on the network via several simultaneous sessions, Multi-host TTY is the ideal method for transmission. When the communication starts, the Unix server on the network have to enable Moxattyd first to activate TTY port’s mapping function.
Network Printer (RAW/LPD mode) CN2510 Async Server’s printing program (running under UNIX) provides an excellent solution for banking or stock exchange services with huge printing demands. Users can use Windows or Unix host’s network printer function via RAW mode. All you have to do is assign a specific IP address and a TCP port number to specify the printer’s location.
Setting up Windows Real COM/Linux Chapter 4 Real TTY/Unix Fixed TTY CN2510 Async Server supports Real COM/TTY driver for Windows and Linux, allowing serial ports to be recognized as Real COM ports by the Windows operating system, or Real TTY ports by Linux environments.
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 37
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
7. Repeat Step 6 to configure port settings. For example, you can follow the steps described below to configure Port 1 to Port 8 for NT Real COM mode application. NT Real COM Mode 1. Move the cursor to Description/more setting, press Enter, and a message window will open next.
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY Configuring Port Connection Setting – Port Menu [Line] 1. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 2. In PORT MENU, select Mode, and then press Enter. 3.
Setting up Hosts Setting up Windows XP/2003 Hosts After using CN2510 Console Utility to set up a Windows XP/2003 host, you’ll need to install port driver on every Windows XP/2003 host needing access to CN2510 ports. Here we use Windows XP as an example for illustrating installation.
Page 41
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. The next window to open will ask you if the hardware is connected. Select Yes, I have already connected the hardware, and click on Next to continue. 4. Select Add a new hardware device in the next window that opens. And then click on Next to continue.
Page 42
5. In the window that opens next, select Install the hardware that I manually select from a list (Advanced) to install the hardware. And then click on Next to continue. 6. The window that opens next will ask you select the type of hardware you are installing. Select Multi-port serial adapters, and click on Next to continue.
Page 43
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. The window that opens next will ask you to select the device driver you want to intall for this hardware. Select Have Disk to install from a disk, select the driver file NPSERVER.INF, and locate the driver file.
Page 44
8. In the next window to open, select your CN2510 model, and click on Next to continue. 9. The Wizard will start installing the Server driver, and automatically search for CN2510 products over the network. 10. Although the next window to open states that 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.
Page 45
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 11. You can either select the CN2510 that has been located, or select Manually Enter the IP address of NPort Server / Async Server to search for CN2510. Click on Next to finish installing CN2510.
Page 46
Installing Ports 1. After CN2510 server installation is finished, Windows will automatically pop out another window stating that a new hardware is found. Select Install from a list or specific location (Advanced), and click on Next to continue. 4-12 CN2510 User’s Manual...
Page 47
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 2. The window that opens next will ask you to choose your search and installation options. Select Include this location in the search, and click on Next to continue. 3. The system will install all necessary files automatically. CN2510 User’s Manual 4-13...
Page 48
4. Although the next window to open states that software hasn’t passed Windows Logo testing, you can rest assured that this driver has already been tested and been shown that it can support this Windows OS. Click on Continue Anyway to proceed. Then it will show the following window.
Page 49
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY Configuring CN2510 in a Windows XP/2003 Environment As soon as CN2510 driver is installed, the driver will guide you through CN2510’s configuration. Or you can configure CN2510 later after the driver is installed. Here we will introduce Real COM Mapping configuration.
Page 50
2. Click on NPort Server/Async Server Status’s Settings to configure CN2510’s Basic Configuration, Password, and Access Control. 4-16 CN2510 User’s Manual...
Page 51
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY CN2510 User’s Manual 4-17...
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. Click on Port Setting to configure COM port’s data transmission mode and FIFO. Setting up Windows 2000 Hosts After setting up a CN2510 Async Server via Control Panel in a Windows 2000 environment, you’ll need to install port driver on every Windows 2000 host needing access to CN2510 ports.
Page 54
3. In the next window to open, select Add/Troubleshoot a device, and click on Next to continue. In the next window to open, select No, I want to select the hardware from a list. 4-20 CN2510 User’s Manual...
Page 55
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 4. In the window that opens next, select Multi-port serial adapters from the Hardware Type list. CN2510 User’s Manual 4-21...
Page 56
5. Select Have Disk to install from a disk, select the driver file NPSERVER.INF, and locate the driver file. 6. In the next window to open, select your CN2510 model, and click on Next to continue. 4-22 CN2510 User’s Manual...
Page 57
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. The Wizard will start installing the Server driver, and automatically search for CN2510 products over the network. 8. Although the next window to open states that 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.
Page 59
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY Installing Ports 1. After CN2510 server installation is finished, Windows will automatically pop out another window stating that a new hardware is found. Click on Next to continue. 2. The window that opens next, select Search for a suitable driver for my device (recommended).
Page 60
4. Click on Next to continue. 5. Moxa Port 0 installation is finished. The step 1 to step 4 will be repeated for several times, depending on how many serial ports on your CN2510 product. After the installation is complete, you can find the COM ports in Device Manager. 4-26 CN2510 User’s Manual...
Page 61
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY Configuring CN2510 in a Windows 2000 Environment As soon as CN2510 driver is installed, the driver will guide you through CN2510’s configuration. Or you can configure CN2510 later after the driver is installed. Here we will introduce Real COM Mapping configuration.
Page 62
2. Click on NPort Server/Async Server Status’s Settings to configure CN2510’s Basic Configuration, Password, and Access Control. 4-28 CN2510 User’s Manual...
Page 63
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY CN2510 User’s Manual 4-29...
Page 64
3. Click on Port Setting to configure COM port’s data transmission mode and FIFO. 4-30 CN2510 User’s Manual...
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY Setting up Windows 95/98/ME/NT Hosts CN2510 Async Server uses the same driver in Windows 95/98/ME environment, and another driver in Windows NT environment. The procedures for installation are the same. For this reason, you have to make sure you are installing the correct driver.
Page 66
2. Select Custom mode, and click on Next to continue. 4-32 CN2510 User’s Manual...
Page 67
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 3. Click on Next to finish the installation. 4. After the driver is installed, Add Server Wizard will start to help you configure CN2510. As illustrated below, you can either choose to enter the IP address manually, or use auto search locate servers and select one from the server list.
Page 68
5. In the window that opens next, Add Server Wizard will ask you to enter CN2510 LAN’s IP address. Click on Next to continue. 6. Select the corresponding COM Port. The system will automatically map all COM Ports. 4-34 CN2510 User’s Manual...
Page 69
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 7. The next step is to set the password for this CN2510. Enter the password, and click on Next to continue. 8. Add Server Wizard will show the entire information about CN2510. CN2510 User’s Manual 4-35...
Page 70
9. You have to save the data after you return to the main page. Click on the disk icon on the upper left corner to map CN2510’s serial ports to standard COM ports. Configuring CN2510 in a Windows 95/98/ME/NT Environment As soon as CN2510 driver is installed, the driver will guide you through CN2510’s configuration.
Page 71
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY 1. From Start/Properties/NPort Server, Click on NPort Server Manager. And click which CN2510 you want to setup. Right click it and select Server Properties like as follow. 2. In general page, you could see the Server Information here. It’s include Serial No., Server Name, Server IP, Netmask, and you also could select this CN2510 want to use DHCP to get a free IP address or fixed IP address.
Page 72
4. In Access Control page, you could add or remove any IP address to allow it access CN2510 or not. 5. In advanced page, you could adding routes to CN2510. In general, CN2510 has a column to setup Default Gateway, so we think you could ignore this configuration. 4-38 CN2510 User’s Manual...
Page 73
Setting up Windows Real COM/Linux Real TTY/Unix Fixed TTY CN2510 User’s Manual 4-39...
Setting up Device Control Chapter 5 For Device Control application, users can use standard Linux/Unix Socket programming in Linux/Unix or WinSock programming in the Windows environment to directly control devices’ data transmission. In this application, users use the standard Socket programming to communicate with the CN2510, and the operation mode used is TCP RAW mode, focusing only on data transmission without serial port control or serial modem signals control.
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 77
Setting up Device Control 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
We already selected a application mode for each serial port. Now let’s talk about more details on Device Control: CN2510 Device Control’s ASPP/RAW mode. ASPP, which is developed by Moxa, provides an easy-to-use TCP/IP socket programming library and other useful functions. CN2510 RAW mode allows self-definition on applications via serial data transmitted/received over the Ethernet.
Page 79
Setting up Device Control 1. Move the cursor to the Mode column of the corresponding port, and then press Enter to see 2 modes for Device Control applications: ASPP and RAW. Please select ASPP Mode. 2. Move the cursor to the Description/more setting column, and then press Enter to open the setting window.
RAW Mode RAW mode is used for standard TCP/IP socket programs. RAW mode provides a transparent communication link between the network socket program and the corresponding Async port. 1. Move the cursor to the Mode column of the corresponding port, and then press Enter to see two modes for async device control applications: ASPP and RAW.
Setting up Device Control addr exclusive port access. If left blank, all hosts on the network will have access to this port. Inactivity time 0-99 minutes Idle time setting for auto-disconnection Optional 0 min means no disconnection TCP alive check 0-99 minutes Specify the time slice for checking whether the Optional...
Page 82
Setting Value Notes Speed 50 bps to 230.4 Kbps Baud rate Bits 5/6/7/8 Data bits Stop Stop bits Parity None, Even, Odd, Mark, Space Parity Check FIFO Yes/No FIFO setting RTS/CTS Yes/No Hardware Flow Control XON/XOFF Yes/No Software Flow Control Discon.
Setting up Device Control Save 1. Press Y to save previous settings when exiting PORT MENU. 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. ASPP Library Introduction The CN2510 software CD contains example programs that illustrate how to successfully control the ASPP port. After uncompressing the file ASPP.tar.z, you will be able to find several basic subroutines in the \aspp\as.h folder.
Setting up Device Control 3. Create a socket for data port and connect to it. 4. Transfer data via data port. This example program continually sends the string “1234567890” to CN2510’s ASPP port and then reads back data when program ends. Setting: Target port: no parity, 8 data bits, 1 stop bit, software (XON/XOFF) flow control, no hardware (RTS/CTS).
Setting up UDP Communication Chapter 6 UDP is a non connection-oriented data transmission method. UDP has advantages of high speed and high data transmission efficiency, eliminating TCP’s handshaking process. But it comes with the price of sacrificing data integrity. UDP doesn’t have the functions of re-assembling and retransmitted packets like TCP when data is missing.
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 89
Setting up UDP Communication 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
Raw UDP Mode 1. Move the cursor to the Description/more setting column, and then press Enter to open the setting window. 2. UDP Description/more setting Window. Setting Value Notes Necessity Dest. IP The IP address range to UDP packets will be sent consecutively address 1 which the target data is from the first IP address to the last one.
Page 91
Setting up UDP Communication Src. IP IP address range The Legal IP addresses for receiving UDP Optional address permitted for receiving packets. As stated on the left column, 2/3/4 data from the network. there are UDP packets from 64 IP addresses in total will be received and sent e.g.
Force Transmit timeout between characters and the total length of data must be smaller than or equal to CN2510’s internal buffer size. The serial communication buffer size of CN2510 is 1 K byte per port. 3. Repeat the steps above to set up all Raw UDP ports. 4.
Page 93
Setting up UDP Communication Setting Value Notes Speed 50 bps to 230.4 Kbps Baud rate Bits 5/6/7/8 Data bits Stop Stop bits Parity None, Even, Odd, Mark, Space Parity Check FIFO Yes/No FIFO setting RTS/CTS Yes/No Hardware Flow Control XON/XOFF Yes/No Software Flow Control Discon.
Save 3. Press Y to save previous settings when exiting PORT MENU. 4. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
Page 95
Setting up UDP Communication 3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. CN2510 User’s Manual...
Setting up Console Management Chapter 7 This chapter includes information about how to set up CN2510 Async Server, allowing the terminal on the Ethernet to access CN2510’ serial ports. This chapter will introduce the APIs for the following functions: Configuring Port Operation Mode – Port Menu [Mode] RTelnet Mode Configuring Port Connection Setting –...
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 99
Setting up Console Management 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
CN2510 provides an RTELNET mode for the reverse terminal application. RTELNET mode allows Ethernet hosts to access serial hosts attached to CN2510’s serial ports, the reverse direction provided by CN2510’s terminal application. RTelnet Mode Reverse Telnet, or RTELNET, supports the Telnet program used by Ethernet hosts to login to serial hosts.
Setting up Console Management Setting Value Notes Necessity TCP port number Each of CN2510’s serial ports is mapped to a Optional TCP port. To avoid conflicts with TCP ports, set port numbers to 4001 for port1, 4002 for port2, etc. (like the default values). Source IP address IP address for Specify an IP address for this port for application Optional...
Page 102
3. Select the ports and configure the settings. Setting Value Notes Speed 50 bps to 230.4 Kbps Baud rate Bits 5/6/7/8 Data bits Stop Stop bits Parity None, Even, Odd, Mark, Space Parity Check FIFO Yes/No FIFO setting RTS/CTS Yes/No Hardware Flow Control XON/XOFF Yes/No...
Setting up Console Management Save 1. Press Y to save previous settings when exiting PORT MENU. 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
Page 104
3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. CN2510 User’s Manual...
Setting up Terminal Access Chapter 8 We describe here the steps for configuring Moxa CN2510 as a Terminal Server. CN2510 provides Telnet and Rlogin protocols for terminals to establish connections with UNIX hosts. Two terminal modes are supported, ASCII terminal with up to 8 simultaneous sessions, and Binary terminal with one session for one user.
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 107
Setting up Terminal Access 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
TERM_ASC Mode After selecting the application mode for each serial port, we will discuss more detailed information on terminal settings. ASCII and Binary are 2 protocols used in Terminal Access. ASCII supports 8 terminal sessions, while Binary only supports 1 session. TERM_ASC supports 8 terminal sessions for each terminal.
Page 109
Setting up Terminal Access 4. TERM_ASC Description/More Setting window. Setting Value Notes Necessity Key Mapping Max. Sessions Configure the max. number of sessions Optional Change Session Hot key for change session Optional Quit Hot key for quit session Optional Erase-line Hot key for erase-line Optional Erase-character...
prompt. Password prompt Password: Send Password information when receiving Optional this prompt Login user name ID information Optional Login password Password Password information Optional Terminal type Ansi Terminal type for outgoing connection Optional Inactivity time 0-99 minutes Idle time setting for auto-disconnection Optional 0 min means no disconnection Authentication type None/local/ser...
Page 111
Setting up Terminal Access 3. Move cursor to the Description/more setting column, and then press Enter to open the setting window. 4. TERM_BIN Description/More Setting window. Setting Value Notes Necessity Quit Key Defines the Quit key used to disconnect the Optional link between the current terminal session and the remote host.
defined as "ogin:". Password prompt assword: Send Password information when receiving Optional this prompt. Since some prompts use "Password", others use "password", the prompt detection is defined as "assword:". Login user name ID information Optional Login password Password Password information Optional Terminal type Ansi...
Page 113
Setting up Terminal Access 3. Select the ports and configure the settings. Setting Value Notes Speed 50 bps to 230.4 Kbps Baud rate Bits 5/6/7/8 Data bits Stop Stop bits Parity None, Even, Odd, Mark, Space Parity Check FIFO Yes/No FIFO setting RTS/CTS Yes/No...
Save 1. Press Y to save previous settings when exiting PORT MENU. 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
Page 115
Setting up Terminal Access 3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. CN2510 User’s Manual 8-11...
Setting up Multi-host TTY Chapter 9 When terminals need to communicate with multiple Unix hosts on the network via several simultaneous sessions, Multi-host TTY is the ideal method for transmission. When the communication starts, the Unix server on the network has to activate Moxattyd first to TTY port’s mapping function.
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 119
Setting up Multi-host TTY 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
Fix TTY Mode 1. Move cursor to the Description/more setting column, and then press Enter to open the setting window. 2. Fix TTY Description/More Setting window. CN2510 User’s Manual...
Setting up Multi-host TTY Setting Value Notes Necessity Max. Sessions Configure how many connections for each Optional CN2510’s port. Terminal mode Star NT-560+ CN2510 provides 3 modes depending on the Optional connection mode supported by the terminal. NL-5000A VT100 Inactivity time 0-99 minutes Idle time setting for auto-disconnection.
Setting up Multi-host TTY 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2. Select System, and then press Enter to continue. 3.
Page 124
1. Create a directory for Moxatty (e.g. /user/etc/moxatty) as shown below: #mkdir /usr/etc/moxatty #cd /usr/etc/moxatty 2. Extract code from the tar-formatted file moxatty.tar as follows: #tar xvf moxatty.tar 3. After the extraction is complete, locate the following files: program source code moxattyd.c configuration file moxattyd.cf...
Setting up Multi-host TTY The option “–t 1” means the reconnection time is 1 minute after turning CN2510 on or off. NOTE Moxatty for Different Applications This section illustrates how to use MOXATTY with a number of different applications. Terminal Access To use terminal access the process getty must be activated while the system boots up.
Using Moxatty Starting MOXATTY Once you have completed the above settings, you can start. Follow the steps given below to ensure that MOXATTY is running correctly. See if the entries added to moxattyd.cf are correct. Run init q or reboot your system to start the MOXATTY daemon. If you see that moxattyd is running on your system, then MOXATTY has been successfully started.
Setting up Dial-in/out of Band Chapter 10 Management We describe here the steps required to configure Moxa CN2510 as a Dial-in/out Access Server. Dial-in Access allows remote users to access the LAN, whereas Dial-out Access allows LAN hosts to establish connections to other sites. The following topics are covered in this chapter: Configuring Port Operation Mode –...
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 129
Setting up Dial-in/out of Band Management 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
PPPD/PPP Mode PPPD (PPP on demand) is used for dial-in services since it provides PPP services only when receiving a request from a remote PC. PPP provides standard PPP services for both dial-in and dial-out. 1. Move the cursor to the Mode column of the corresponding port, and then press Enter to see five mode options for dial-in/out applications.
Setting up Dial-in/out of Band Management Setting Value Notes Necessity Destination IP IP address for the DO assign an IP address for the remote addr remote Dial-in / user. Dial-out user Source IP address IP address for the CN2510 automatically assigns an IP Optional port address for the port.
Page 132
2. Select SLIPD for dial-in services only, or SLIP for both dial-in/out services. 3. Move the cursor to the Description/more setting column, and then press Enter to open the setting window. Setting Value Notes Necessity Destination IP IP address for the DO assign an IP address for the remote addr remote Dial-in /...
Setting up Dial-in/out of Band Management Dynamic Mode Dynamic mode integrates PPPD/SLIPD/Terminal dial-in services. Dynamic mode automatically detects which remote connection mode is being used, and provides corresponding services. You can further enable/disable PPP/SLIP/Terminal services by using Description/more setting. 1. Move the cursor to the Mode column of the corresponding port, and then press Enter to see five mode options for dial-in/out applications.
Page 134
SERVER MENU. You will need to set user’s information later in this chapter. Server: Check ID according to external RADIUS Server 5. Term parameters. Open the Detail-setting window to set more parameters (if necessary). Setting Value Notes Necessity Quit key Defines the Quit key used to disconnect the Optional link between the current terminal session and...
Page 135
Setting up Dial-in/out of Band Management Terminal type ansi Terminal type for outgoing connection Optional Inactivity time 0-99 minutes Idle time setting for disconnection Optional 0 min means no disconnection TCP alive check 0-99 minutes Specify the time slice for checking whether Optional time the TCP connection is alive.
Setting Value Notes Necessity Destination IP IP address for the DO assign an IP address for the remote addr remote Dial-in user user. Source IP address IP address for the CN2510 automatically assigns IP address Optional port for the port. Recommend: Blank IP netmask IP netmask...
3. Specify modem settings. Setting Value Notes Enable YES/NO Enable modem settings Initialize String Set modem initial string, for example, AT&S0 =1 is for auto-answer. Dial Up String Dial-up AT command Phone Number Number Set the number you use to dial out The Dial Up and Phone Number settings are only valid under PPP/SLIP mode.
Setting up Dial-in/out of Band Management 3. Select YES to edit welcome message. 4. Press Esc to go back to PORT MENU. Optional local user information – Server Menu [User_table] In Server Menu [User_Table], set local user authentication information. If you set Incoming PAP check or Authentication type as Local instead of Server, you have to set [User_table] for user authentication.
Save 1. Press Y to save previous settings when exiting PORT MENU. 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
Page 141
Setting up Dial-in/out of Band Management 3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. CN2510 User’s Manual 10-15...
Setting up Network Printer Chapter 11 We describe here the steps for configuring Moxa CN2510 as a printer server. Up to 8/16 serial printers can be simultaneously connected to CN2510. The serial printer server function is configured through port menu, and is able to accommodate up to 16 ports. At the end of the chapter, the setting for one-port parallel printing is illustrated for both UNIX and Windows systems.
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 145
Setting up Network Printer 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
Raw PRN Mode 1. Move cursor to the Description/more setting column, and then press Enter to open the setting window. 2. Printer Description/More Setting window. Setting Value Notes Necessity Group Group 01-16 Group the printers so that printers in the same Optional group can share the printing load.
Setting up Network Printer Group TCP port number Group TCP port number 2048 2056 2049 2057 2050 2058 2051 2059 2052 2060 2053 2061 2054 2062 2055 2063 3. Repeat the steps above to set all Fix TTY ports. 4. Press Esc to return to PORT MENU. LPD PRN Mode 1.
Setting Value Notes Necessity Queue name Letters Specify print queue’s name (in RAW mode) Fixed (RAW) Queue name Letters Specify print queue’s name (in ASCII mode) Fixed (ASCII) Append From Enable/Disable Specify paging Optional Feed TCP alive check 0-99 minutes Specify the time slice for checking whether the Optional time...
Page 149
Setting up Network Printer Setting Value Notes Speed 50 bps to 230.4 Kbps Baud rate Bits 5/6/7/8 Data bits Stop Stop bits Parity None, Even, Odd, Mark, Space Parity Check FIFO Yes/No FIFO setting RTS/CTS Yes/No Hardware Flow Control XON/XOFF Yes/No Software Flow Control Discon.
Save 1. Press Y to save previous settings when exiting PORT MENU. 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
Setting up Network Printer 3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. Setting up Unix Hosts UNIX uses the RLP program for remote parallel printing. For serial printing, Moxa provides the asprint utility program, which consists of two files, asprint.c and asprint.mak.
Page 152
is writing to. ‘CN2510’: the host name of the CN2510 as defined in /etc/hosts, or its IP address. ‘2048’: the TCP port number (Group01) of the printer port on the CN2510. accept printer Laser1 #/usr/lib/accept Laser1 Set Laser 1 to accept print request. enable Laser1 #enable printer Laser1 enable Laser1...
Setting up Network Printer Setting up a SOLARIS X86 Host Steps SCO UNIX Command Description Set free the occupied Floppy #/etc/init.d/volmgt stop disk Uncompress all programs #tar /dev/fd0 ./ Uncompress printer.tar.Z #tar xvf printer.tar.Z to ./printer compile/link #make -f sco_unix.mak make printer node #mknod /dev/iop1 p Create a unique pipe name for each...
Setting up a LINUX Host Steps SCO UNIX Command Description Uncompress all programs #tar /dev/fd0 ./ Uncompress printer.tar.Z #tar xvf printer.tar.Z to ./printer compile/link #make -f sco_unix.mak make printer node #mknod /dev/iop1 p Create a unique pipe name for each printer group.
Setting up Network Printer Setting up Windows Hosts Windows uses LPD/LPR application to access printers. Moxa provides LPD PRN mode for serial printing. In this section, we explain how to install a LPD/LPR printer in a Windows NT/2000 environment to access the serial printer connected to a CN2510 Async Server. Setting up a Windows NT Host 1.
Page 156
5. Allow the Microsoft TCP/IP Printing service to be added, and reboot your computer. 6. Now you can start configuring your LPR/LPD Printer. 7. Click on Start Settings Printers. 8. Click on Add Printer to start and Add Printer Wizard. 9.
Page 157
Setting up Network Printer 11. Select LPR Port. 12. Enter CN2510’s IP Address, and then enter Print Queue’s name. Click on OK to continue. 13. Select logical printer port for the LPR port you just added. It should be the IP address of the port.
Page 158
14. Select the printer’s manufacturer and model name. Click on Next to continue. 15. Enter the printer’s name, and select yes if you wish to set this printer as default printer. Click on Next to continue. 16. Select Shared when prompted with questions asking if the printer is to be shared or not, and then enter the name of the shared printer.
Setting up Network Printer Setting up a Windows 2000 Host 1. Click on Start Settings Printers. 2. Click on Add Printer to start and Add Printer Wizard. 3. A Welcome message will appear. Click on Next to continue. 4. Select Local printer, and click on Next to continue. CN2510 User’s Manual 11-17...
Page 160
5. Select Create a new port:, and select LPR Port from the drop down list. 6. Enter CN2510’s IP Address, and then enter Print Queue’s name. Click on OK to continue. 7. Select the printer’s manufacturer and model name. Click on Next to continue. 11-18 CN2510 User’s Manual...
Page 161
Setting up Network Printer 8. Enter the printer’s name, and select yes if you wish to set this printer as default printer. Click on Next to continue. 9. 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.
Page 162
10. You need to reboot Windows 2000 to enable the printer you just added. When asked if you want to print a test page, select No. Click on Next to continue. 11. If you want to print a test page, reboot Windows 2000, select this printer, and click on Print Test Page.
Setting up Multiplexor Access Chapter 12 We describe here the steps for configuring Moxa CN2510 as a Multiplexor and De-Multiplexor. Using the Multiplexor/De-Multiplexor applications 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.
Configuring Port Operation Mode – Port Menu [Mode] Open Port Menu Mode to install NT Real COM mode. 1. To enter CN2510 MAIN MENU, use either Telnet from a network terminal, or connect directly to CN2510 Async Server with a console terminal. Select ansi/vt100, and then press Enter.
Page 165
Setting up Multiplexor Access 3. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 4. In PORT MENU, select Mode, and then press Enter. 5. In Mode, use the arrow keys to move the cursor to the application corresponding to serial ports.
Page 166
8. Repeat the previous step for the 2 CN2510. Select Application type for all ports as Multiplex but with TERM_BIN mode. After setting up Multiplex ports, define RTELNET modes for the CN2510 that represents the serial NOTE host and TERM_BIN modes for the other CN2510. 12-4 CN2510 User’s Manual...
Setting up Multiplexor Access RTelnet Mode Reverse Telnet, or RTELNET, supports the Telnet program used by Ethernet hosts to login to serial hosts. Ethernet hosts recognize serial ports by the specified source IP address, or by the TCP port number followed by CN2510’s IP address. 1.
Page 168
0 min means no disconnection. Map Keys CR/LF/CR-LF When you enter <CR-LF> string, CN2510 will Optional determine whether to send <CR>, <LF>, or <CR-LF> to <CR-LF>. Authentication None/local None: no certification needed. Optional type /server Local: Check the ID according to the User_table in SERVER MENU.
Setting up Multiplexor Access TERM_BIN Mode Terminal Binary, or TERM_BIN mode, supports automatic link to Ethernet hosts for Terminal or Telnet users. It redirects telnet requests to the specified Ethernet host. Below we describe how to set auto-link host and login ID information. Auto-linking one TERM_BIN port to a port in RTELNET mode provides a transparent link through the network.
Page 170
Setting Value Notes Necessity Quit Key Defines the Quit key used to disconnect the Optional 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 host automatically. Optional Rlogin [Telnet] Connects to host automatically with...
Setting up Multiplexor Access 6. Press Esc to return to PORT MENU. Configuring Port Setting – Port Menu [Line] In PORT MENU [Line], you can set line settings for the particular type of device being used. 1. In MAIN MENU, use the arrow keys to select Port, and then press Enter. 2.
Page 172
Discon. ctrl None/DSR off/DCD off Disconnection condition when DSR or DCD signal is off 4. Repeat the step above to configure all functions. 5. Press ESC to return the Port Menu. 12-10 CN2510 User’s Manual...
Setting up Multiplexor Access Save 1. Press Y to save previous settings when exiting PORT MENU. 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
Page 174
3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. 12-12 CN2510 User’s Manual...
Setting up Routing Chapter 13 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.
Configuring Dynamic RIP – SERVER [Adv.] What is RIP? RIP (Routing Information Protocol) is a widely used protocol for managing routing information within a self-contained network, such as a corporate LAN (Local Area Network) or an interconnected group of such LANs. Using RIP, a gateway host with a router sends its entire routing table, which lists all the other hosts it knows about, to its closest neighbor host every 30 seconds.
Setting up Routing 4. Press Esc to return to MAIN MENU. Configuring Static Routing Table – SERVER [Route_table] Although RIP-1 and RIP-2 periodically update routing tables between different routers, you still need to add routing entries in the routing table for routes only directed to you. Configuring Routing Table 1.
Entry: Max. of 32 entries are allowed in the table. Gateway: IP address of next-hop router. Destination: Host IP address or network address of the route’s destination. Netmask: Destination network’s Netmask pattern. Metric: Number of hops from source to destination. Ranges from 1 to 15. 4.
Page 179
Setting up Routing The dial-in PC/notebook sends a request to Internet host 192.48.96.9, which is not in the local network 203.67.6. This causes CN2510 to act as a router and send the datagram to the default next-hop router 203.67.6.254. In this case we should input the default gateway IP address as 203.67.6.254 for any destination beyond the local network 203.67.6.
Page 180
Configuring Multiple-Point Routes For multi-location enterprises, CN2510 can be placed in different branch offices and used as both a multi-point router and remote access server. When hosts send requests to hosts in another network, such as 202.6.6 or 201.2.2, CN2510 delivers the request to the remote end CN2510, 202.6.6.254 or 201.2.2.254, as the next-hop router.
Setting up Routing Save 1. Press Y to save previous settings when exiting PORT MENU. 2. You may also save later. In MAIN MENU, select sAve to save all changed settings, and then press Enter to confirm. Restart 1. Return to MAIN MENU and select Restart. 2.
Page 182
3. The system will restart and the Telnet/Console session will terminate. Enter MAIN MENU again to check whether the settings have been changed. 13-8 CN2510 User’s Manual...
Administrative Utility Chapter 14 In this chapter we discuss using CN2510 Administration Utility, including how to use the Ping function 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. The following topics are covered in this chapter: Utility –...
Utility – Ping Ping is used to test network hardware connectivity and whether a network host is active. 1. To enter Utility in MAIN MENU, use arrow keys to select Utility, and then press Enter. 2. In UTILITY MENU select Ping, and then press Enter. 3.
Administrative Utility Line 1. In MONITOR MENU, select Line, and then press Enter. Type - Port operation mode set in Mode in PORT MENU Idle - Idle time for this port Status -Current status of the port. (If a host is connected to this port, then the host’s IP address is displayed in this column.) 2.
Ethernet statistics Received: Total packets of input datagram received from the Ethernet. Sent: Total packets of output datagram delivered to the Ethernet. PPP statistics Received: Received PPP datagram packets. RDiscard: Received but discarded PPP datagram packets. ErrSum: Checksum error packets. Sent: Sent PPP datagram packets.
Administrative Utility TXTotalCnt: Total transmitted characters. RXTotalCnt: Total received characters. TXBuf: Queued data bytes in the transmit raw buffer. RXBuf: Received data bytes in the receiving raw buffer. TXAvg: Current approx. characters per second transmit rate. RXAvg: Current approx. characters per second receiving rate. DTR: Current DTR status.
Flags: State of the route. Valid states are: down route to a gateway route to a host setting in route table dynamic by RIP Use: Correct number of packets being sent in this route. 2. Press Esc to return to Routing. PPP-Trace 1.
Administrative Utility Utility – Diagnostic CN2510 Diagnostic Utility, which is used to test async ports, Ethernet controllers, and printer ports, contains the following functions. Async ports controller and internal loop-back test. Ethernet controller, internal and external loop-back test. Printer port test. 1.
2. Select the CN2510 server by clicking the button on the toolbar. If the CN2510 server is at a remote site, use to add it to the list. 3. Specify the new firmware file used to upgrade. 4. Press OK to start. Console Terminal Upgrade 1.
Administrative Utility 3. In Communication Parameter select COM2 for Ports, 115200 for Baud Rate, 8 for Data Bits, None for Parity, and 1 for Stop Bits. 4. In Terminal, select VT100 for Terminal Type, and then press Enter to confirm. 5.
Page 192
2. In UTILITY MENU, select Upgrade, and then press Enter. 3. Select Console port (using XMODEM) for Upgrade type, and then press Ctrl-U to start. 4. You will need to specify the file used for upgrading. Select Port Manager File Transfer from the menu.
Administrative Utility 6. Locate the upgrade file, CN2510.rom for example. The specified file will then be transferred from the terminal to the CN2510. 7. CN2510 stores the new firmware in its Flash ROM, and then restarts the entire system. This completes the Upgrade process.
Page 194
1. Login to your UNIX/LINUX host. For example, login to 203.67.8.22 as user "john". 2. Copy CN2510 firmware, e.g., "CN2510.rom", into the current directory. 3. Create a file named .rhosts in this directory. Enter CN2510’s IP address, e.g., 192.168.205.21, in the .rhosts file, or enter CN2510’s domain name if it’s defined in your /etc/hosts file.
Administrative Utility Setting – Export Settings can be exported to a file as a backup, or to be used by another CN2510 with the same settings. There are two types of exported file settings, console terminal or remote RCP. Console Terminal Export 1.
7. In the File Transfer window select XModem-CheckSum for Protocol, and Receive for Direction. Selecting OK causes the terminal to receive settings from CN2510. 8. Choose the backup filename, CN2510.back for example. CN2510 will then export settings to the file. Press any key to continue. Remote RCP Export As we pointed out earlier, RCP is a file transfer protocol that does not require a password.
Administrative Utility Setting – Import Saved settings can be imported back to CN2510. There are two settings to choose from for importing from a file, console terminal or remote RCP. Console Terminal Import 1. Run Start Programs PComm Terminal Emulator. Follow the steps earlier to enter MAIN MENU.
6. Locate the setting file, CN2510.back for example. CN2510 receives settings to this file. Press any key to continue. Remote RCP Import As we pointed out earlier, RCP is a file transfer protocol not requiring a password. 1. Login to your UNIX/LINUX host. For example, login to 203.67.8.22 as user john. 2.
Page 199
Administrative Utility 2. In SETTING MENU select Default, and then press Enter. 3. Press Enter to confirm that you wish to erase all settings and restore the default settings. Press any key to cancel. CN2510 User’s Manual 14-17...
Trouble Shooting Appendix A Console Terminal Problems Terminal Port Problems How to Save CN2510’s Parameters ASPP Port Problems SLIP/PPP Connection Problems RAIDUS Problems Console Terminal Problems Q: No message 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.
Page 202
Q: If I forget the password for my CN2510, what should I do? Solutions: Press the "Password Reset button" on the CN2510’s front panel for more than 3 seconds. The password stored in the Flash ROM will be erased. Refer to chapter 1 for more details. Reset Q: I used Telnet Console in a Windows 9x/NT environment, but I couldn’t use the arrow keys to select options, what should I do?
Trouble Shooting Terminal Port Problems Q: When a terminal is connected to one of CN2510’s serial ports, o message is displayed on the terminal attached to the CN2510 terminal port when powered on. Solutions: One of the possible reasons is that this serial port is configured to Disable mode, or to other application mode.
ASPP Port Problems Q: The application utilizing the ASPP subroutines could not connect to the CN2510. Solutions: Check to see if the target port’s mode is set to ASPP. The connection will fail if the port mode is set to something other than ASPP. After entering Console’s screen, select Port Mode, and move the cursor to the Application corresponding to the serial port, and set it to Device Control;...
Page 205
Trouble Shooting Take the following steps if you compiled RADIUS2.3 on Red hat 5.0 or above: Save makefile-SCO as a file named makefile-LINUX, and then modify the content as follows: # make file for LINUX LIBS = -lcrypt include Makefile Add two similar line to the shell program "mk_radius"...
Page 207
RADIUS Server Appendix B 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. This can best be achieved by managing a single "database"...
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.
RADIUS Server 2. In SERVER MENU, select Adv. 3. RADIUS settings. RADIUS server IP: [RADIUS server IP address] RADIUS key: [RADIUS password] (must be the same in the RADIUS server) UDP port: [1/2] Mode 1: An earlier but rather common setting is 1645. If you choose 1645, the authentication has to be set as 1645, and accounting as 1646 in the RADIUS Server.
RADIUS Server Setting up UNIX Hosts You can use your own RADIUS software to do this. Moxa, however, provides a RADIUS program for UNIX. To use Moxa RADIUS Server, extract radius.2.3.tar from the CN2510 CD. All files are extracted to the /radius2.3 directory. Installing the RADIUS Execution File 1.
RADIUS Server Configuration 1. Enter RADIUS administration. #cd radius.2.3/bin #./radiusadm 2. You will see a welcome message, and then enter RADIUS SERVER administration. 3. Specify password file. "Configuration" "Basic Configuration" Password File (/etc/passwd for LINUX) (/etc/shadow for SCO UNIX and SOLARIS) (/etc/master.passwd fot FREEBSD and BSDI) 4.
RADIUS Server Console Password:[ ] CN2510 console password 5. Save and exit. Basic/Extended Permission Group Setting Basic and extended permission group defines regulations for users. Add/Modify permission group "Configuration" "User Permission Administration" "Basic Permission Maintenance" or "Extended Permission Maintenance" Basic Permission Maintenance Basic Permission Group Example Description...
Page 214
Extended Permission Maintenance Extended Permission Example Description Group Group Name Example2 Name of this permission setting Days to expire after first The user account expires after 30 days after login first login "0" for no expires Login time interval in a day 08:00-22:00 The user has only 60 minutes in each login session "0"...
Page 215
RADIUS Server 1. Select the user "george" and press [Enter] to modify setting. Press [Ctrl-F] for page down, [Ctrl-B] for page up. 2. Specify basic permission group and extended group for the user "george". 3. Select OK to save. RADIUS proxy "Configuration"...
Setting up Windows NT Hosts 1. Install Windows NT OPTION PACK 4.0 to Windows NT server. 2. "Start" "programs" "Windows NT 4.0 Option Pack" "Microsoft Internet Information Server" "Management Console Manger". 3. Click "Console Root" "Internet Information Server" (in the left info window). Your computer’s name will be visible.
Page 217
RADIUS Server 5. Right click on "RADIUS" in the left info window, and then select "properties". 6. Select Service. Check the RADIUS ports. [Authentication] 1645 [Accounting] 1646 Enter CN2510 IP address in IP address field. Enter CN2510 password in password field. The password corresponds to the RADIUS key setting in CN2510 Console.
Setting up Windows 2000 Hosts 1. Click on Start Programs Administrative Tools Routing and Remote Access. 2. Follow the steps below to install. Right click on Server (Local) to select Configure and Enable Routing and Remote Access. Click on Next to continue. 3.
Page 219
RADIUS Server 5. Select TCP/IP protocol, and click on Next to continue. 6. Specify an IP address. CN2510 User’s Manual B-13...
Page 220
7. Select Yes, I want to use a RADIUS server, click on Next to start using this function. B-14 CN2510 User’s Manual...
RADIUS Server Setting up Windows 2003 Hosts Windows 2003 uses IAS service instead of RADIUS service. For this reason, you need to install IAS service for using RADIUS in Windows 2003 (IAS service will not be installed by default.) 1. Click on Start Add or Remove Programs Add/Remove Windows Components. 2.
Page 222
4. After the installation is finished, click on Administrative Tools, and run Internet Authentication Service, and the window shown below will open. 5. Select NEW RADIUS Client to add new RADIUS client, and then you can start using this function. B-16 CN2510 User’s Manual...
Page 223
SNMP Agent with MIB II Appendix C CN2510 has a built in Simple Network Management Protocol agent software. It supports cold/warm start trap, line up/down trap and RFC 1213 MIB-II. The following table lists the standard MIB-II group, as well as the variable implementation for CN2510. Supported SNMP variables System MIB Interfaces MIB...
Pin Assignments and Cable Wiring Async RS-232 Port Cable Wiring RJ45 (8 pins) to DB9 Male for CN2510 CN2510 RJ45 (8 pins) to DB9 Female for CN2510 CN2510 RJ45 (8 pins) to DB25 Female for CN2510 CN2510 CN2510 User’s Manual D-3...
RJ45 (8 pins) to DB25 Male for CN2510 CN2510 DB9 and DB25 Connector Pin Assignment DB9 Connector Pin Assignment DB9 Male Connector DB9 Female Connector DB25 Connector Pin Assignment DB25 Male Connector DB25 Female Connector CN2510 User’s Manual...
Page 229
LCM Display Appendix E We recommend using LCM display and four push buttons to configure the IP address at the first time installation. Basic Operation If the CN2510 is working properly, the LCM panel will display a green color. The red Ready LED will also light up, indicating that the CN2510 is receiving power.
Page 230
↓ 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) •...
Page 231
LCM Display following Parity screen. The first option, None, is displayed, with a down arrow all the way to the right. This is an indication that there are other options from which to choose. ↓ Press the down cursor button once to see Odd as the second option. ↑...
Page 233
Service Information Appendix F This appendix shows you how to contact Moxa for information about this and other products, and how to report problems. In this appendix, we cover the following topics. MOXA Internet Services Problem Report Form Product Return Procedure...
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 .......
Problem Report Form MOXA CN2510 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: CN2510-8 CN2510-16 CN2510-8-48V CN2510-16-48V 2. Serial Number: _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see.
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.