Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Consolidated Management 2/Network Node Manager i Setup Guide


9.3.1 Configuring Firefox to use Telnet on Linux

To configure Firefox on the Linux operating system to use the telnet protocol, follow these steps:

  1. Define the telnet protocol.

    a. Create the /usr/local/bin/nnmtelnet file with the following contents:

    #!/bin/bash
    #
    # Linux shell script called by Firefox in response to
    # telnet:// URLs for the NNMi telnet menu.
    #
    address=`echo $1 | cut -d : -f 2 | sed 's;/;;g'`
    port=`echo $1 | cut -d : -f 3`
    exec /usr/bin/xterm -e telnet $address $port

    b. Set the script permissions to be executable by everyone:

    chmod 755 /usr/local/bin/nnmtelnet
  2. Configure Firefox preferences for telnet.

    a. In the Firefox address bar, enter about:config.

    b. In the preference list, right-click, click New, and then click Boolean.

    c. Enter the preference name network.protocol-handler.expose.telnet.

    d. Select the preference value false.

  3. Configure Firefox to use the newly-defined protocol.

    a. Browse to a telnet link.

    You can create a simple HTML file containing the link, or you can use the Actions > Node Access > Telnet... (from client) menu item in the NNMi console. Typing the link directly into the address bar does not have the same effect.

    b. In the Launch Application window, click Choose, and then select /usr/local/bin/nnmtelnet.

    c. Select the Remember my choice for telnet links check box.