The build dated 2009-04-14 handles unsecured WLANs.  Alan sent out notes 
for this on 04/09/09.  This build is synced with onnv_113.

The changes also include the addition of "enabled" property for IP 
NCUs.  This property is TRUE by default for newly created NCUs.  Both 
link and IP NCUs are created in both the User and Automatic NCPs for 
hotplugged interfaces as well as new interfaces discovered when NWAM 
starts.  "new interfaces" are ones that don't have any NCUs.

In order for nwamd to work correctly, these NCUs have to be recreated.  
The easiest way to achieve this is (after you BFU and reboot):

1. Disregard any error messages having to do with 
"nwam_ncu_get_prop_value" and "we didn't find it ...".

2. disable nwam (svcadm disable nwam). check to make sure with "svcs 
nwam". wait until nwam is disabled or goes into maintenance mode (svcadm 
clear nwam in this case)

3. remove Automatic and User NCPs (rm -rf /etc/nwam/ncp-*.conf).  If you 
have any special NCUs that you would like to save, please "export" or 
"list" and save those NCUs.  You'll have to recreate them afterwards.

4. unset the upgraded flag in nwam (svccfg -s nwam setprop 
nwamd/upgraded = false)

5. refresh the nwam properties (svcadm refresh nwam)

6. unplumb all interfaces (ifconfig <intf> unplumb) or (ifconfig -a 
unplumb; svcadm restart loopback)

7. start nwam (svcadm enable nwam)

NCUs with MANUAL activation-mode can be enabled/disabled using the 
nwamadm(1M) command.  The "-t <ncu-type>" flags allows only the link or 
IP NCU to be enabled.  If "-t <ncu-type>" is not given, then both NCUs 
are enabled/disabled.  NB. disabling a link NCU for a wired interface 
doesn't mean much.  There are still some open issues with nwamd here 
(e.g., disabling an IP NCU unplumbs the interface, but enabling the same 
IP NCU doesn't do anything for now).

        $ nwamadm enable -p ncu bge0

is the same as

        $ nwamadm enable -t link bge0 or nwamadm enable -p ncu -t link bge0
        $ nwamadm enable -t ip bge0 or nwamadm enable -p ncu -t ip bge0

* spec and manpages in OpenSolaris will be updated soon.


****** IMPORTANT nwamadm(1M) command-line flag change: ******

* The command-line flags to nwamadm has changed.  Below is the new usage:

    usage:  <subcommand> <args> ...
        help
        enable [-p <profile-type>] [-t <ncu-type>] <profile-name>
        disable [-p <profile-type>] [-t <ncu-type>] <profile-name>
        list [-p <profile-type>] [-t <ncu-type>] [<profile-name>]
        interact [-v]

In other words, -t has been replaced with -p.  -t is used for the 
ncu-type (ip or link).


Other issues that have been fixed in this build:

    * Upgrading from Phase 0/0.5 works perfectly, except that in the
      first reboot after BFU, nwam will go into maintenance mode. 
      "svcadm clear nwam" does the trick.
    * "destroy -a" destroy all objects, except the active/enabled
      objects and the Automatic NCP
    * when "commit" fails, the property that failed validation is printed
    * fixes "NIS domain is  " bug, /etc/defaultdomain is not created if
      NIS or LDAP is not configured
    * "ip-version" is a multi-valued property with default value of
      "ipv4,ipv6" (value of "all" has been removed)
    * "dhcpv6" is referred to as "dhcp" for ipv6-addrsrc
    * making a copy of Automatic, NoNet, Legacy locations automatically
      changes the activation-mode to "manual" with enabled "false".


Thanks,
Anurag




Reply via email to