Lantronix MPS100 EPS Reference Manual - Page 43

Creating a Simple Service A Line Printer

Page 43 highlights

Server Configuration Creating Services 4.6.1 Creating a Simple Service (A Line Printer) Connections, queueing, banner, and formfeed options are enabled by default when you enter a Set Service command, so it is not necessary to configure them explicitly. NetWare, and RTEL access are provided by default, but LAT and AppleTalk access have to be explicitly enabled. The port providing the service must also allow remote access, so it must have access set to Dynamic or Remote. Figure 4-14 shows the command needed to create a service called dump_port on port 1. Figure 4-14: Set Service Command Local> SET SERVICE dump_port PORT 1 LAT ENABLED Local> LOGOUT PORT 1 If the device connected to port 1 is a physical print device, the port's baud rate should be set to reflect the highest speed at which the printer is capable of printing. Parity, character size, and flow control might have to be adjusted to match the printer's settings. Enter a Show Services command to verify that the service was created and usable. Figure 4-15: Show Service Command Local> SHOW SERVICE LOCAL CHARACTERISTICS Service: DUMP_PORT Rating: 255 Characteristics: Enabled Groups: 0 Ident: Ports: 1 Queuing Banner RTEL Formfeed NetWare LAT Connections In Figure 4-15, the service rating is non-zero, indicating that the service is available for connections. If the service rating were zero, the service would not be available. This can happen if the port is not configured for Dynamic or Remote access, if connections are disabled, or if the service/port is in use. The Show Ports All command is useful for finding out why a service is unavailable; it shows port access modes, login statuses, and the services currently being offered. After setting up a service, you should be able to connect to it locally or from other protocol-compatible nodes. To connect to service dump_port, use the following command: Figure 4-16: Connecting to a Service Local> connect dump_port %Info: connecting to service dump_port at node... Note: Output will be displayed on port 4. If there is a terminal device on port 4, it will echo keystrokes to the port. To disconnect from the service, press the Break key to return to the Local> prompt, then type Disconnect. Your session will be closed and the dump_port service will again be available for connections. Enter the Show Services command to make sure. 4-7

  • 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
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223

Server Configuration
Creating Services
4-
7
4.6.1
Creating a Simple Service (A Line Printer)
Connections, queueing, banner, and formfeed options are enabled by default when you enter a Set Service
command, so it is not necessary to configure them explicitly. NetWare, and RTEL access are provided by
default, but LAT and AppleTalk access have to be explicitly enabled. The port providing the service must
also allow remote access, so it must have access set to Dynamic or Remote.
Figure 4-14 shows the command needed to create a service called
dump_port
on port 1.
Figure 4-14:
Set Service Command
If the device connected to port 1 is a physical print device, the port’s baud rate should be set to reflect the
highest speed at which the printer is capable of printing. Parity, character size, and flow control might have
to be adjusted to match the printer’s settings.
Enter a
Show Services
command to verify that the service was created and usable.
Figure 4-15:
Show Service Command
In Figure 4-15, the service rating is non-zero, indicating that the service is available for connections. If the
service rating were zero, the service would not be available. This can happen if the port is not configured
for Dynamic or Remote access, if connections are disabled, or if the service/port is in use. The
Show Ports
All
command is useful for finding out why a service is unavailable; it shows port access modes, login
statuses, and the services currently being offered.
After setting up a service, you should be able to connect to it locally or from other protocol-compatible
nodes. To connect to service dump_port, use the following command:
Figure 4-16:
Connecting to a Service
Note:
Output will be displayed on port 4. If there is a terminal device on port 4, it will
echo keystrokes to the port.
To disconnect from the service, press the Break key to return to the Local> prompt, then type Disconnect.
Your session will be closed and the dump_port service will again be available for connections. Enter the
Show Services command to make sure.
Local> SET SERVICE dump_port PORT 1 LAT ENABLED
Local> LOGOUT PORT 1
Local> SHOW SERVICE LOCAL CHARACTERISTICS
Service: DUMP_PORT
Rating: 255
Characteristics:
Enabled Groups: 0
Ident:
Ports: 1
Queuing Banner RTEL Formfeed NetWare
LAT Connections
Local> connect dump_port
%Info: connecting to service dump_port at node...