System Administration Commands             nwamadm(1M)

NAME

SYNOPSIS

DESCRIPTION

SUBCOMMANDS

The following subcommands are supported.

enable [ -t <profile-type> ] <profile-name>

Enable the specified profile. If the profile name is not unique, the profile type must be specified to identify the profile to be enabled. Profile type must be one of ncp, ncu, loc, or enm.

disable [ -t <profile-type> ] <profile-name>

Disable the specified profile. If the profile name is not unique, the profile type must be specified to identify the profile to be disabled. Profile type must be one of ncu, loc, or enm.

list [ -t <profile-type> ] [ <profile-name> ]

List all available profiles and their current state. If a specific profile is specified by name, list only the current state of that profile. If the profile name is not unique, all profiles with the given name will be listed; or the profile type may be included to identify a specific profile. If only a type is provided, list all profiles of that type. Listing the active NCP will include the NCUs that make up that NCP.

Possible state values include:

interact [ -v ]

Listen for events from the NWAM daemon, requesting user input (such as selection of a WLAN, or entry of a key) when needed. By default, only events requesting information are displayed; if the -v (verbose) option is specified, all events will be displayed.

help

Print a usage message with short descriptions for each subcommand.

SEE ALSO

EXAMPLES

Example 1: Enable a user-specified location
# nwamadm enable -t loc office
Disabled loc 'home'.
Enabled loc 'office'.
#
Example 2: Disable an ENM
# nwamadm disable -t enm myvpn
Disabled enm 'myvpn'.
#
Example 3: List all NCPs
# nwamadm list -t ncp
TYPE    PROFILE        STATE
ncp     User           online
 ncu    bge0           online
 ncu    bge1           disabled
ncp     Automatic      offline
#