background image

Configuration via Serial Mode or Telnet Port 

WiPort™ User Guide 

 

45 

 

Manual Connection 

Attempts to connect when directed by a command string 
received from the serial port. The first character of the command 
string must be a 

C

 (ASCII 0x43), and the last character must be 

either a carriage return (ASCII 0x0D) or a line feed (0x0A). No 
blanks or space characters may be in the command string. 
Between the first and last command string characters must be a 
full or partial destination IP address and can include a 
destination port number.  
 
The IP address must be in standard dot-decimal notation and 
may be a partial address, representing the least significant 1, 2, 
or 3 bytes of the remote IP address. The period is required 
between each pair of IP address numbers. 
 
If present, the port number must follow the IP address, must be 
presented as a decimal number in the range 1-65535, and must 
be preceded by a forward slash (ASCII 0x2F). The slash 
separates the IP address and the port number. If you omit the 
port number from a command string, the internally stored remote 
port number starts a connection.  
 
If a partial IP address is presented in a command string, it is 
interpreted to be the least significant bytes of the IP address and 
uses the internally stored remote IP address to provide the most 
significant bytes of the IP address. If the IP address entered is 
0.0.0.0/0, the device server enters Monitor Mode. 
 
For example, if the remote IP address already configured in the 
unit is 129.1.2.3, then an example command string would be 
C3/7. (This would connect to 129.1.2.3 and port 7.) You may 
also use a different ending for the connection string. For 
example, C50.1/23 would connect you to 129.1.50.1 and port 23. 

Table 5-7. Manual Connection Address Example

 

Command String  

Result if remote IP is 129.1.2.3 and remote port is 1234  

C121.2.4.5/1  

Complete override; connection is started with host 121.2.4.5, port 1  

C5  

Connects to 129.1.2.5, port 1234  

C28.10/12  

Connects to 129.1.28.10, port 12  

C0.0.0.0/0 

Connects to 129.1.28.10, port 12; enters Monitor Mode 

 

Autostart (Automatic 
Connection) 

The unit automatically attempts a connection to the remote IP 
address and port after booting up.  

Содержание WP2002000-01

Страница 1: ...WiPort User Guide Part Number 900 332 Revision C October 2004...

Страница 2: ...ered trademark of The Open Group Windows 95 Windows 98 Windows 2000 Windows NT and Windows XP are trademarks of Microsoft Corp Netscape is a trademark of Netscape Communications Corporation Contacts L...

Страница 3: ...vide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance w...

Страница 4: ..._____________________________________ 13 Host List Configuration__________________________________________________ 14 OEM Pin Configuration _________________________________________________ 14 Channel...

Страница 5: ...nal Type ________________________________________________________52 Channel Port Password _____________________________________________________52 Email Configuration __________________________________...

Страница 6: ...______ 61 Exit Configuration Mode_________________________________________________ 61 6 Configurable Pins 62 Defaults Settings ___________________________________________________________ 62 Features _...

Страница 7: ...eb Manager Details configuration using the Web Manager to set parameters such as port and server properties Configuration via Serial Mode or Telnet Port Provides instructions for accessing Setup Mode...

Страница 8: ...basics to get the WiPort up and running WiPort Integration Guide Provides information about the WiPort hardware and integrating the WiPort into another product DeviceInstaller User Guide Provides ins...

Страница 9: ...user interface by employing common and familiar tools the WiPort serves applets to a Web browser resulting in interactive Web pages This customization of HTML Web pages and configuration screens tail...

Страница 10: ...Port using a Graphical User Interface GUI on a PC attached to a network See 3 Configuration Using DeviceInstaller Web Manager Through a web interface configure the WiPort and its settings using the Wi...

Страница 11: ...commonly uses port number 23 A port number is similar to an extension on a phone system The unit s serial channel port can be associated with a specific TCP UDP port number Port number 9999 is reserv...

Страница 12: ...Settings The Configure Device window for the WiPort unit displays 4 To store configuration changes click OK To store and apply modifications click Apply Server Configuration Note The IP address is ass...

