3Com 3C886 User Guide - Page 83

be your username or password. Click, Add any additional

Page 83 highlights

Using a Connection Script 83 6 Enter the Parity setting required by your service provider. Enter e if the remote server requires Even parity, o if the remote server requires Odd parity, or n if the remote server requires that parity be set to None. Click OK when finished. The Stop Bits dialog box opens. 7 Enter 1 to set the stop bits to one, or enter 2 to set the stop bits to two, and then click OK. Note the results in the script window. For example, if you chose the default values for the Begin, Delay and SetPort parameters, the following text will have been automatically entered: begin delay 1 setport 8 n 1. 8 Click WaitFor. The WaitFor dialog box opens. 9 Enter the string that the remote server will send as a request. An example might be the word Login: Click OK when finished. 10 Enter the maximum number of seconds to wait for the remote server to send the connection request. Click OK when finished. 11 Click Transmit. The Transmit dialog box opens. Enter the text that you want to transmit to the remote server. An example might be your username or password. Click OK when finished. Add any additional Transmit or WaitFor text as required. Note that a carriage return is simulated by including ^M within the quotation marks of your transmitted text. For example: transmit "mypassword^M" will send your password along with a carriage return. 12 Click End when your script is complete. The last line of text in your script must conclude with end. An example of a completed script is shown in Figure 44. Figure 44 Connection Script Example 13 Click Submit to save your script and return the Service Provider Page. All commands are automatically changed to lower case when the script is submitted.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

Using a Connection Script
83
6
Enter the Parity setting required by your service provider. Enter
e
if the remote
server requires Even parity,
o
if the remote server requires Odd parity, or
n
if the
remote server requires that parity be set to
None
. Click
OK
when finished.
The Stop Bits dialog box opens.
7
Enter
1
to set the stop bits to one, or enter
2
to set the stop bits to two, and then
click
OK
.
Note the results in the script window. For example, if you chose the default values
for the Begin, Delay and SetPort parameters, the following text will have been
automatically entered:
begin
delay 1
setport 8 n 1.
8
Click
WaitFor
.
The WaitFor dialog box opens.
9
Enter the string that the remote server will send as a request. An example might
be the word
Login
:
Click
OK
when finished.
10
Enter the maximum number of seconds to wait for the remote server to send the
connection request. Click
OK
when finished.
11
Click
Transmit
.
The Transmit dialog box opens.
Enter the text that you want to transmit to the remote server. An example might
be your username or password. Click
OK
when finished.
Add any additional
Transmit
or
WaitFor
text as required. Note that a carriage
return is simulated by including
^M
within the quotation marks of your transmitted
text. For example:
transmit “mypassword^M”
will send your password along with a
carriage return.
12
Click
End
when your script is complete. The last line of text in your script must
conclude with
end
.
An example of a completed script is shown in Figure 44.
Figure 44
Connection Script Example
13
Click
Submit
to save your script and return the Service Provider Page.
All commands are automatically changed to lower case when the script is
submitted.