Turn off NWAM
From Sun Ray User Group Wiki
Contents |
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.
Turn off NWAM SMF Service
svcadm disable nwam
Turn on Physical Network Service
svcadm enable network/physical:default
Setup Network Files
For this example, I used network device pcn0. Substitute yours as appropriate.
Automate NIC start up:
cp /etc/nodename /etc/hostname.pcn0
Adjust /etc/hosts with following edits:
vi /etc/hosts:
1 BEFORE: ::1 myhost myhost.local localhost loghost
AFTER: ::1 myhost.local localhost loghost
2 BEFORE: 127.0.0.1 myhost myhost.local localhost loghost
AFTER: 127.0.0.1 myhost.local localhost loghost
3 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.24/24 up route -f add default 192.168.1.1 1 svcadm restart name-service-cache
Work-Around to correct some utadm failures
After turning off NWAM you see this error:
utadm -A 192.168.1.0 ### Configuring /etc/nsswitch.conf ### Configuring Service information for Sun Ray cp: cannot access /usr/dt/config/sessionetc chmod: WARNING: can't access /usr/dt/config/sessionetc.1273 /usr/bin/nawk: can't open file /usr/dt/config/sessionetc.1273 source line number 1 cp: cannot access /usr/dt/config/sessionetc Error: unable to make backup file "/usr/dt/config/sessionetc.bak"
Here is the work-around:
touch /usr/dt/config/sessionetc