Страница 13: ...network in which the WiPort unit resides Ad Hoc Network Creation Select Enable when using a client such as a wireless card to associate to a network Ad Hoc Network Name Enter the network name for the...

Страница 14: ...the WiPort should abandon attempting connection to the host list 3 Click the next to the Host List field to open the HostListEntry Collection Editor Window The list of host list IP addresses display i...

Страница 15: ...ing pull down menu options as necessary Baud Rate The unit 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 1...

Страница 16: ...when transmitted between computers The default is None UDP Datagram Mode Datagram Mode When the UDP option is in effect the unit never attempts to initiate a TCP connection because it uses UDP datagr...

Страница 17: ...the attached serial device It accepts AT style modem commands and handles the modem signals accordingly For more information on Modem Emulation Mode see Modem Mode on page 47 Selecting Without Echo t...

Страница 18: ...lear the buffer when the network connection to or from the device is dropped On Active Connection Clear the buffer with a new connection initiated from the device to the network On Passive Connection...

Страница 19: ...t s email settings 1 From the Configure Device window for the WiPort unit click the Advanced tab 2 In the Email Notification section enter the following fields Domain Name Enter the Email server s dom...

Страница 20: ...address It is needed to locate the WiPort using DeviceInstaller For more information on the hardware address see Hardware Address on page 10 Follow the instructions on the product CD to install and r...

Страница 21: ...nager if it is connected to the network by entering its IP address in a web browser Network Configuration The unit s network values display upon selecting Network from the main menu The following sect...

Страница 22: ...s the IP address from a pool of addresses DHCP Select Enable to permit Dynamic Host Configuration Protocol DHCP DHCP automatically assigns a leased IP address to the WiPort unit Auto IP The WiPort gen...

Страница 23: ...A subnet mask defines the number of bits taken from the IP address that are assigned for the host part Default Gateway The gateway address or router allows communication to other LAN segments The gat...

Страница 24: ...device server s initialization at startup CPU Configuration Mode The WiPort provides a high performance mode that supports the baud rates 460 Kbps and 921 Kbps When running the serial port at 460 Kbps...

Страница 25: ...seconds the WiPort should abandon attempting a connection to the host list Host Information Host Address Enter or modify the host s IP address Port Enter the target port number Channel 1 and Channel...

Страница 26: ...w control manages data flow between devices in a network to ensure it is processed efficiently Too much data arriving before a device is prepared to manage it causes lost or retransmitted data Baud Ra...

Страница 27: ...of the byte sequence indicates whether to send the data frame or the entire buffer Select True to send only the data frame Send Trailing Bytes Select the number of bytes to send after the end of seque...

Страница 28: ...or passive connections Connect Mode Active Connection Active Connect Select None to disable Active Connect Otherwise indicate the connection type from the available list Never Accept Incoming rejects...

Страница 29: ...ction state Default setting is None Use Hostlist If this option is set to True the device server scrolls through the host list until it connects to a device listed in the host list table Once it conne...

Страница 30: ...o configure a channel s UDP settings 1 From the main menu click Connection for either Channel 1 or Channel 2 to display the Connection Settings page for the selected channel 2 In the available fields...

Страница 31: ...te triggers based on any combination of the configurable pins when selected as user I O functions Optionally use a two byte serial string to initiate a trigger Each trigger is independent of the other...

Страница 32: ...ve Inactive or None The configurable pins are disabled if they are all set to None If both the serial sequence and the configurable pins are disabled the trigger is disabled To configure the WiPort s...

Страница 33: ...ication Interval The notification interval is the minimum time allowed between individual triggers If a trigger event occurs within the minimum interval since the last trigger it is ignored Re notific...

Страница 34: ...nstead of an Access Point Ad Hoc Network Name Enter the network name for the Ad Hoc network Ad Hoc Network Channel Select from the pull down menu the radio channel for the Ad Hoc network The default v...

Страница 35: ...M Pin Configuration There are 11 configurable hardware pins on the WiPort unit For each pin configure the pin function communication direction and its activity level For more information see Configura...

