TX on Sun Ray - Work-Around for utadm -A Error on vni Config
If you're running Sun Ray (SRSS 4 09/07) on Solaris with Trusted Extensions...
...and you're using vni0 as your all-zones interface
...and you tried something like: utadm -A 192.168.1.0 (share network)
...then you probably observed this error:
tx-srss# utadm -A 129.154.16.0
### Configuring /etc/nsswitch.conf
### Configuring Service information for Sun Ray
### Disabling Routing
: snip
Accept as is? ([Y]/N): n
netmask: 255.255.255.0 (cannot be changed - system defined netmask)
Do you want to offer IP addresses for this subnet? (Y/[N]): n
auth server list: 10.254.254.254
To read auth server list from file, enter file name:
Auth server IP address (enter <CR> to end list): 129.154.16.86
Auth server IP address (enter <CR> to end list):
If no server in the auth server list responds,
should an auth server be located by broadcasting on the network? ([Y]/N):
new firmware server: [10.254.254.254] 129.154.16.86
Selected values for subnetwork "129.154.16.0"
net mask: 255.255.255.0
no IP addresses offered
auth server list: 129.154.16.86
firmware server: 129.154.16.86
Accept as is? ([Y]/N):
Error: unable to get information on the primary interface.
### Configuring firmware version for Sun Ray
Error: cannot set firmware version to network macro "129.154.16.0":
Configuration for DHCP subnet 129.154.16.0 does not exist.
### Configuring Sun Ray Logging Function
You're in luck! Here's a work-around for that problem.
Bug (CR 6625491) was logged on this problem.


Sorry mate, but this script doesn't work here on my SunRay Server setup as SUN_SUNRAY_TOKEN points to the "Logical Token" and not the actual token of the smartcard or sunray terminal. Therefore it always checks against the logical token which can be queried by utuser -p <TOKEN>.
Posted by Jens Langner on November 08, 2007 at 09:49 AM PST #