Cobox-Fl, Tarjeta Celda Amdel
Cobox-Fl, Tarjeta Celda Amdel
Cobox-Fl, Tarjeta Celda Amdel
Rev. B
July 26, 2001
-3
-4
Chapter 1: Introduction
Network Protocols ................................................................................. 1-1
Packing Algorithms .................................................................. 1-2
Ethernet (MAC) Address.......................................................... 1-2
Internet Protocol (IP) Address.................................................. 1-2
Port Numbers............................................................................ 1-2
Chapter 2: Installation
Product Description ............................................................................... 2-1
Network Interface..................................................................... 2-1
Network LEDs.......................................................................... 2-2
Serial Interface.......................................................................... 2-2
Serial LEDs .............................................................................. 2-3
Product Information Label ....................................................... 2-3
Installing the CoBox-FL........................................................................ 2-4
Chapter 4: Configuration
Network Configuration Using a Web Browser ..................................... 4-1
Network Configuration Using a Telnet Connection.............................. 4-2
Serial Configuration .............................................................................. 4-3
Configuration Parameters ...................................................................... 4-3
Server Configuration ............................................................................. 4-5
IP Address ................................................................................ 4-5
Gateway Address...................................................................... 4-5
Subnet Mask ............................................................................. 4-5
Telnet Configuration Password ................................................ 4-5
DHCP Naming.......................................................................... 4-6
Serial Channel (Port) Configuration...................................................... 4-7
Baud Rate ................................................................................. 4-7
Interface Mode.......................................................................... 4-7
Flow Control............................................................................. 4-8
Port Number ............................................................................. 4-8
-i
Connect Mode........................................................................... 4-9
Remote IP Address ................................................................. 4-11
Remote Port ............................................................................ 4-11
Disconnect Mode.................................................................... 4-12
Flush Mode (Buffer Flushing)................................................ 4-13
Pack Control ........................................................................... 4-14
Inactivity (Disconnect) Timeout............................................. 4-15
Send Characters ...................................................................... 4-15
Telnet Terminal Type ............................................................. 4-15
Channel (Port) Password ........................................................ 4-15
Security Settings .................................................................................. 4-16
Disable Telnet Setup............................................................... 4-16
Disable TFTP Firmware Upgrade .......................................... 4-16
Disable Port 77FE (Hex) ........................................................ 4-16
Disable Web Setup ................................................................. 4-16
Enable Encryption .................................................................. 4-17
Enable Enhanced Password .................................................... 4-17
Factory Default Settings ...................................................................... 4-17
Exit Configuration Mode..................................................................... 4-17
Appendix B: Troubleshooting
Monitor Mode........................................................................................B-1
Entering Monitor Mode Via the Serial Port .............................B-1
Entering Monitor Mode Via the Network Port.........................B-1
Monitor Mode Commands........................................................B-1
Appendix F: Pinouts
Ethernet Connectors .............................................................................. F-1
10BASE-T ................................................................................ F-1
10BASE-FL.............................................................................. F-1
Serial Connectors................................................................................... F-2
Warranty Statement
Declaration of Conformity
-iii
1: Introduction
The CoBox-FL Device Server connects serial devices to Ethernet networks using the IP
protocol family (TCP for connection-oriented stream applications and UDP for datagram
applications). A few of the different types of serial devices supported are listed below:
u ATM Machines
u CNC Controllers
u Telecommunications Equipment
u Handheld Instruments
u Modems
Device Servers connect these devices through a TCP data channel or through a Telnet
connection to computers or other Device Servers. Datagrams can be sent by UDP.
Network Protocols
Device Servers use IP protocol for network communications. The supported protocols are
ARP, UDP, TCP, ICMP, Telnet, TFTP, DHCP, HTTP, SNMP, and BOOTP. For
connections to the serial port, TCP, UDP, or Telnet protocols are used. Firmware updates
can be performed using TFTP.
The Internet Protocol (IP) defines addressing, routing, and data block handling over the
network. The Transmission Control Protocol (TCP) assures that no data is lost or
duplicated, and that everything sent to the connection arrives correctly at the target.
For typical datagram applications in which devices interact with other devices without
maintaining a point-to-point connection, User Datagram Protocol (UDP) is used.
1-1
Network Protocols Introduction
Packing Algorithms
Two firmware selectable packing algorithms define how and when packets are sent to the
network. The standard algorithm is optimized for applications in which the Device Server
is used in a local environment, allowing for very small delays for single characters while
keeping the packet count low. The alternate packing algorithm minimizes the packet count
on the network, and is especially useful in applications in a routed Wide Area Network
(WAN). Adjusting parameters in this mode can economize the network data stream.
00-20-4A-14-01-18 or 00:20:4A:14:01:18
Port Numbers
Every TCP connection and every UDP datagram is defined by a destination IP address and
a port number. For example, a Telnet application commonly uses port number 23. A port
number is similar to an extension on a PBX system. See Port Number on page 4-8 for more
information.
1-2
2: Installation
This chapter describes the CoBox-FL and shows how to install it on a basic network.
Product Description
Network Interface
The CoBox-FL’s network panel contains a 9-30VDC or 9-25VAC power plug, four LEDs,
an ST-Fiber (10BASE-FL) Ethernet port, and an RJ45 (10BASE-T) Ethernet port. Both
Ethernet ports support up to 10 Mbps and are auto detecting.
9-30V DC
10 BASE-T 10 BASE-F
L Tx GL
Rx
Tx
Rx Co
Power Plug
10BASE-T LEDs
Ethernet Port
10BASE-FL 10BASE-FL
Ethernet Port Ethernet Port
(Transmit) (Receive)
2-1
Product Description Installation
Network LEDs
The following table explains the function of the four network LEDs:
LED Function
GL (Good Link) Lights solid green to indicate network port is connected to the network.
Serial Interface
The CoBox-FL’s serial panel contains two serial ports and three LEDs. Port (Channel) 1 is
a female DB25 (DCE) that supports RS-232, RS-485, and RS-422 serial standards
(firmware selectable) up to 115.2 Kbps. Port (Channel) 2 is a male DB9 (DTE). LED
functionality is described in Table 2-2.
Figure 2-2: Serial Interface
State CH 1
CH 2
2-2
Installation Product Description
Serial LEDs
The following table explains the function of the three serial LEDs:
LED Function
Diagnostics Blinks or lights solid red in combination with the green (Channel 1) LED to
indicate diagnostics and error detection.
Serial Port Lights solid yellow to indicate Channel 2 is connected to the network and idle.
(Channel) 2 Blinks yellow to indicate Channel 2 has an active connection.
Status
u Bar Code
u Serial Number
u Product ID (name)
u Product Description
2-3
Installing the CoBox-FL Installation
2 Serial
1 Device 2
10 BASE-T 10 BASE-FL
Tx
Rx
9-30V DC
Tx GL 4
Rx Co
Serial
Device 1 3
10BASE-T 10BASE-FL
Ethernet Ethernet
To install the CoBox-FL, complete the following steps in order. Refer to the numbers in the
previous figure.
1 Connect a serial device to the CoBox-FL. See Appendix F, Pinouts, for more
information about what kinds of device attachments the CoBox-FL supports.
4 Supply power to the CoBox-FL using the power supply that was included in the
packaging.
2-4
3: Getting Started
This chapter covers the required steps to get the Device Server on-line and working. There
are two basic methods used to log into the Device Server and set up the IP address:
u Network Port Login: Make a Telnet connection to the network port (9999).
u Only one person at a time may be logged into the configuration menu (serial or
network). This eliminates the possibility of several people simultaneously
attempting to configure the Device Server.
u Network port logins can be disabled. The system manager will not be able to access
the unit if the port is disabled. This port can also be password protected.
Default IP Address
The Device Server ships with a default setting of 0.0.0.0, which automatically enables
DHCP within the Device Server.
Provided a DHCP server exists on the network, it will supply the Device Server with an IP
address, gateway address, and subnet mask when the Device Server boots up. (If no DHCP
server exists, the Device Server will respond with a non-critical diagnostic error: the red
Diagnostic LED blinks continuously, and the green Status LED blinks five times.)
This IP address will not appear in the Device Server’s configuration screens; however, if
you enter Monitor Mode from the serial port with network connection enabled (see Monitor
Mode on page B-1) and issue the NC (Network Connection) command, you will see the
Device Server’s IP configuration.
3-1
AutoIP Getting Started
AutoIP
AutoIP allows a Device Server to obtain an address in a network that does not have a DHCP
server. (Windows 98 and 2000 also support AutoIP.)
AutoIP assigns a random valid address to the Device Server in the range of 169.254.x.1 to
169.254.x.1(x can be between 0 and 255). This range of IP addresses is not to be used over
the Internet. If a Device Server has not been configured manually and cannot find a DHCP
server, it automatically chooses an address from the reserved range. The Device Server then
uses the Address Resolution Protocol (ARP) to send out a request asking whether any node
is using that same address. If another node is using the same address, the Device Server
assigns another IP address, reboots, and repeats the sequence.
AutoIP allows a small network of AutoIP-enabled devices to be set up without any need for
a DHCP server or static IP addresses.
AutoIP can be disabled by setting the IP address to 0.0.1.0. The 1 in the third octet is the
disabling factor.
DHCP Naming
The DHCP name of the Device Server can be changed. The default name of the Device
Server is Cxxxxxx, where xxxxxx is the last 6 digits of the Mac address. This option can
be changed to LTXdd, where 0.0.0.dd is the IP address assigned (dd should be a number
between 1 and 99). For example, if the IP address is set to 0.0.0.5, the resulting DHCP name
is LTX05.
A DHCP name of the customer’s own choosing (up to 8 characters) can also be designed.
This option can be set in the server configuration menu.
Figure 3-1: Server Configuration Menu
3-2
Getting Started Setting the IP Address
1 On a UNIX host, create an entry in the host’s ARP table using the intended IP
address and the hardware address of the Device Server, which is found on the
product label.
Figure 3-2: ARP on UNIX
In order for the ARP command to work on Windows 95, the ARP table on the PC
must have at least one IP address defined other than its own. Type ARP -A at the
DOS prompt to verify that there is at least one entry in the ARP table.
If the local machine is the only entry, ping another IP address on your network to
build a new entry in the ARP table; the IP address must be a host other than the
machine on which you are working. Once there is at least one additional entry in the
ARP table, use the following command to ARP an IP address to the Device Server:
Figure 3-3: ARP on Windows
2 Now open a Telnet connection to port 1. The connection should fail quickly (3
seconds), but the Device Server will temporarily change its IP address to the one
designated in this step.
Figure 3-4: Telnet to Port 1
telnet 191.12.3.77 1
3 Finally, open a Telnet connection to port 9999 and set all required parameters. Make
sure to enter the information quickly; otherwise you will be timed out and will need
to open a Telnet connection to port 1 again.
Figure 3-5: Telnet to Port 9999
Note: This IP address is temporary and will revert to the default value when
the Device Server’s power is reset. You must log into the Device Server
and store the changes permanently. Refer to Chapter 4 for instructions
on permanently configuring the IP address.
3-3
Setting the IP Address Getting Started
2 To enter Setup (configuration) Mode, cycle the Device Server’s power (power off
and back on). After power-up, the self-test begins and the red Diagnostic LED starts
blinking. You have one second to enter three lowercase “x” characters.
Note: The easiest way to enter Setup Mode is to hold down the “x” key at the
terminal while powering up the Device Server.
3 Select 0 (Server Configuration) and follow the prompts until you get to IP address.
5 Select 9 to save the configuration and exit Setup Mode. The Device Server performs
a power reset.
Note: Every time you exit the configuration menu, the Device Server
performs a power reset.
3-4
4: Configuration
Certain parameters must be configured before the Device Server can be used on a network.
The Device Server can be configured locally or remotely using the following procedures:
1 Use a Telnet connection to configure the unit over the network.
2 Use a terminal or terminal emulation program to access the first serial port (CH 1)
locally.
3 Use a standard Web browser to access the Device Server’s internal Web pages and
configure the unit over the network.
4 Use UDP datagrams to configure the unit over the network.
1 Type the Device Server’s IP address into the Web browser’s URL (Address/
Location) field.
Figure 4-1: Web Browser Login
Once you have connected to the Device Server, you will see the Lantronix Web
Manager interface.
4-1
Network Configuration Using a Telnet Connection Configuration
3 Use the menu to navigate to subpages where you can configure server settings.
Figure 4-2: Web Manager Interface
Menu
4-2
Configuration Serial Configuration
Serial Configuration
For local configuration, a terminal or a PC running a terminal emulation program can be
connected to the Device Server’s first serial port (CH 1). The terminal (or emulation) must
be configured for 9600 baud, 8-bit, no parity, and 1 stop bit, no flow control.
To enter Setup (configuration) Mode, cycle the Device Server’s power (power off and back
on). After power-up, the self-test begins and the Diagnostic and Status LEDs start blinking.
You must enter three lowercase “x” characters (xxx) within one second after powering up
in order to start the configuration mode.
Note: The easiest way to enter Setup Mode is to hold down the “x” key on
your keyboard while powering up the Device Server.
Configuration Parameters
After entering Setup Mode (confirm by pressing Enter), you can configure the parameters
by entering one of the numbers on the Change Setup Menu, or you can confirm default
values by pressing Enter. Be sure to store the new configurations when you are finished.
The Device Server will then perform a power reset.
4-3
Configuration Parameters Configuration
4-4
Configuration Server Configuration
Server Configuration
Select 0 to configure the Device Server’s basic parameters.
IP Address
The IP address must be set to a unique value in your network. See Appendix E for more
information about IP Addressing.
Note: The Device Server will not connect to the network if the assigned IP
address is already in use by another device.
Gateway Address
The gateway address, or router, allows communication to other LAN segments. The
gateway address should be the IP address of the default router connected to the same LAN
segment as the Device Server.
Subnet Mask
A subnet mask defines the number of bits taken from the IP address that are assigned for
the host section.
The Device Server prompts for the number of host bits to be entered, then calculates the
subnet mask, which is displayed in standard decimal-dot notation when the saved
parameters are displayed (for example, 255.255.255.0).
4-5
Server Configuration Configuration
DHCP Naming
The DHCP name of the Device Server can be changed. The default name of the Device
Server is Cxxxxxx, where xxxxxx is the last 6 digits of the Mac address. This option can
be changed to LTXdd, where 0.0.0.dd is the IP address assigned (dd should be a number
between 1 and 99). For example, by setting the IP address to 0.0.0.5, the resulting DHCP
name is LTX05.
A DHCP name of the customer’s own choosing (up to 8 characters) can also be designated.
This option can be set in the server configuration menu.
Figure 4-5: Server Configuration Menu
4-6
Configuration Serial Channel (Port) Configuration
Baud Rate
The Device Server and attached serial device, such as a modem, must agree on a speed or
baud rate to use for the serial connection. Valid baud rates are 300, 600, 1200, 2400, 4800,
9600 (default), 19200, 38400, 57600, and 115200 bits per second.
Interface Mode
The Interface (I/F) Mode is a bit-coded byte entered in hexadecimal notation. Use the
following table to select Interface Mode settings.
Option Bit 7 6 5 4 3 2 1 0
RS-232C 0 0
RS-422/485 0 1
RS-485 2-wire 1 1
7 Bit 1 0
8 Bit 1 1
No Parity 0 0
Even Parity 1 1
Odd Parity 0 1
1 Stop bit 0 1
2 Stop bits 1 1
4-7
Serial Channel (Port) Configuration Configuration
The following table demonstrates how to build some common Interface Mode settings:
Flow Control
Flow control sets the local handshaking for serial input/output. Generally, flow control is
not required if the connection is used to pass a blocked protocol with block sizes less than
1k (ACK/NAK) or speeds less than 38400. Use the following table to select Flow Control
options.
Option Hex
No flow control 00
Port Number
This setting represents the source port number in TCP connections, and is the number used
to identify the channel for remotely initiating connections. Range: 1024-65535.
u Port numbers 14000-14009 are reserved exclusively for use with the Comm Port
Redirector application (see Comm Port Redirector on page 5-1).
u Port number 9999 is reserved exclusively for Telnet setup.
u Port number 77FE (Hex) is reserved exclusively for configuration.
If the UDP mode is selected, the port number functions as the UDP source port number for
outgoing datagrams. Datagrams sent to the Device Server with this port number are
received to this channel.
4-8
Configuration Serial Channel (Port) Configuration
Connect Mode
Connect Mode defines how the Device Server makes a connection, and how it reacts to
incoming connections over the network. Use the following table to select Connect Mode
options:
Option Bit 7 6 5 4 3 2 1 0
Accept unconditional 1 1 0
Response
Nothing (quiet) 0
No active startup 0 0 0 0
Manual connection 0 1 0 0
Autostart 0 1 0 1
Datagram Type
Directed UDP 1 1 0 0
Modem Mode
With response 1 0 1 1 0
Without response 0 0 1 1 0
4-9
Serial Channel (Port) Configuration Configuration
Manual Connection
If manual connection startup is configured (C + address/port), only the portion not provided
in the command string is used. Any portion not provided with this string will be completed
with the preconfigured remote IP and the remote part of the Device Server setup. In manual
mode, the last byte of the address must be provided.
For example, if the Device Server’s configured remote IP address is 129.1.2.3, and the TCP
port number is 1234:
Datagram Type
When selecting this option, you will be prompted for the Datagram type. For example, enter
01 for directed UDP.
4-10
Configuration Serial Channel (Port) Configuration
Command Function
ATD0.0.0.0 Forces the Device Server into monitor mode if a remote IP address
and port number are defined within the Device Server.
ATD Forces the Device Server into monitor mode if a remote IP address
and port number are not defined within the Device Server and
connects if there is an IP and port in the Device Server.
ATDx.x.x.x Makes a connection to an IP address (x.x.x.x) and the remote port
number defined within the Device Server.
Note: All other AT commands with Modem Mode set to 16 acknowledge with
an OK, but no action is taken. Also, there is no response to any entry
other than an AT command.
Remote IP Address
This is the destination IP address used when the Device Server makes network connection
to an IP address.
Remote Port
This parameter defines the port number on the target host to which a connection is
attempted.
4-11
Serial Channel (Port) Configuration Configuration
Note: To connect an ASCII terminal to a host using the Device Server for
login purposes, use the remote port number 23 (Internet standard port
number for Telnet services).
Disconnect Mode
Use the following table to select Disconnect Mode Options:
Option Bit 7 6 5 4 3 2 1 0
Ignore DTRa 0
Hard disconnectd 0
4-12
Configuration Serial Channel (Port) Configuration
Function Bit 7 6 5 4 3 2 1 0
Clear at disconnect 1
Clear at disconnect 1
Enabled 1
4-13
Serial Channel (Port) Configuration Configuration
Pack Control
Alternate packing algorithm settings are enabled in Flush Mode. Set this value to 00 if
specific functions are not needed. Use the following table to select Pack Control options:
Option Bit 7 6 5 4 3 2 1 0
Idle Time
Trailing Characters
None 0 0
One 0 1
Two 1 0
Send Characters
Idle Time
Idle time to “Force transmit” defines how long the Device Server will wait between data
bytes before sending accumulated characters, regardless of the recognition of send
characters.
Trailing Characters
In some applications, CRC, Checksum, or other trailing characters follow the end-of-
sequence character; this option helps to adapt frame transmission to the frame boundary.
Send Characters
If “Send Characters Define 2-Byte Sequence” is enabled, the Device Server interprets the
sendchars as a 2-byte sequence; if not set, they are interpreted independently.
4-14
Configuration Serial Channel (Port) Configuration
If “Send Immediately After Send Characters” is not set, any characters already in the serial
buffer are included in the transmission after a “transmit” condition is found. If set, the
Device Server sends the data in the buffer immediately after recognizing the transmit
condition (sendchar or timeout).
Note: A transmission might occur if status information needs to be
exchanged or an acknowledgment needs to be sent.
Send Characters
You can enter up to two characters in hexadecimal representation in the parameters
“sendchar.” If a character received on the serial line matches one of these characters, it is
sent immediately, along with any awaiting characters, to the TCP connection. This
minimizes the response time for specific protocol characters on the serial line (for example,
ETX, EOT, etc.). Setting the first sendchar to 00 disables the recognition of the characters.
Alternatively, the two characters can be interpreted as a sequence (see Pack Control on
page 4-14).
If the terminal type option is enabled, the Device Server also reacts to the EOR (end of
record) and binary options, which can be used for applications like terminal emulation to
IBM hosts.
Note: The Telnet terminal type password and the channel (port) password
cannot be active at the same time.
Note: The Telnet terminal type password and the channel (port) password
cannot be active at the same time.
4-15
Security Settings Configuration
Security Settings
Note: We recommend that you set security over the dedicated network or
over the serial connection. If you set parameters over the network
(Telnet 9999), someone else could monitor the data.
The default setting is the N (No) option, which enables remote configuration. You can
configure the Device Server only by using Telnet or serial configuration. The Y (Yes)
option disables remote configuration.
Note: The Yes option disables many of the GUI tools for configuring the
Device Server, including the embedded Web Page Configuration tool.
4-16
Configuration Factory Default Settings
Enable Encryption
This setting defaults to the N (No) option, which completely disables the 128-bit Twofish
encryption algorithm. The Y (Yes) option enables 128-bit Twofish encryption and a 32-
hexadecimal (0-9, A-F) digit encryption string to be set. Only another Device Server
configured with an identical encryption string will be able to correctly decode data sent
from this Device Server. For more information on the Twofish encryption algorithm, see
www.counterpane.com.
Note: If you select Y, you must complete the settings. To escape, complete the
settings and exit without saving.
4-17
5: Using the Device Server
Comm Port Redirector
The Lantronix Comm Port Redirector application allows PCs to share modems and other
serial devices connected to a Device Server using Windows-based applications. The Comm
Port Redirector intercepts communications to specified communication ports and sends
them over an IP network connection to the Device Server’s serial port. This enables the PC
to use the Device Server’s serial port as if it were one of the PC’s communication ports.
Using their existing communications software, users can dial out to a remote host through
a modem connected to the Device Server.
Redirector Setup
To setup the Comm Port Redirector software:
1 Install the Redirector software. The software and installation instructions are
included on the distribution CD.
2 In the Redirector’s configuration screen, select Port Setup and add as many
communication ports as you need (for example, one for each Device Server).
3 Under each port, select Add IP and enter the IP address (Host) of the Device Server
that you want to assign to that port, and then enter the TCPPort number (3000 to
3009).
Note: Remember the TCPPort number. You will need it to configure the
Device Server.
1 Enter the Device Server’s Setup (configuration) Mode (see Chapter 4).
2 Set the Port Number to a value that is 11000 higher than the TCPPort number
selected in the Redirector setup above (for example, if the TCPPort number was
3005, set the Device Server’s Port Number to 14005).
3 Save the configurations and exit Setup Mode.
Note: When using the Redirector, the Device Server does not change its
serial port configuration to match the PC application’s serial settings.
Ensure that the Device Server serial port’s configuration matches the
configuration of your serial device.
5-1
A: Contact Information
If you are experiencing an error that is not listed in Appendix B, or if you are unable to fix
the error, there are a number of other troubleshooting options:
u Look on the Lantronix Web site for technical FAQs and documentation updates.
u Your name
u Serial number
u Firmware version
u Network configuration
u Status of the unit when the problem occurred (please try to include information on
user and network activity at the time of the problem)
A-1
Full Contact Information Contact Information
Sales Offices
The Americas
15353 Barranca Parkway
Irvine, CA 92618, USA
Phone: (949) 450-7227
Fax: (949) 450-7231
E-mail: sales@lantronix.com
France
Phone: +33 (0) 139 30 41 74
Fax: +33 (0) 139 30 41 73
E-mail: eu_sales@lantronix.com
Germany
Phone: +49 (0) 7720 3016 20
Fax: +49 (0) 7720 3016 88
E-mail: eu_sales@lantronix.com
Pacific Rim
46 East Coast Road
East Gate #10-01
Singapore 428766
Phone: +65 447 4222
Fax: +65 344 0614
E-mail: asiapacsales@lantronix.com
A-2
Contact Information Full Contact Information
Technical Support
Technical Support
Phone: (800) 422-7044 or (949) 453-7198
Fax: (949) 450-7226
FAQs, Documentation, and Firmware Downloads: www.lantronix.com/support
E-mail: support@lantronix.com
A-3
B: Troubleshooting
Monitor Mode
Monitor Mode is a command-line interface used for diagnostic purposes (see Table B-1:
Monitor Mode Commands on page B-2). There are two ways to enter Monitor Mode:
locally via the serial port or remotely via the network.
1 Follow the same principles used in setting the serial configuration parameters (see
Serial Configuration on page 4-3).
Instead of typing three “x” keys, however, type xx1 or zzz to enter Monitor Mode
with network connections. This requires a valid connection to the network.
2 A 0> prompt indicates that you have successfully entered Monitor Mode.
1 First establish a Telnet session to the configuration port (9999). The following
message appears:
Figure B-1: Entering Monitor Mode Via the Network
3 A 0> prompt indicates that you have successfully entered Monitor Mode.
B-1
Monitor Mode Troubleshooting
Note: All commands must be given in capital letters, with blank spaces
between the parameters.
G0, G1, ....,GE, GF Get configuration Gets a memory page of configuration information
from memory page from the device.
B-2
Troubleshooting Monitor Mode
Entering any of the commands listed above will generate one of the following command
response codes:
Response Meaning
B-3
C: Updating Firmware
Obtaining Firmware
Current firmware files are available on the distribution CD. Firmware updates and release
notes for Device Servers can be downloaded directly from Lantronix in one of the
following ways: via the Lantronix World Wide Web site (www.lantronix.com), or using
anonymous FTP through the Internet (ftp.lantronix.com/pub).
Reloading Firmware
There are three ways to update the Device Server’s internal operational code (CBX*.ROM
or CBX*.HEX): via TFTP, via another device server, or via the serial port.
You can also update the Device Server’s internal Web interface (CBXW*.COB) via TFTP.
1 Use a TFTP client to send a binary file to the Device Server (CBX*.ROM to upgrade
the Device Server’s internal operational code and CBXW*.COB to upgrade its
internal Web interface).
Note: TFTP requires the .ROM (binary) version of the Device Server’s
internal operational code.
B The Destination File is 3Q (upper case) for the internal operational code and
WEB6 (upper case) for the internal Web interface.
C-1
Reloading Firmware Updating Firmware
2 The Device Server performs a power reset after the firmware reload process has
completed.
1 Enter the host Device Server’s Monitor Mode (see Monitor Mode on page B-1).
2 Send the firmware to the receiving Device Server using the SF command, where
x.x.x.x is the receiving Device Server’s IP address.
Figure C-2: Sending Firmware to Another Device Server
SF xxx.xxx.xxx.xxx
3 The Device Server performs a power reset after the firmware load has been
completed.
Note: You can only update the Device Server’s internal Web interface using
TFTP.
C-2
Updating Firmware Reloading Firmware
A Select Send Text File and select the CBX*.HEX file to be downloaded.
Note: The downloaded file must be the .HEX (ASCII) version.
3 After the final record is received, the Device Server checks the integrity of the
firmware image before programming the new firmware in the flash ROM.
Note: Do not switch off the power supply at this time. A loss of power while
reprogramming will result in a corrupt program image and a
nonfunctional Device Server.
5 The Device Server performs a power reset after the firmware load has been
completed.
Note: You can only update the Device Server’s internal Web interface using
TFTP.
C-3
D: Technical Specifications
CoBox-FL
The following table lists technical information about the CoBox-FL Device Server.
Table D-1: CoBox-FL Technical Specifications
Protocols Supported ARP, UDP, TCP, Telnet, ICMP, SNMP, DHCP, TFTP, HTTP, BootP,
and ECHO
Data Rates serial speed ranging from 300 bps - 115.2 Kbps
System Software Flash ROM standard: downloadable from a TCP/IP host (TFTP) or
over serial port
D-1
CoBox-FL Technical Specifications
D-2
E: Supplemental Information
IP Addresses
Each TCP/IP node on a network host has a unique IP address. This address provides the
information needed to forward packets on the local network and across multiple networks
if necessary.
IP addresses are specified as x.x.x.x, where each x is a number from 1 to 254; for example,
192.0.1.99. The Device Server must be assigned a unique IP address to use network
functionality.
IP addresses contain three pieces of information: the network, the subnet mask, and the
host.
Network Portion
The network portion of the IP address is determined by the network type: Class A, B, or C.
Class A First byte (2nd, 3rd, and 4th bytes are the host)
Class B First 2 bytes (3rd and 4th bytes are the host)
In most network examples, the host portion of the address is set to zero.
E-1
IP Addresses Supplemental Information
Consider the IP address 36.1.3.4. This address is a Class A address; therefore, the network
portion of the address is 36.0.0.0 and the host portion is 1.3.4.
Subnet Portion
The subnet portion of the IP address represents which subnetwork the address is from.
Subnetworks are formed when an IP network is broken down into smaller networks using
a subnet mask.
A router is required between all networks and all subnetworks. Generally, nodes can send
packets directly only to nodes on their own subnetwork. All packets destined for other
subnets are sent to a router on the local network.
Host Portion
The host portion of the IP address is a unique number assigned to identify the node.
Network Address
A host address with all host bits set to 0 addresses the network as a whole (for example, in
routing entries).
Figure E-1: Sample Network Address
192.168.0.0
Broadcast Address
A host address with all host bits set to 1 is the broadcast address, meaning for “for every
station.”
Figure E-2: Sample Broadcast Address
192.168.0.255
Note: Network and broadcast addresses must not be used as a host address;
for example, 192.168.0.0 identifies the entire network, and
192.168.0.255 identifies the broadcast address.
E-2
Supplemental Information IP Addresses
IP Subnet Mask
A subnet mask divides IP address differently than the standards defined by the classes A,
B, and C. A subnet mask defines the number of bits to be taken from the IP address as the
network or host sections. The Device Server prompts for the number of host bits to be
entered and then calculates the subnet mask, which is displayed in standard decimal-dot
notation (for example, 255.255.255.0) when saved parameters are displayed.
A 8 24 255.0.0.0
B 16 16 255.255.0.0
C 24 8 255.255.255.0
255.255.255.252 2
255.255.255.248 3
255.255.255.240 4
255.255.255.224 5
255.255.255.192 6
255.255.255.128 7
255.255.255.0 8
255.255.254.0 9
255.255.252.0 10
255.255.248.0 11
... ...
255.128.0.0 23
255.0.0.0 24
E-3
IP Addresses Supplemental Information
Network RFCs
For more information about IP addresses, refer to the following documents, which can be
located on the World Wide Web using one of the following directories or indices:
E-4
Supplemental Information Binary to Hexadecimal Conversion
Hexadecimal digits have values ranging from 0 to F, which are represented as 0-9, A (for
10), B (for 11), etc. To convert a binary value (for example, 0010 0011) to a hexadecimal
representation, the upper and lower four bits are treated separately, resulting in a two-digit
hexadecimal number (in this case, 4C).
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
E-5
F: Pinouts
Ethernet Connectors
The CoBox-FL contains a 10BASE-T ethernet connector and a 10BASE-FL ethernet
connector.
10BASE-T
The CoBox-FL supports 10 Mbit Ethernet through an RJ45 connector.
Figure F-1: RJ45 Ethernet Connector
8
1
1 - Tx+
2 - Tx-
3 - Rx+
6 - Rx-
10BASE-FL
The CoBox-FL also supports 10 Mbit Ethernet through an ST-Fiber Ethernet connector.
Figure F-2: 10BASE-FL Ethernet Connector
Rx
Tx
F-1
Serial Connectors Pinouts
Serial Connectors
The CoBox-FL’s female DB25 connector provides an RS-232C, RS-485, or RS-422 DCE
serial port. The default serial port settings are 9600 baud, 8 bits, no parity, and 1 stop bit.
Figure F-3: DB25 Serial Connector (DCE)
1 14
*Reg. +9-30VDC
13 25
(RS-232C) (RS-485/422)
*The Device Server can alternately be powered up via the serial
port using one of these pins.
**The minus sign (-) is sometimes represented as A (e.g., TXA).
The plus sign (+) is sometimes represented as B (e.g., TXB).
Note: For RS-485 2-wire functionality, pins 14 and 21 and pins 15 and 22
must be connected to each other.
5
GND 9
DTRA (out)
CTSA (in)
TxA (out)
RTSA (out)
RxA (in)
DCDA (in) 6
1
F-2
Warranty Statement
Lantronix warrants for a period of FIVE years from the date of shipment that each CoBox-FL Device
Server supplied shall be free from defects in material and workmanship. During this period, if the cus-
tomer experiences difficulties with a product and is unable to resolve the problem by phone with
Lantronix Technical Support, a Return Material Authorization (RMA) will be issued. Following re-
ceipt of a RMA number, the customer is responsible for returning the product to Lantronix, freight
prepaid. Lantronix, upon verification of warranty will, at its option, repair or replace the product in
question, and return it to the customer freight prepaid. No services are handled at the customer’s site
under this warranty.
Lantronix warrants software for a period of sixty (60) days from the date of shipment that each soft-
ware package supplied shall be free from defects and shall operate according to Lantronix specifica-
tions. Any software revisions required hereunder cover supply of distribution media only and do not
cover, or include, any installation. The customer is responsible for return of media to Lantronix and
Lantronix for freight associated with replacement media being returned to the customer.
Lantronix shall have no obligation to make repairs or to cause replacement required through normal
wear and tear of necessitated in whole or in part by catastrophe, fault or negligence of the user, im-
proper or unauthorized use of the Product, or use of the Product in such a manner for which it was
not designed, or by causes external to the Product, such as, but not limited to, power or failure of air
conditioning.
The information, recommendation, description and safety notations in this or other documents sup-
plied by Lantronix are based on general industry experience and judgment with respect to such hard-
ware and software. THIS INFORMATION SHOULD NOT BE CONSIDERED TO BE ALL
INCLUSIVE OR COVERING ALL CONTINGENCIES. NO OTHER WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE OR
MERCHANTABILITY, OR WARRANTIES ARISING FROM COURSE OF DEALING OR US-
AGE OF TRADE, ARE MADE REGARDING THE INFORMATION, RECOMMENDATIONS,
DESCRIPTIONS AND SAFETY NOTATIONS CONTAINED HEREBY AND IN HARDWARE
AND SOFTWARE SPECIFICATION DOCUMENTATION, OR INSTRUCTIONS SUPPLIED BY
Lantronix. In no event will Lantronix be responsible to the user in contract, in tort (including negli-
gence), strict liability or otherwise for any special, indirect, incidental or consequential damage or
loss of equipment, plant or power system, cost of capital, loss of profits or revenues, cost of replace-
ment power, additional expenses in the use of existing software, hardware, equipment or facilities, or
claims against the user by its employees or customers resulting from the use of the information, rec-
ommendations, descriptions and safety notations supplied by Lantronix. Lantronix liability is limited
(at its election) to (1) refund of buyer’s purchase price for such affected products (without interest);
(2) repair of such products, or (3) replacement of such products, provided however, that the buyer
follows the procedures set forth herein
Warranty claims must be received by Lantronix within the applicable warranty period. A replaced
product, or part thereof, shall become the property of Lantronix and shall be returned to Lantronix at
the Purchaser’s expense. All return material must be accompanied by a return material authori-
zation number assigned by Lantronix.
Declaration of Conformity
(according to ISO/IEC Guide 22 and BS 7514)
Manufacturer’s Name: Lantronix
Copyright 2000, Lantronix. All rights reserved. No part of the contents of this book may be
transmitted or reproduced in any form or by any means without the written permission of
Lantronix. Printed in the United States of America.
WARNING
This product has been designed to comply with the limits for a Class A digital device
pursuant to Part 15 of FCC Rules. These limits are designed to provide reasonable
protection against such interference when operating in a commercial environment. This
equipment generates, uses, and can radiate radio frequency energy, and if not installed and
used in accordance with this guide, may cause harmful interference to radio
communications.
Changes or modifications to this device not explicitly approved by Lantronix will void the
user’s authority to operate this device.