Страница 36: ...dicates channel 1 status and extended diagnostics when the Diagnostics LED is lit Serial Status LED out chan 2 Indicates channel 2 status Diagnostics LED out Indicates errors and configurations Reset...

Страница 37: ...how a typical device Not all devices display information in the same manner Accessing Setup Mode Telnet Access Note Alternatively use DeviceInstaller to access Telnet Select the device from the main w...

Страница 38: ...running a terminal emulation program to your unit s serial port The default serial port settings are 9600 baud 8 bits no parity 1 stop bit no flow control 2 Reset the WiPort unit by cycling the unit...

Страница 39: ...ddresses enter it manually The IP address must be set to a unique value in the network Enter each octet and press Enter between each section inputted The current value is displayed in parentheses IP A...

Страница 40: ...not changed and the IP is 0 0 0 0 then the DHCP name defaults to CXXXXXX XXXXXX is the last 6 digits of the MAC address shown on the label on the bottom side of the unit For example if the MAC address...

Страница 41: ...ed in hexadecimal notation The current value is displayed in parentheses I F Mode 4C _ Note RS 422 and RS 485 are available on Channel 2 only WiPort 485 models if the WiPort is used with the WiPort ev...

Страница 42: ...low Flow control sets the local handshaking method for stopping serial input output The current value is displayed in parentheses Flow 0 _ Use the following table to select flow control options Table...

Страница 43: ...to initiate a connection using TCP Set the port to a non zero value when the unit is in a passive mode or when using UDP instead of TCP Connect Mode Connect Mode defines the unit s connection method...

Страница 44: ...not already established Default setting b Response Character Response A single character is transmitted to the serial port when there is a change in connection state C connected D disconnected N host...

Страница 45: ...omit the port number from a command string the internally stored remote port number starts a connection If a partial IP address is presented in a command string it is interpreted to be the least signi...

Страница 46: ...6 Hostlist Example Baudrate 9600 I F Mode 4C Flow 00 Port No 10001 ConnectMode C0 25 Hostlist No Entry Change Hostlist N Y 01 IP address 000 172 000 19 000 0 000 1 Port 0 23 02 IP address 000 172 000...

Страница 47: ...chine accumulating phone charges for each connection Modem Mode allows you to replace modems with WiPorts and to use an Ethernet connection instead of a phone call By not having to change communicatio...

Страница 48: ...erwise formatted correctly with OK and takes no further action When an active connection is in effect the unit transfers data and does not process commands received from the serial interface When a co...

Страница 49: ...les character echo and responses n 1 enables character echo and responses ATVn Enables 1 character response or full verbose n 0 enables 1 character response n 1 enables full verbose Note The unit reco...

Страница 50: ...TCP connection closes even if the remote site does not acknowledge the disconnection 4 When there is a network connection to or from the serial port the state LED turns off instead of blinking 5 When...

Страница 51: ...ackets are sent to the network The standard algorithm is optimized for applications in which the unit is used in a local environment The alternate packing algorithm minimizes the packet count on the n...

Страница 52: ...al line before the set time expires Enter time in the format mm ss where m is the number of minutes and s is the number of seconds DisConnTime 0 0 To disable the inactivity timeout enter 00 00 Range i...

Страница 53: ...il server 0 0 0 0 Unit Domain Recipient 1 Recipient 2 Trigger 1 Serial trigger input disabled Channel 1 Match 00 Trigger input1 X Trigger input2 X Trigger input3 X Message Priority L Min notification...

Страница 54: ...serial trigger input N Trigger input1 A I X X Trigger input1 A I X X Trigger input1 A I X X Message Priority L Minimum notification interval 1 s Re notification interval 0 s Set the configurable pins...

Страница 55: ...n standard as an additional means of security To modify WLAN and WEP settings select 4 WLAN from the Change Setup menu Enable WLAN The current value is displayed in parentheses By default WLAN is enab...

Страница 56: ...ious consequences TCP Keepalive Time TCP Keepalive time defines how many seconds the unit waits during a silent connection before checking whether the currently connected network device is still on th...

