Page 3
W&T Introduction The LAN-Modem permits devices that require dial-up modems for communicating to use the Intranet or Internet instead of the telephone system. On a serial interface, the LAN-Modem behaves in a way this is compatible with standard modems for the telephone system;...
W&T Inhalt 1 Quickstart Installation in flow chart form Factory Default setting 2 Assigning the IP address Configuring network parameters with WuTility Serial assigning of IP, subnet mask and gateway Assigning the IP using DHCP protocol 2.3.1 Activating/Deactivating DHCP Assigning the IP using BOOTP protocol 3 Interfaces and displays Ethernet connection RS232 interface...
W&T Quickstart Already experienced users of LAN-Modems will find on the two following pages a flow chart with the essential steps for start-up as well as the configuration. Detailed information can be found then in the following sections. Subject to error and alteration...
W&T Quickstart Installation in flow chart form Network LAN-Modem Windows PC with TCP/IP Select site WuTility installed? Install WuTility with product CD Start Connect WuTility supply voltage Select Connect LAN-Modem in network cable inventory list Optain IP Button: address, subnet IP address mask, gateway address...
W&T Quickstart 1.2 Factory Default setting The list contains an overview of the most important settings. Detailed information on the respective parameters can be found in later sections of this manual. Network settings Hardware connection: Auto negotiating IP address: 0.0.0.0 Gateway address: 0.0.0.0 Subnet mask:...
W&T Assigning the IP address The LAN-Modem is factory set to IP address 0.0.0.0. Before you can make the entry in the LAN-Modem, you need to specify an IP address that is valid for your network. You system administrator will provide you with this. If you have only a small network with no routing, use the IP address of your PC and simply change the last digit.
W&T Assigning the IP address Configuring network parameters with WuTility The Windows tool WuTility version 3.0 and higher allows not only inventorying of LAN-Modem, Com-Server and Web-IO installations, but also convenient assignment of the following network-side basic parameters: • IP address •...
Page 13
W&T Assigning the IP address same subnet. When started, WuTility automatically searches the local network for connected W&T network devices and creates an inventory list. This search process can be repeated manually as often as desired by clicking on the Scan button: Within the inventory list you can identify the desired LAN-Mo- dem based on its MAC address.
Page 14
W&T Assigning the IP address Clicking on the Next button assigns the network parameters to the LAN-Modem. After acknowledging the resulting message, all the columns in the WuTility device list are filled in with information. This concludes the network-side startup of the LAN-Modem. With the exception of a few special settings, the rest of the configuration is done as for a standard dial-up modem using the serial port and AT commands.
W&T Assigning the IP address Serial assigning of IP, subnet mask and gateway After a LAN-Modem reset a time window of around 2 seconds is available, during which you can assign a new IP address, subnet mask and gateway address by entering at least 3 „x“. This serial method functions regardless of whether the LAN-Modem already has an IP address or not.
Page 16
W&T Assigning the IP address the following example will assign IP address 172.17.231.99, subnet mask 255.255.255.0 and gateway 172.17.231.52 to the LAN-Modem. -> LAN-Modem IP no.+<ENTER>: <- LAN-Modem 172.17.231.99,255.255.255.0,172.17.231.52 -> LAN-Modem 172.17.231.99,255.255.255.0,172.17.231.52-1 <- LAN-Modem 2.2.2 Activating/Deactivating DHCP, BOOTP/RARP The DHCP and BOOTP/RARP function of the LAN-Modem can be turned off as part of assigning the IP address serially.
W&T Assigning the IP address Assigning the IP using DHCP protocol Many networks use DHCP (Dynamic Host Configuration Protocol) or its predecessor BOOTP described in the following section for centralized and dynamic assignment of the network parameters. DHCP protocol is activated by the factory default settings, so that in network environments dynamic IP assignment is sufficient for connecting the LAN-Modem to the network.
Page 18
W&T Assigning the IP address • Serial port As part of serial IP assignment, the following options for deactivating/activating DHCP and BOOTP can be selected directly following the address string: -0 r Deactivates DHCP and BOOTP/RARP -1 r Activates BOOTP/RARP -2 r Activates DHCP A detailed description of the procedure can be found in the section on Serial assignment of IP, subnet mask and...
Page 19
W&T Assigning the IP address restart therefore a corresponding update request is issued with the original DHCP server. If the latter is not resolvable at this point in time, the LAN-Modem deletes the IP address and starts a new cyclical search for alternate DHCP servers. If after the assigned lease time has expired the DHCP server is not reachable, the LAN-Modem deletes its IP address.
W&T Assigning the IP address Assigning the IP using BOOTP protocol Many networks use BOOTP as predecessor of DHCP protocol for centralized and dynamic assignment of IP addresses. The factory default setting is for BOOTP turned off. You can activate it e.g.
Page 21
W&T Assigning the IP address Once the administrator has made the necessary entries, the LAN-Modem obtains the desired IP address automatically after each reset. To ensure accessibility of the LAN-Modem even should the BOOTP server go down, the previous IP address is retained should there be no reply.
W&T Interfaces and Displays Ethernet connection The LAN-Modem incorporates an IEEE 802.3-compatible network interface. Link-Status The current link status of all models is indicated by the Error LED on the device front panel. Flashing at a rate of approx. 1 second indicates that there is no connection to the hub or that the connection is faulted.
Page 25
W&T Interfaces and Displays In addition to the Auto-Negotiation mode, both the LAN-Mo- dems as well as many switches can be configured for fixed transmission parameters with respect to speed and duplex. To prevent communications problems (duplex mismatch), only the following two combinations are permissible: •...
W&T Interfaces and Displays 3.2 RS232 interface The pin assignments for the RS232 port are identical with that of a dialup modem, which means that standard cable can be used. Make sure that the ports for the LAN-Modem and the serial terminal device are configured for identical transmission parameters and handshake procedures.
W&T Interfaces and Displays 3.3 Supply voltage The supply voltage for the LAN-Modem can be brought in on the adjacent screw terminals on the underside of the housing. DC voltage of any polarity or AC voltage may be used. The reverse polarity protection results in the following various maximum and minimum values for the supply voltage: •...
W&T Assigning the IP address 3.4 LED displays Status and error information is indicated by the LAN-Modem using three LEDs having various blink codes. • Power-LED Indicates the presence of supply voltage. If the LED is not full on, please check your power supply connections. •...
W&T LAN-Modem operation settings In addition to the traditional paired operation of the W&T LAN-Modem it is also possible to communicate on a Windows computer using virtual modem ports. ■ Standard mode ■ Download and installation of the W&T COM redirector ■...
W&T LAN-Modem operation settings 4.1 Standard mode LAN-Modem <> LAN-Modem Like standard modems in a land line network, the devices are connected in pairs, i.e. there is a LAN-Modem on both the calling and receiving side. Starting with an AT dial-up command (ATD...) the calling LAN- Modem opens a TCP connection to the destination system.
W&T LAN-Modem operation settings 4.2 Mode LAN-Modem <> Virtueller Modemport If one side of the connection is a Windows application, then on this side it is possible to use a virtual modem port of the W&T COM Port Redirector. This emulates a local COM port including a connected LAN-Modem.
Page 32
W&T LAN-Modem operation settings Installation/deinstallation of the COM port redirector System requirements for installing the W&T Com Port Redirector: • Operating system Windows NT, 2000, XP, Vista, Windows7 • Login as administrator or with administrator rights Installation of the W&T Com Port Redirector is done as an update to any already existing older versions.
Page 33
W&T LAN-Modem operation settings The optional name entered here is used only for identifying the port within the inventory list of the W&T COM Port Redirector. It has no effect on the actual operation or communication. Subject to error and alteration...
W&T Modem Operation After the network configuration is complete, the LAN-Modem behaves on the serial side just like a dial-up modem with an AT command set, except that the TCP/IP LAN takes the place of the telephone line. As far as the controlling application or controlling device is concerned, all that needs to happen is that the previously used telephone number is replaced by the IP address of the distant terminal.
W&T Modem Operation 5.1 Serial transmission parameters Unlike modems for the telephone network, the LAN-Modem is not able to automatically detect the baud rate of the terminal. The following transmission format is factory set: Baud: 9600 Data bits: Parity: none Stop bits: Flow control: RTS/CTS...
W&T Modem Operation 5.2 Command syntax The LAN-Modem accepts all the AT described in the following sections as long as they corresponding to one of the following patterns and are finished with a CR: letter [number] & letter [number] letter [number] letter [number]...
W&T Modem Operation 5.3 Command and data mode The LAN-Modem distinguishes on the serial side between two mode states: command and data mode. • Command mode In this mode, which is activated after power-on, the AT command interpreter operates on the serial interface. The LAN-Modem is in this state ready to receive and process AT commands.
W&T Modem Operation 5.4 All AT commands The LAN-Modem accepts all the commands in the table whose processing is done according to the following rules: Command Description Parameter Dial IP address and go online IP-Adresse Pick up incoming call Return to an existing connection Close connection Close connection and reset modem n=0, 1...
W&T Modem Operation • Omitting a numerical parameter has the same effect as indicating a 0. • The boldface parameters are the standard values that are created by AT&F. In addition to these commands, A/ (without a preceding AT or concluding <cr>) is accepted as an entry to completely repeat the last command line again.
W&T Modem Operation 5.4.2 D (ATD[IP address]) Dial command The dial command is required for establishing a connection with another LAN-Modem. Taking the place of the dial-up number used in telephone networks is the IP address of the desired LAN-Modem. To maintain compatibility with existing modem applications, the LAN-Modem accepts here the following formats: D [Options] IP address...
Page 42
W&T Modem Operation All three commands have the same effect: An attempt is made to set up a call to the LAN-Modem having IP address 172.16.232.73 to TCP port 8000. If the preset TCP port number 8000 for the LAN-Mo dem is not usable in special network environments, this value can be changed using the Telnet configuration.
Page 43
W&T Modem Operation • NO CARRIER The network connection to the desired communication partner was able to be established, but the serial application there did not pick up the call. The time for which the LAN- Modem waits for the counterpart to pick up the call is stored in Register S7 and is factory set to 50s.
W&T Modem Operation 5.4.3 E (ATE[0|1]) Local echo off|on This command determines whether the data received on the RS232 interface in command mode should lbe returned. The factory setting is for echo on. ATE0 = Echo off ATE1 = Echo on...
W&T Modem Operation 5.4.4 H (ATH) Quit connection T h i s c o m m a n d q u i t s t h e c o n n e c t i o n . B o t h s e r i a l communication partners receive the reply NO CARRIER.
W&T Modem Operation 5.4.5 In (ATI[0–8]) Read out firmware information The I command is used to read out system information for the LAN-Modem. Of a possible 0-8, only the following parameters are presently used. • ATI0 Returns product code 58210 from the LAN-Modem •...
W&T Modem Operation 5.4.6 O (ATO) Switch to data mode This command switches (when there is an existing connection) from command to data mode. If you need for example to change LAN-Modem parameters during a connection, you must first use the Escape sequence to switch to command mode. Af- ter the desired reconfiguration you can then use the ATO command to reactivate data mode.
W&T Modem Operation 5.4.7 Q (ATQ0|1) Modem replies on|off Default setting: 0 = ON Replies generated by the LAN-Modem such as OK or CONNECT can be turned off by using the Q command: • ATQ0 The LAN-Modem sends replies • ATQ1 Reply messages are turned off.
W&T Modem Operation 5.4.8 Sn? (ATS[0-40]?) Read S register This command is used to read the 41 S registers that determine the operating behavior of the LAN-Modem. Changing or writing to the S registers is done using the Sn=x command shown below.
W&T Modem Operation 5.4.9 Sn=x (AT[0–40]=[0–255]) Set S register The LAN-Modem has 41 S registers (S0 to S40) which determine its operating behavior. The command Sn=x is used to overwrite the current contents, whereby n specifies the desired register and x the value to write in decimal format. Only the following registers presently have meaning for the operation of the LAN- Modem: Register...
Page 51
W&T Modem Operation • Registers S14, S21, S23 and S39 should not be accessed by direct writing, but rather via the corresponding AT commands. • The value of register S9 is adjusted to the value of S10 each time a connection is set up. Subject to error and alteration...
W&T Modem Operation 5.4.10 Vn (ATV[0|1]) Result codes in plain text Default setting: 1 = ON This command specifies whether result returns from the LAN- Modem are to be numerical or in plain text. The following messages and result codes are possible: 0 = OK 1 = CONNECT 2 = RING...
W&T Modem Operation 5.4.11 Zn (ATZ[0|1]) Reset the LAN-Modem The Zn command quits any active connection and resets the firmware of the LAN-Modem to the parameters stored in the non-volatile memory. By specifying 0 or 1 you can select one of the two available reset profiles (see also &Wn command).
W&T Modem Operation 5.4.12 &C (AT&C[0|1]) DCD Option Default setting: 1 = ON This command defines the behavior of the DCD interface output: • &C0 DCD is always active regardless of the network-side connection status. • &C1 D C D i s o n l y a c t i v e i f t h e r e i s a c o n n e c t i o n t o a communication partner.
W&T Modem Operation 5.4.13 &D (AT&C[0|1|2|3]) Modem response to DTR option Default setting: 2 Defines the effect of a level change on the DTR input on the LAN-Modem. One of four functions may be selected: • &D0 The LAN-Modem ignores the signal. •...
W&T Modem Operation 5.4.14 &Fn (AT&F[0|1]) Restore The LAN-Modem has two factory settings which can be invoked using the commands AT&F and AT&F1. The defaults specified by the individual commands refers basically to the factory profile 0. Factory profile 1 differs here in the function of the DTR input (&D0 instead of &D2) and in the flow control (&K0 instead of &K3).
W&T Modem Operation 5.4.15 &K (AT&K[0|3|4|5|6]) Flow control Default setting: 3 = RTS/CTS This command determines the flow control between the LAN- Modem and the connected serial device: • &K0 (no handshake) Flow control is turned off. The LAN-Modem sends all data to the serial device regardless of the status of the hands- hake input RTS.
W&T Modem Operation 5.4.16 &Sn (AT&S[0|1]) DSR Option Selection Default setting: 0 This command defines the behavior of the DSR output: • &S0 The DSR output is always enabled regardless of the connection status and regardless of the mode (command or data).
W&T Modem Operation 5.4.17 &Vn (AT&V[0|1|2]) Display configuration information This command causes the LAN-Modem to output its configuration and connection data: • &V0 Provides the current configuration data as well as the data stored in non-volatile profiles 0 and 1. In addition, the stored destination addresses are output.
W&T Modem Operation 5.4.18 &Wn (AT&W[0|1]) Active Profile Write This command is used to write the two non -volatile conofiguration profiles 0 and 1 which the LAN-Modem provides. The current settings are written to the memory location defined by „n“. The configuration profiles are specified by the command Zn.
W&T Modem Operation 5.4.19 &Yn (AT&Y[0|1]) Active Profile Read This command specifies which of the two configurations stored in the profiles the LAN-Modem uses after being turned on or after a reset. • &Y0 Specifying the configuration profile 0 after a reset. •...
W&T Modem Operation 5.4.20 &Zn=x (AT&Z[0|1|2|3]=[IP address]) Save destination IP address The LAN-Modem can save up to 4 destination IP addresses in its non-volatile memory, which can later be recalled using the fast dial function (Sn=x) of the dial command. Example: AT&Z1=172.16.2.2 IP address 172.16.2.2 is stored in memory location 1.
W&T Modem Operation 5.4.21 %Bn (AT%B[2-8]) Modem Port Bps Rate Default setting: 5 (9600 Baud) This command is used to set the baud rate. The following speeds are available: Command Baudrate 1200 2400 4800 9600 19200 38400 57600 The %B command has a delayed effect. The first OK reply is still with the old baud rate.
W&T Modem Operation 5.4.22 %Dn (AT%D[7|8]) Number of data bits per character Default setting: 8 This command determines whether the serial character format works with 7 or 8 data bits. The %D command has a delayed effect. The first OK reply is still with the old data format.
W&T Modem Operation 5.4.23 %Pn (AT%P[0|1|2]) Specifying the parity bit Default setting: 0 = no parity This command determines if and, if yes, what parity is used for the serial data format. • %P0 = no parity • %P1 = odd parity •...
W&T Modem Operation 5.4.24 %Sn (AT%S[1|2]) Minimum number of stop bits between 2 characters Default setting: 1= 1 stop bit This command determines how many stop bits (minimum) appear between 2 serial characters. The %S command has a delayed effect. The first OK reply is still with the old data format.
W&T Modem Operation 5.4.25 %Nn (AT%N[0|1]) Remote maintenance over the network allowed Default setting: 1 = allowed Loading firmware updates and copying configuration data is possible either through the serial port or over the network. To protect against misuse of network-side remote maintenance, the &N command makes it possible to suppress this functionality.
W&T Modem Operation 5.4.26 ** (AT**) Start flash update Updating the firmware or sending a configuration file must be introduced with the ** command. The LAN-Modem generates the following message and then expects the update data in Motorola S Record format. If no data are sent within 30s, the mode is automatically quit.
W&T Appendix ■ Extended configuration of the LAN-Modem ■ Firmware update of the LAN-Modem ■ Reading and sending configuration profiles ■ Resetting the LAN-Modem ■ The modem protocol on the TCP level ■ Used ports and network security ■ Technical Data Subject to error and alteration...
W&T Appendix A1 Extended configuration of the LAN-Modem The LAN-Modem consists of two essentially independent function modules which communicate with each other over an internal high-speed port. The AT command interpreter assumes all the modem-specific tasks. This includes for example serial transmission, receiving and executing the AT commands and monitoring the resulting modem connections.
W&T Appendix After successful opening of a connection and entering the system password (if configured) you are taken to the main menu of the LAN-Modem network stack. To navigate enter the number of the desired submenu followed by <Enter>. Entering <Enter> without preceding it by an identifier returns you to the previous menu level.
W&T Appendix A1.3 Configuration of the System Name Menu: 2. SETUP System -> 4. System Name -> Type System Name The freely configurable system name consisting of max. 31 characters is used to identify the LAN-Modem. This name is displayed as an opening message in the client for all Telnet sessions.
W&T Appendix A1.5 Configuration of Keep Alive Check Menu: 2. SETUP System -> 1. Setup TCP/IP -> 9. Keep Alive Time (s) Default: 5s If the keep-alive check is activated by entering and saving a value in second ticks, all TCP connections are monitored for network-side data traffic.
Page 74
W&T Appendix • Both parties (switch and LAN-Modem) are operated in Auto- Negotiation mode. • Both parties (switch and LAN-Modem) are configured for the same (fixed) transmission speeds and duplex mode. Changing the link speed is activated only after saving and exiting the telnet or WBM session by means of an automatic Com-Server reset.
W&T Appendix A2 Firmware update of the LAN-Modem The LAN-Modem is divided into two function modules each with their own update methods. The AT command interpreter assumes all modem-specific tasks. This include for example serial transmission, receiving and executing the AT commands and monitoring the modem connections opened thereby.
Page 76
W&T Appendix This takes you directly to the page with the most up-to-date firmware for your the LAN-Modem. If you do not know the model number, you can find it on the sticker located on the narrow side of the enclosure, likewise the Ethernet address.
Page 77
W&T Appendix A2.2 Update des AT-Kommando-Interpreters The update of the command interpreter can be done through the serial port or over the network. A2.2.1 ... via the serial interface For this the LAN-Modem must have a serial connection to a ter- minal program whose transmission parameters are configured as follows: Baud rate:...
Page 78
W&T Appendix A2.2.2 ... via the network Updating the firmware over the network offers the advantage of a higher speed compared with the serial method. The prerequisite however is that network-side remote maintenance be enabled by the command %N1. After establishing a TCP socket connection to Port 8000 on the LAN-Modem, the latter returns a short identifier.
Page 79
W&T Appendix 4. Use Edit r Paste to copy the firmware from the clipboard to the LAN-Modem. 5. After a successful update the LAN-Modem breaks the TCP connection. Any transmission errors are reported with referenced to a checksum error. Subject to error and alteration...
Page 80
W&T Appendix A2.3 Update of the TCP/IP-Stack Required is a PC running Windows 9x/NT/2000/XP with a network connection and activated TCP/IP stack. For the update process you need two files which, as already mentioned, are available for download from our Web site at http://www.wut.de. •...
Page 81
W&T Appendix 1. Identification/Inventory of the device Destination port LAN-Modem: UDP/8513 2. Initialization of the update process Destination port LAN-Modem: TCP/ 8002 3. Upload firmware Destination port LAN-Modem: UDP/69 (TFTP) The previously described automatic processing of the update requires that any security components (firewalls, routers ...) used between WuTility and the LAN-Modem allow transparent communication via these services.
W&T Appendix A3 Reading/Sending Configuration Profiles To simplify the configuration of the LAN-Modem when using a greater number of devices, it is possible to copy the configuration data. To do this, you must first configure a LAN- Modem for the desired operating mode using the AT commands.
W&T Appendix A4 Software reset of the LAN-Modem Socket 8888 has been implemented in case the LAN-Modem ever needs to be completely reset. If a connection is opened on this port, the LAN-Modem immediately closes it again and then performs a software reset. Use of the system password If a system password has been configured (see section Extended configuration of the LAN-Modem), this must be null-...
W&T Appendix A5 The Modem Protocol on the TCP Level Normally LAN-Modems will be used only to connect to each other. It is however conceivable that an application program uses TCP/IP programming to direct dial an individual LAN-Mo- dem or to be called by the LAN-Modem. The information required for doing this can be obtained on request.
W&T Appendix A6 Used ports and network security The port numbers factory set in the LAN-Modem: Port Password number Application protection Configurable? 8000 (TCP) Port for incoming calls 1111 (TCP) TELNET Configuration port 9084 (TCP) Reset Port Status 8888 (TCP) Reset LAN-Modem 8002 (TCP) Initialize firmware...
Page 86
W&T Appendix In order to provide the customer with the greatest possible flexibility which is oriented towards changing security requirements from a pure testing and installation environment to critical production applications, the safety measures have been made highly customer-configurable. The present document provides an overview of the safety measures which have been implemented and can be used on the LAN-Modems.
Page 87
W&T Appendix • SNMP In order to be able to incorporate the LAN-Modems into an SNMP-based network management, all the essential configuration settings are also accessible via SNMP. This access is protected in that the system password must be used as a community string. •...