The text of a manual · part 30 of 41
E-terminals Programming manual: 18 Network communication, pages 230 to 238
Pages 230 to 238 of 335, from E-terminals Programming manual
The original document is the PDF (4.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Beijer Electronics AB E200
Page 230
Network communication Example 2: The following script sends the text “CLIENT”. If the send failed a message box with the text “Send Failed” is displayed. If the send succeded we wait for the text “CLIENTSERVER” for 10 seconds. If it doesn’t appear a message box with the text “Receive Failed” is displayed. SEND: CLIENT ONERR: Send Failure WAIT: CLIENTSERVER,10 ONERR: Receive Failure END: LABEL: Send Failure MESSAGE: Send Failed END: LABEL: Receive Failure MESSAGE: Receive Failed END: Example 3: The following script sends the text “login:” and then wait for the receiver to send a user name. It is checked if the name match a username in accounts. Then the script sends the text “password:” and wait for the receiver to send a password. It is checked in accounts if the password match the password for the sent user name. Normally no script is needed. If you connecto to a Windows NT server the script shall be as follows. SEND: login: WAIT: %USERNAME SEND: password: WAIT:%PASSWORD PPP - Login verification method
Select method to assure the user identity. Doesn’t normally need to be changed. This parameter is used only at PPP connection. Act as Client/Server
At PPP connection you select if the terminal shall act as a PPP client or PPP server. The terminal can both call and be called.
219
Page 231
Network communication
Advanced Under Advanced you can define further parameters. Use VJ compression of IP header
Compression of the IP head. Doesn’t normally need to be changed. This parameter is used only at PPP connection. Request/Provide remote address
Request/provide the IP address for the remote node. Shall be 0.0.0.0 if you want to request the IP address from the remote node. This parameter is used only at PPP connection. Request/Provide local address
Request/provide the local IP address. Shall be 0.0.0.0 if you want to request the IP address from the remote node. This parameter is used only at PPP connection.
Node 1 Remote 192.168.1.2 Local 192.168.1.1
Node 2 Remote 0.0.0.0 Local 0.0.0.0
Set remote address as gateway
Mark if you want the remote node address to be a gateway, connection port to another network. Default is OFF. The parameter is used only in PPP connection.
220
Page 232
Network communication
Modem The parameters under Modem setup are stated if the connection shall take place via a modem. 9-pol female 2 3 5 7 8
25-pol male 2 3 7 8 4
Telephone number
State the telephone number to be called. Modem setup string
A setup string which initializes the modem. For further information please refer to the documentation for the modem.
221
Page 233
Network communication
TCP/IP Parameters for the TCP/IP connection.
IP-adress
State the IP address of your node. For information about which IP address to use, please refer to your network manager or to the RFC’s from the Internet committee. If you are using a local network between the terminals we recommend you use the addresses 192.168.1.1 – 192.168.1.254. Subnet mask
State your network identity. Gateway
State the network unit in the local network that can verify the identifiers for the other networks on Internet. Primary DNS och Secondary DNS
State the servers containing information about a part of the DNS data base.
222
Page 234
Network communication
Serial connection A PPP connection between two terminals PPP Server
PPP Client
2 3 5
3 2 5
The settings under TCP/IP, IP Address, Subnet mask and Gateway have no meaning. PPP will change these parameters.
223
Page 235
Network communication
A PPP connection between a terminal and a personal computer PPP Server
MAC-PROG/9 CAB CAB5
PC with Windows NT/95/98 Generic Null modem installed
Settings in the terminal
The settings under TCP/IP, IP Address, Subnet mask and Gateway have no meaning. PPP will change these parameters. Note that if PAP is selected as Login verification method User name and Password must be stated.
PC settings
The figures below shows the settings in the different dialogs when creating a serial PPP connection between a PC and a terminal. In this document we assume that the user has installed a Generic Null modem and defined a port for serial cable for Dial-up networking.
224
Page 236
Network communication Select the function New connection according to the following path: Start\Programs\Accessories\Dial-up Networking\New connection The following dialog is shown. Make the settings according to the following figure.
Click on the file tab Server and make the following settings.
225
Page 237
Network communication Click on the file tab Script and make the following settings.
Click on the file tab Security and make the following settings.
Click on the file tab X 25 and make the following settings.
226
Page 238
Network communication Now the settings is done. To establish communication you select the function Dial-up networking. Enter the defined post name and select Dial-up.
In the following dialog you shall confirm the call-up. Press OK.
227