Hi,
It is solved now, I have enable option66 on my DHCP server
I have made a macro with option66 and set to 10.1.1.1 (TFTPsrvN=10.1.1.1)
And now the .parms file will be used to set the correct poweroff parameter.
Thanks all for your answers
# /opt/SUNWut/sbin/utquery -d 10.1.1.159
terminalID=002128907640
terminalIPA=10.1.1.159
model=SunRayP10
currentAuth=10.1.1.1
currentFW=4.3_146928-01_2011.06.03.14.41
currentBarrier=430
currentBarrierLevel=430
currentMTU=1500
currentLease=82709
Subnet=255.255.255.0
Router=10.1.1.1
MTU=1500
Broadcst=10.1.1.255
LeaseTim=86400
DHCPServer=10.1.1.1
INFORMServer=10.1.1.1
tftpSrvr=10.1.1.1
FWservType=opt66
speed=100F
parmsVersion=4.3_146928-01_2011.06.03.14.41
parmsBarrier=430
parms.poweroff=0
configMTU=1500
confEnabled=0
stopqon=0
bandwidth=100000000
cmdcachesize=512
poweroff=0
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jörg Barfurth
Sent: Thursday, August 11, 2011 10:33 AM
To: SunRay-Users mailing list
Subject: Re: [SunRay-Users] Sunray3 poweroff
John Plompen schrieb:
> Hi,
>
> I'm using an Sunray3 and I want to disable the sleep/power off mode.
> Now I have read a lot about this, how to disable this.
>
> set in .prams file the following entry : poweroff=0
>
> I have put this in mine own config file, like this:
>
> # cat /tftpboot/srssconfig
> server=10.1.1.1
> poweroff=0
>
> And run the following command:
>
> # /opt/SUNWut/sbin/utfwadm -A -a -V -i /tftpboot/srssconfig -f
> /opt/SUNWut/lib/firmware
>
> Mine /tftpboot/SunRayP10.parms looks then like this:
>
> # cat /tftpboot/SunRayP10.parms
> version=4.3_146928-01_2011.06.03.14.41
> revision=1
> barrier=430
> server=10.1.1.1
> poweroff=0
>
> This output I got if I run utquery:
>
> # /opt/SUNWut/sbin/utquery -d 10.1.1.159 terminalID=002128907640
> terminalIPA=10.1.1.159
> model=SunRayP10
> currentAuth=10.1.1.1
> currentFW=4.3_146928-01_2011.06.03.14.41
> currentBarrier=430
> currentBarrierLevel=430
> currentMTU=1500
> currentLease=86286
> Subnet=255.255.255.0
> Router=10.1.1.1
> MTU=1500
> Broadcst=10.1.1.255
> LeaseTim=86400
> DHCPServer=10.1.1.1
> INFORMServer=10.1.1.1
> FWservType=none
Here is the problem: parms files are loaded from the 'firmware server'.
If you don't provision a firmware server, no parms files will be used.
> speed=100F
> configMTU=1500
> confEnabled=0
> stopqon=0
> bandwidth=100000000
> cmdcachesize=512
> poweroff=30
>
If I am not mistaken, your DTU uses broadcast discovery to find a server. This
way you can only find an 'auth' (session) server. To provision the DTU with a
firmware server, you need to configure your network to point the DTU to one.
Methods you can use:
- Create a DNS (alias) name 'sunray-config-servers.<yourdomain>' that points to
your firmware/parms server(s). The name can point to multiple servers for load
distribution.
- Add DHCP option 66 (TftpSrvr) or a 'boot server' to your DHCP configuration,
pointing to your firmware server. IIRC you can use a DNS name here as well.
- You can use utadm -A <network> to configure your Sun Ray server as DHCP
Inform server for Sun Ray parameters, including a firmware server.
If you do this, you should use -N <network> instead of -V in your utfwadm
command.
> But still the Sunray3 power off after 30 min.
> I cannot check it via the "Pop-up GUI's Advanced Menu" because this is
> not working on mine configuration.
> Can anyone tell me the exact commands (with the command line) I must
> use to disable this sleep/power off feature.
>
See above: you need to point the Sun Ray at a firmware server. There are
various methods to do so, but to provide exact commands one needs to know much
more about your networking setup requirements and constraints.
HTH
- Jörg
--
Jörg Barfurth http://blogs.oracle.com/joergb
Disclaimer: I am employed by Oracle. The statements and opinions expressed here
are my own and do not necessarily represent those of Oracle Corporation.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
--
The information contained in this communication and any attachments is
confidential and may be privileged, and is for the sole use of the intended
recipient(s). Any unauthorized review, use, disclosure or distribution is
prohibited. Unless explicitly stated otherwise in the body of this
communication or the attachment thereto (if any), the information is provided
on an AS-IS basis without any express or implied warranties or liabilities. To
the extent you are relying on this information, you are doing so at your own
risk. If you are not the intended recipient, please notify the sender
immediately by replying to this message and destroy all copies of this message
and any attachments. ASML is neither liable for the proper and complete
transmission of the information contained in this communication, nor for any
delay in its receipt.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users