0% found this document useful (0 votes)
50 views7 pages

Important Configuration of Sunray

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views7 pages

Important Configuration of Sunray

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

Setting Screen Size in windows connector.

=========================================

/opt/SUNWuttsc/bin/uttsc -g 1280x1024 ip

The easy way is to


#su - username
password:******

vi .profile

/opt/SUNWuttsc/bin -m -O ip(of windows server)


:wq!
===============================================

Disabling usb drive in sunray.


===============================

/opt/SUNWut/sbin/utusbadm -d

Enabling usb drive in sunray

/opt/SUNWut/sbin/utusbadm -e
================================

To enable usb service


======================================
Use the utdevadm command as below:

# /opt/SUNWut/sbin/utdevadm -e -s usb

FPRIVATE "TYPE=PICT;ALT=single-step bullet" Use the utdevadm command as below:

# /opt/SUNWut/sbin/utdevadm -d -s usb
===========================================

To perform a cold restart


============================================
Use the utrestart command as below:

# /opt/SUNWut/sbin/utrestart -c
===============================================

To update firmware we need to add two patches


===============================================
127557-01.zip
127554-02.zip

coz sun ray 4.0 has bug

then we need to apply the following command


/opt/SUNWut/sbin/utfwadm -A -f /opt/SUNWut/lib/firmware_gui/ -a -N all

for dedicated network or locally attached DTU apply the following command
/opt/SUNWut/sbin/utfwadm -A -f /opt/SUNWut/lib/firmware_gui/ -a -n all

then we need to restart services


./utrestart

then we need to go to DTU


stop+s
give static ip
in the field names servers put the (authentication server ip,log server ip,firmware
server)
gateway(remote)
sub net mask
exit
we can also assign password to the configuration screen
Alt+Cntrl+backspace twice will restart the session

==========================================================

CONFIGURING SUNRAY SERVER FOR MORE THAN ONE NETWORK


===================================================

run the following command for more than one n/w

./utadm -A 10.1.80.0

again

./utadm -A 10.1.90.0
and
so
on

There are two ways one is static ip for which we need updation of firmware
and apply the DTU on the same n/w

Next is to configure it for one network any one and then


don't give any address for the DTU

Run the dhcp on the sun ray server

enable option 49 and 66 on the remote router. where dtu has to be put.

we need that router to firmware server.

the dtu will get ip from that dhcp server(router). and then find its server
(sun ray).
we need to run
./utadm -L on
./utrestart
on the sun ray server
=================================
#svcadm restart dhcp-server
=================================

MOUNTING USB DRIVE WITH WINDOWS SERVER FROM DTU


=================================================
#./uttsc -m -r disk:usb='$DTDEVROOT'/mnt ip
=================================================

TO BIND IP WITH MAC ADDRESS OF DTU


====================================

just find dhcp.conf file add


ip address and MAC address of the DTU's
in that file
*************************************************************************

TO ENABLE KIOSIK MODE


========================

/opt/SUNWut/sbin/utconfig -k
[utku] "user prefix" [y/n]: y
enter y
for each option
continue y
./utrestart
=========================================

WEB ADMIN OF kiosik


=====================

http://localhost:1661

go to advance -> sys-policy->user with registered token->self Registration


we can also write the script for the application to be runned
chmod a+x spriptname
and put its path in the application text box
we will see those applications on right click on the user window
save

restart services

/etc/init.d/utsvc stop
/etc/init.d/utsvc start

/opt/SUNWut/sbin/utrestart

===============================================

ROUTE ADD COMMAND


=======================

#route add net 10.1.80.0(destination n/w) -netmask 255.255.255.0 192.168.1.1(local


gateway)

=======================

TO UPDATE FIRM WARE DIRECTLY FORM SRSS


==========================================

if there is no dhcp server in router then you need to


configure any port in the sun ray server for the firm ware updation of DTU

#ifconfig bge1 plumb


#ifconfig bge1 192.168.1.18 netmask 255.255.255.0 up
#/opt/SUNWut/sbin/utadm -a bge1
#

now connnect directly the DTU with cross cable to that port bge1

the firm ware will be automatically updated

To update firmware we need to add two patches

for intel

127557-01.zip
127554-02.zip

for sparc

127556-01.zip
127553-02.zip

