NAMEnwamd - network auto-magic daemonSYNOPSIS/lib/inet/nwamdDESCRIPTIONnwamd is a system daemon to manage network interfaces.This daemon is started automatically and should not be invoked directly. It does not constitute a programming interface. OPERATIONWhether this daemon is enabled or not depends on your installation medium. To check, enter the following at the command line:
% svcs svc:/network/physical
The two instances will be listed: one as disabled, the other as
online. If the nwam instance is online then this
daemon will be running. The two instances correspond to the two
modes of network configuration: the default instance is for manual
mode, while the nwam instance is for auto-magic mode.
To go from manual mode to auto-magic mode:
% svcadm disable svc:/network/physical:default
% svcadm enable svc:/network/physical:nwam
To go from auto-magic mode to manual mode:
% svcadm disable svc:/network/physical:nwam
% svcadm enable svc:/network/physical:default
Warning: when switching modes like this, all network
interfaces will be brought down then back up, thus if
a different IP address is configured in this process,
existing applications and sessions may be disrupted.
Note that in auto-magic mode, there is a limitation that
only one link is active at a time. This mode is thus not
recommended for machines which use more than one link at
once. For machines with wired and wireless links, wired
is preferred by default, although this can be adjusted by
altering the order of the lines in the plain text file
PROFILESNote that all interfaces listed in this section are Volatile and may change in a future release. They are documented here so that those wishing to experiment with this may do so.Profiles are a mechanism for making multiple related changes to the system configuration after IP service is available.
There is not direct support for them yet, but a "roll your
own" mechanism is provided for now. Once an interface is
brought up and an IP address is configured for it, the daemon
looks for
WIRELESSWhen no wired link is available, a scan for wireless LANs will be done, and the resulting list offered via a GUI pop-up to prompt the console user to select his/her preference. If a successful connection is made, the WLAN in question will be stored in the plain text file/etc/nwam/known_wifi_nets and
subsequently the daemon may connect to any WLAN in that list
without prompting again. Should a user wish to revoke his/her
preference for a WLAN in that list, editing the file and deleting
the line with the entry should suffice. Note, however, that this
interface is Volatile and may change in a future release.
ATTRIBUTESSee attributes(5) for descriptions of the following attributes:
SEE ALSOsvcs(1), svcadm(1M), attributes(5), smf(5)NOTESThe networking service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/physical
Administrative actions on this service, such as enabling,
disabling, or requesting restart, can be performed using
svcadm(1M). The service's status can be queried using the
svcs(1) command.
|