Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

nwamd(8)

Name

nwamd - network auto-magic daemon

Synopsis

/lib/inet/nwamd

Description

nwamd is a system daemon to manage network interfaces.

This daemon is started automatically by the svc:/network/physical:default service and should not be invoked directly. It does not constitute a programming interface.

The nwamd daemon manages and enables/disables External Network Modifiers (ENMs). ENMs are applications external to NWAM service that can modify and/or create network configuration. See netcfg(8) for more details on ENMs and their properties.

The nwamd daemon also internally maintains the state of the different links and interfaces in the system. These states are when conditions for activating ENMs are periodically checked.

When the nwamd daemon starts and if the system has any WiFi links, it will attempt to connect to any available WiFi network that is in the known WLAN list. This feature is controlled by the "autoconnect" datalink property for every WiFi link, which by default is set to "on". If the property is "off", no such attempt will be made. Furthermore, nwamd will detect when the connection to the WiFi network has dropped and will attempt to reconnect to that WiFi network.

Finally, nwamd sends out events to listeners as a result of links, interfaces and ENMs changing state. The administrator can use netadm(8) command with the show-events subcommands to see these events.

Service Properties

The following SMF properties are supported by nwamd daemon. The list takes the form:

    property_group/property_name property_type default_value
nwamd/debug boolean false
    Enables debug logging using daemon.debug.
nwamd/msglog boolean false
    Enables debug logs in miniroot during netboot.
nwamd/condition_check_interval count 120

The number of seconds between periodic condition checks for conditionally activated objects. Minimum value is 30 seconds.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/network
Interface Stability
Volatile

See Also

svcs(1), attributes(7), smf(7), dladm(8), netadm(8), netcfg(8), netcfgd(8), svcadm(8)

Notes

The networking service is managed by the service management facility, smf(7), under the service identifier:

svc:/network/physical:default

Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(8). The service's status can be queried using the svcs(1) command.