So I've done some googling, and none of these issues really seem to work
very well in CentOS5/SRSS4.2.
I need to get the MAC address of the SunRay so that I can then get the
"Location" of the sunray.
(SideBar: If there's a direct way of getting the "Location" and "Other"
fields of the sun-ray, I'm all ears).
Someone wrote this for me once:
--------------
SRMAC=`cd $theFlag $UTDEVROOT; pwd | sed 's/.*\(............\)/\1/'`
THELOC=`/opt/SUNWut/sbin/utdesktop -l |grep $SRMAC | /usr/bin/awk
'{print $2;}'`
--------------
However all UTDEVROOT produces now is:
/tmp/SUNWut/sessions/11/unit
no MAC address in site.
The only option I've created is the following:
doing a: "whoami" to get the # of the kiosk session I'm on then utwho to
get the MAC address (in the pseudo.xxxxxxxxxxx) THEN do a utdesktop to
get the location/other fields.
Any help is appreciated :o)
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users