Solaris NWAM is kind of a pain in the ass, so here’s how to disable it. (Taken from elsewhere on the Internet)…

ORIGINAL POST……

This is cribbed wholesale from the sun ray users wiki

h4. Background

Use of Open Solaris NWAM causes some problems w/ the Sun Ray utadm command. This set of procedures shows how to turn NWAM off & a few other SRSS work-arounds so utadm will work correctly.

h4. Turn off NWAM SMF Service

svcadm disable nwam

h4. Turn on Physical Network Service

svcadm enable network/physical:default

h4. Setup Network Files

For this example, I used network device pcn0. Substitute yours as appropriate.

h4. Automate NIC start up:

cp /etc/nodename /etc/hostname.pcn0

Adjust /etc/hosts with following edits:

BEFORE: ::1 myhost myhost.local localhost loghost

AFTER: ::1 myhost.local localhost loghost

BEFORE: 127.0.0.1 myhost myhost.local localhost loghost

AFTER: 127.0.0.1 myhost.local localhost loghost

ADD: 192.168.1.6 myhost

Note: myhost & IP address 192.168.1.6 are examples. Substitute yours as appropriate.

Edit /etc/netmasks with appropriate netmask. For example:

192.168.1.0 255.255.255.0

Set your default route (192.168.1.1 is an example, substitute yours as appropriate):

echo 192.168.1.1 > /etc/defaultrouter

A reboot will activate all of this…

init 6

…or you can activate on the fly:

ifconfig pcn0 plumb 192.168.1.2424 up route -f add default 192.168.1.1 1 svcadm restart name-service-cache

Ensure DNS is configured (if applicable). Setup /etc/resolv.conf, here’s an example: domain example.acme.com nameserver 192.168.1.1

Activate:

cp /etc/nsswitch.dns /etc/nsswitch.conf svcadm enable dns/client svcadm restart dns/client