Sun Enterprise 10000 SSP 3.5 User Guide

Using netcon(1M)

The netcon(1M) command is similar to netcontool(1M) except that no GUI interface is provided, making it more functional for dial-in or other low-speed network access. Typically, you log in to the SSP machine as user ssp, and enter the netcon(1M) command in an SSP window. For example:


ssp% domain_switch domain_name
ssp% netcon

This action changes the window in which you run the netcon(1M) command into a netcon(1M) window for the domain specified by the domain_switch(1M) command. Multiple netcon(1M) windows can be opened simultaneously, but only one window at a time can have write privileges to a specific domain. When a netcon(1M) window is in read-only mode, you can view messages from the netcon(1M) window, but you cannot enter any commands.

You can specify the netcon(1M) -g option for Unlocked Write permission, -l for Locked Write permission, -f to force Exclusive Session mode, or -r for read-only mode. See Table 4-2 for a description of these configuration options. Also refer to the netcon(1M) man page for an explanation of how netcon(1M) behaves if you do not specify any of these arguments.

If you have write permission, you can enter commands. In addition, you can enter special commands with the tilde (~) prefix to perform the functions offered by the netcontool(1M) window.

If netcon displays the following message, "netcon_server is not running for domain_name", the domain may not be up. If it is up, you can run "netcon_server -r &" to restart netcon_server(1M).

To Start netcon(1M) From the Command Line
  1. Log in to the SSP as user ssp and type:


    ssp%  domain_switch  domain_name
    ssp%  netcon
    

To Start netcon(1M) From the CDE Front Panel
  1. From the CDE front panel, select the SSP subpanel and then select the netcon option.

  2. Specify the domain name when prompted to do so.

To Start netcon(1M) From the CDE Workspace Menu
  1. From the CDE Workspace menu (right click), select the SSP submenu and then select the netcon option.

  2. Specify the domain name when prompted to do so.

To Exit From a netcon(1M) Window
  1. Type a tilde (~) followed by a period in the netcon(1M) window:


    # ~.

    The netcon(1M) session is terminated and the window returns to its previous state.


    Note -

    If you are logging on remotely to the SSP to run netcon(1M), and depending on the terminal emulation package you are using, the escape sequence of the terminal emulator might be the same as that used to exit from a netcon(1M) window. For example, if you enter the tilde period sequence remotely through an rlogin(1) session, the netcon(1M) session is terminated and the rlogin(1) window is terminated as well. If you want to avoid this behavior, you can use the sequence ~~., that is, tilde tilde period, to exit from a netcon(1M) window running inside of an rlogin(1) session, without exiting the rlogin(1) session.


    For more information about escape sequences, see the netcon(1M) man page.