How to initiate a hardware break within a telnet session

Issue:
How to send a break to a serially attached device within a telnet session to the CS9000 or the Iolan SDS serial port.

Solution:

Most Telnet clients have command line options such as sending a telnet break command.

The device server is configurable to enable/disable the sending of breaks to the serial ports. This can be configured from the Server configuration by setting the "break" option to on.

example on CS9000 server configuration:

      lqqqqqqqqqqqqqqqqqqqqqqqqqqqqquservertqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
      x               servername[CS9024 10/100M]                         x
      x              domain name[ptac.com                        ]       x
      x         internet address[192.168.1.209  ]                        x
      x              subnet mask[255.255.255.0  ]             dhcp[off]  x
      x        broadcast address[192.255.255.255]       gui access[on ]  x
      x           authentication[both(local+radius)]      services[fffe] x
      x             ssh protocol[both(ssh-1+ssh-2)]          break[on ]  x
      x         ssh break string[~break  ]                  banner[on ]  x
      x         line menu string[~menu   ]        prompt with name[on ]  x
      x    session escape string[<026>s  ]                               x
      x    reverse session limit[16]                      OEM_mode[10  ] x
      mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

From LAN attached workstation, telnet to the device server port or access the port through the Easy Port menu:

For example, telnet 192.168.1.1 10004

When connected, press the ctrl and ] keys together. The telnet prompt will appear as follows:

telnet>

At the telnet prompt, type: send brk

When the telnet send brk command is recieved, the device server will initiate a hardware break on it's serial port.

Note: The standard telnet client supplied in Windows 2000/XP/2003 does not support the send command.

Most Windows based telnet client applications (such as PuTTY) do not allow you to drop to the telnet shell prompt. These applications will have the "telnet break" function built activated by either key mapping or a special command function.

Programs such as CRT or freeware software such as Netterm will need to map a key to the built in telnet break function. PuTTY offers a Special Command -> Break when in a telnet session.


Article ID:
347
Published:
5/28/2003 12:20:03 PM
Last Modified:
5/1/2007 8:18:48 AM
Issue Type:
FAQ