coz sun ray 4.0 has bug

then we need to apply the following command


/opt/SUNWut/sbin/utfwadm -A -f /opt/SUNWut/lib/firmware_gui/ -a -N all

then we need to restart services


./utrestart

then we need to go to DTU


stop+s
give static ip
gateway(remote)
sub net mask
we can also assign password to the configuration screen
Alt+Cntrl+backspace twice will restart the session
=======================================================

TO UPDATE FIRMWARE THROUGH ROUTER REMOTELY


===========================================

First you need to enable dhcp on router

then you need to enable option 46 and 66 as follows in router

dhcp 49 ip "ip"
dhcp 66 ascii "ip"

=====================================

ADDING PRINTER IN WINDOWS THROUGH DTU


=========================================
cancel -x root #cancel all requests that are send by root
remove the previously installed printer if any

#lpadmin -x "Name of Printer"


#lpadmin -p "Name of Printer" -v $DTDEVROOT/unit/dev/printer/...#copy the restof
the path from /tmp/SUNWut/inits/dev/printer..
#/usr/sbin/accept "Name of the printer"
#/usr/bin/enable "Name of the printer"
#/opt/SUNWuttsc/bin/uttsc -m -r printer:"Name of the printer"="windows driver name"
#Computer/HKEY_LOCAL_MACHINE/System/
CurrentControlSet/Control/Print/Environm ents/WindowsNTx86/Drivers/Version-3.
e.g., the driver name will be like "Epson LQ-300+11 ESC/2"

#vi /var/spool/lp/model/standard

set print banner to no


:wq!
================================================
test one thing in windows for usb mounting

start
control panel
terminal services
RDP-Tcp Mirror
client settings
check the drive mapping
ok

#./uttsc -m -r disk:usb='$DTDEVROOT'/mnt ip

*********************************************
if you want to unconfigure the dedicated interface like bge1 which was configure
lilke this

ifconfig bge1 plumb


cd /opt/SUNWut/sbin/utadm -a bge1
Y
/opt/SUNWut/sbin/utfwadm -A -f /opt/SUNWut/lib/firmware_gui/ -a -n all

to unconfigure

remove entries like this

ifconfig bge1 unplumb


rm /etc/hostname.bge1
vi /etc/inet/hosts
vi /etc/inet/netmasks
vi /etc/inet/networks

remove the host name and ip address of bge1 port


***********************************************************************************
*******

http://www.it.uu.se/datordrift/faq/sunray#NonSun

P� svenska, tack
Search Sun Ray
Usage
Keys and configuration
Non-Sun keyboards

Usage
There are some exceptional considerations that need to be noted when using a Sun
Ray appliance.

Do not run resource-demanding applications (e.g. MATLAB). Because the servers


resources are shared between the clients, performance will be greatly reduced for a
large amount of users. Instead, we recommend that all heavy computational tasks
should be run on our compute servers. We reserve the right to kill processes if
they severely effect the performance.
Screensavers are often very CPU-intensive. We therefore recommend that only xlock
is used as a screensaver (if one is necessary at all).
Do not leave your webbrowser on a render-intensive site (e.g. animations like on
www.aftonbladet.se), when you are done with the task load your default homepage (or
Google).
Highly graphical applications (OpenGL etc.) usually suffer from low performance on
the Sun Ray appliance. If you experience a need for using such applications, we
recommend using a regular workstation instead.

Keys and configuration


Access Sun Ray configurator
Shift + Props
Terminate current session (kills X-server)
Ctrl + Alt + BackSpace + Backspace
Reset Sun Ray (does not reset current session).
Ctrl + Power (the moon in the upper right corner)
Mute audio

Decrease volume

Increase volume

Some of the key sequencies might not work depending on your window-manager and
personal settings you are using. If this is the case you have to start the
applications manually.

Access Sun Ray configurator


/opt/SUNWut/bin/utsettings
Audio settings
audiocontrol

Non-Sun keyboards
If you use a non-Sun keyboard you will find that some of the key sequencies above
are impossible to generate, to get the same functionality you can copy the file
/etc/opt/SUNWut/utslaunch_defaults.properties to ~/.utslaunch.properties and assign
your own sequencies.

utdetach.hotkey=Shift Pause
utsettings.hotkey=Shift Ctrl F8

You might also like