Страница 57: ...5 _ Security Settings Change security settings via Telnet or serial connections only not on the Web Manager Note As recommended set security over the dedicated network or over the serial setup If the...

Страница 58: ...required disable this capability for security purposes Disable Port 77FEh N _ The default setting is the N No option which enables remote configuration As a result configure the unit by using DeviceIn...

Страница 59: ...nit s Channel 1 configuration Channel 2 configuration E mail settings and Expert settings to the factory default settings The server configuration settings for IP address gateway IP address and netmas...

Страница 60: ...nel 11 Security 0 None Data Rate 11Mbps Expert Settings TCP keepalive 45 seconds ARP cache timeout 600 seconds High CPU performance mode Disabled Disable Monitor Mode N No HTTP port number 80 SMTP por...

Страница 61: ...ail notification and triggers are disabled Exit Configuration Mode To exit setup mode Select option 9 Save and exit from the Change Setup menu to save all changes and reboot the device All values are...

Страница 62: ...the directions active levels and states can be dynamically controlled and probed through special port 77F0 Features TCP and UDP can be used The protocol supports up to 32 GPIO for future products Fun...

Страница 63: ...alid command only one byte with value 0FFh is returned Command Parameter 1 Byte 0 1 2 3 4 Pin Number 0 7 8 15 16 23 24 31 When sending a command TCP and UDP wait for the response before sending the ne...

Страница 64: ...it is active high 3 3V when active 0V when inactive Command 13h Get Current States Send No parameters Response 1 parameter Bytes 1 4 States Bit X 1 means GPIO X is active 0 means it is inactive Comma...

Страница 65: ...ue in the second parameter 0 means the state for that GPIO will not change Bytes 5 8 New States Bit X 1 means GPIO X will become active 0 means it will become inactive Response 1 parameter Bytes 1 4 U...

Страница 66: ...and details 1Bh command 1Bh 01h 00h 00h 00h the mask that determines which GPIOs will be changed Bit 0 and 9 are 1 GPIO0 and GPIO9 will be changed bit 1 is 0 GPIO1 will remain the same 01h 00h 00h 00h...

Страница 67: ...that you have successfully entered Monitor Mode Entering Monitor Mode via the Network Port To enter Monitor Mode using a Telnet connection 1 Establish a Telnet session to the configuration port 9999...

Страница 68: ...s mode G0 G1 Ge Gf Get configuration from memory page Gets a memory page of configuration information from the device S0 S1 Se Sf Set configuration to memory page Sets a memory page of configuration i...

Страница 69: ...uide for information about reloading firmware using DeviceInstaller The other methods are discussed below Using TFTP Graphical User Interface To download new firmware from a computer 3 Use a TFTP clie...

Страница 70: ...tp i 192 168 1 111 put H2_FW_200 fwx FWX1 tftp i 192 168 1 111 put wpt_wm110 cob WEB1 Recovering the Firmware Using the Serial Port If for some reason the firmware is damaged you can recover the firmw...

Страница 71: ...Make sure that your unit s IP address is unique When troubleshooting the following problems make sure that the WiPort is powered up Confirm that you are using a good network connection Diagnostic LED...

Страница 72: ...Mode message You may have entered the Ethernet address incorrectly with the ARP command Confirm that the Ethernet address that you entered with the ARP command is correct The Ethernet address may onl...

Страница 73: ...ommands at the DOS prompt of your computer ARP D X X X X X X X X is the IP of the device server PING X X X X X X X X is the IP of the device server If you get a response then there is a duplicate IP a...

Страница 74: ...the No Connection With The Device Server message displays Your computer is not able to connect to port 30718 77FEh on the device server Make sure that port 30718 77FEh is not blocked with any router t...

Страница 75: ...h Friday excluding holidays Technical Support Europe Middle East and Africa Phone 49 0 89 31787 817 Email eu_techsupp lantronix com or eu_support lantronix com Firmware downloads FAQs and the most up...

Отзывы: