The text of a manual · part 8 of 10
6224 Session Manager Reference Guide: Chapter 4 Opening a Remote Session
Pages 63 to 68 of 78, from 6224 Session Manager Reference Guide
The original document is the PDF (1.0 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 LXE 6224
Page 63
Chapter 4 Opening a Remote Session Introduction Telnet is a remote access terminal protocol that allows network users to log on and use a remote computer system as though they are directly connected to that system. The following procedure outlines opening a Telnet session with a host computer.
The Host Connection Once the Telnet prompt appears, the PC is in command mode. The PC accepts and executes the commands while in command mode. In order to communicate with a Telnet host, you must open a connection between the PC and the host. To open a connection: 1.
Type the Open command and the Internet address (or name) of the host computer and press the [Enter] key. telnet>open 111.25.18.100 or telnet>open [hostname] The host computer sends a log on and password screen to the PC.
2.
Type your log-on and/or password at the host prompt and press the [Enter] key. The Telnet protocol enters the input mode and the host prompt is displayed at the PC. Note:
If your system is configured to suppress the Telnet prompt, the prompt will never be displayed. In that case, any reference to the Telnet prompt and commands in this guide do not apply.
Press [CTRL]+[4] (the Telnet escape key sequence) to return the PC to the Telnet prompt. To return to your host application when you are through communicating with Telnet, press the [Enter] key twice and the PC displays the host prompt.
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 64
54
The Host Connection
Unsuccessful Host Connection If the PC cannot connect with the host (or the address is invalid), error messages are displayed and control returns to the PC.
Using 2.4GHz Radio When the PC is unable to connect to the host after an OPEN command, an error message is displayed on the screen explaining the inability to connect. For Example: Opening with a specific host name telnet > open my_host Resolving hostname ... Couldn’t resolve host my_host telnet > Opening with a specific IP address telnet > open 120.120.120.120 Resolving ..... Couldn’t resolve. FTP Error #999 telnet >
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 65
Telnet Commands
55
Telnet Commands A list of available Telnet commands may be displayed at the Telnet prompt. The following is a description of each Telnet command along with their syntax. To display a list of Telnet commands: 1.
Press [?] when the cursor is at the Telnet prompt.
2.
Press [Enter].
Abbreviated Commands The following Telnet commands can be activated by typing enough of the command to separate it from other like commands: Command Close Display Mode Open Send Set Status Toggle
Abbreviation cl d m o sen set st t
Close Closes a Telnet session and returns the PC to command mode. Syntax:
close
Display Displays set and toggle values. Syntax:
display [argument]
Please see "Set" and "Toggle" commands later in this section.
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 66
56
Telnet Commands
Mode Enables you to specify Line or Character mode. Type Mode at the Telnet prompt, then type the desired mode (Line or Character). If the host is capable of entering that mode, Line or Character mode is enabled. Line mode uses the RF link more effectively than Character mode. Syntax:
mode line mode character
Open Opens a connection to the host that you specify. The host is specified by its Internet address that you enter using dot notation or by the host name. Syntax:
open [internet address] open [host name]
Send Sends a special character sequence to the host. Syntax:
send [arguments]
The following arguments may be specified. escape
Sends the current Telnet Escape character.
synch
Sends the Telnet Synch sequence. This sequence causes the host to discard all previously typed (but not yet read) input. This sequence is sent as TCP urgent data. (It may not work if the host is a 4.2 BSD system. If synch doesn't work, lower case “r” may be echoed on the terminal.)
brk
Sends the Telnet Break sequence to the host.
ip
Sends the Telnet Interrupt Process sequence, which causes the host to abort the currently running process.
ao
Sends the Telnet Abort Output sequence, which causes the host to flush all output from the host to the user's terminal.
ayt
Sends the Telnet Are You There sequence to the host.
ec
Sends the Telnet Erase Character sequence, which causes the host to erase the last character entered.
el
Sends the Telnet Erase Line sequence, which causes the host to erase the line currently being entered.
ga
Sends the Telnet Go Ahead sequence to the host.
nop
Sends the Telnet No Operation sequence.
?
Prints out help information for the send command.
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 67
Telnet Commands
57
Set Sets any one of a number of Telnet variables to a specific value. The special value off turns off the function associated with the variable. The values of variables may be interrogated with the Display command, e.g. display echo. Syntax:
set [argument]
The arguments which may be specified are: echo
When in Line mode, this variable toggles between implementing local echo of entered characters (for normal processing) and suppressing the echo of entered characters (for privacy).
escape
Causes entry into Telnet command mode.
interrupt
If you type the interrupt variable while Telnet is in localchars mode, a Telnet IP sequence (send ip) is sent to the host. The initial value for the interrupt variable is interpreted as the terminal's interrupt character.
quit
If you type the quit variable and Telnet is in localchars mode, a Telnet BRK sequence (send brk) is sent to the host. The initial value for the quit variable is interpreted as the terminal's quit character.
erase
If you type the erase variable while Telnet is in localchars mode and if Telnet is operating in Character mode, a Telnet EC sequence (send ec) is sent to the host. The initial value for the erase variable is interpreted as the terminal's erase character.
kill
If you type the kill variable while Telnet is in localchars mode and if Telnet is operating in Character mode, a Telnet EL sequence (send el) is sent to the host. The initial value for the kill variable is interpreted as the terminal's kill character.
Status Shows the current status of Telnet. This status includes the peer to which the PC is connected, the Telnet escape character, and the current input mode. Syntax:
E-SW-6224RG-F-ARC status
6224 Session Manager Reference Guide
Page 68
58
Telnet Commands
Toggle Toggles various flags that control how Telnet responds between true and false. Syntax:
toggle [arguments]
Valid arguments are: Valid Toggle arguments for 2.4GHz radios: localchars
If True, then the interrupt, quit, erase, and kill characters are recognized locally and transformed into appropriate Telnet control sequences ( ip, brk, ec, and el; see Send). The initial value for this toggle is True in Line mode and False in Character mode.
crmod
Toggle carriage return mode. When this mode is enabled, most carriage return characters received from the host are mapped into a carriage return followed by a line feed. This mode does not affect those characters typed by the user, only those received from the host. This mode is not very useful unless the remote host only sends carriage return but never line feed. The initial value for this toggle is False.
?
Displays the legal toggle commands.
? Telnet command help. With no arguments, Telnet prints a help summary. If you specify a command with ?, Telnet prints the help information for that command, e.g. ? set echo. Syntax:
6224 Session Manager Reference Guide
? [command]
E-SW-6224RG-F-ARC