Jump to content

skank

Members
  • Posts

    1,116
  • Joined

  • Last visited

Everything posted by skank

  1. I agree, having the script schedule the sleep in the near future and then returning would solve the problem. The scripts are fairly simple and if you spent some time looking at the existing user scripts, searching Google and reading I bet you could figure it out. The other option is to just set up that sleep script on disk spin-down and let the server time-out and go to sleep itself. Peter making scripts isnt my cup of tea, really. Making server go to sleep itself is an option but then i still cant make this happening through the computer and dune... so no option
  2. :'( I find it strange also, im the only one wanting this... (begin able to put it to sleep from my mediaplayer,pc...)
  3. The problem most of us have is that we have no idea how the dune works or what is going on. I have personally never bothered to put my server to sleep, so can't be of much/if any help. This is not truly an unRAID problem as the button that is being pressed is just calling a function that is built into the Linux Kernel. you really dont need to know how the dune works, cause the guy from mpc will do that i just need trigger it to go sleep without crashing my browser, and thats because unraid doenst send back an answer he goes to sleep... so that IS unraid doing that
  4. that doesnt help me, waking up is not the problem making it sleep is read above
  5. the guy from mpcclub could make a dsf that would send the HTTP request and not wait for any response, but that would require a lot of custom code that he's not willing to spend time on just to work around the misbehavior of Unraid. and since my knowledge doesnt reach that far, im stuck to the help i get here
  6. i can't do that.. i'm a noob in that case.. guess i wont be using the sleep button then who did write that?
  7. Joe L, this works, however Doing this with the pc.. The server is going to sleep, but my browser just hangs........(freezes) The guy made a dsf file for the dune, giving the same command... Running the command (so triggering http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep ) , the dune hangs (freezes). Something is obvious wrong with it. It sounds like Unraid is not sending any HTTP response before shutting down. You are correct. It won't, it will just go to sleep. The response will probably come once it wakes. (never thought about that aspect) Is there a way to fix this, its quite annoying the browser freezes. Even with the dune running completely stuck because of this is really not pleasant
  8. Joe L, this works, however Doing this with the pc.. The server is going to sleep, but my browser just hangs........(freezes) The guy made a dsf file for the dune, giving the same command... Running the command (so triggering http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep ) , the dune hangs (freezes). Something is obvious wrong with it. It sounds like Unraid is not sending any HTTP response before shutting down.
  9. update: the wolcmd thing to wake it up works now... also going to sleep using unmenu S3 sleep button works and the link http://192.168.0.117:8080/user_scripts?command=Go+to+S3+Sleep works like a charm So nice, i can start&stop my server from pc and mediaplayer now.. I'm only afraid of power consumption this way if i leave it running 365 days 24/24 hours And afraid of doing my harddrives/parity harm cause of the spinning up/down a lot. And no worries for a fire or something.. if it would run too hot staying in sleep (i dunno if that makes sense)
  10. Ok And it is safe for the harddisks/data/parity drive/ even fire?, to use the sleep command a lot? Also why do people still install the script then? To do it automatically? That's the only difference? Can i wake from a clean powerdown too? Then the last part; to make the dsf file the guy posted me : Download Plink from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html And then run it from the command-line in Windows. It should look something like this: plink 192.168.0.117 -P 22 -ssh -l <username> -pw <password> -v /sbin/powerdown Ask the unraid forum for help if needed. Once you get that working from your PC then send me the exact command line you used Can you help to get the above command line right but then with the sleep mode instead of the powerdown (or if im able to wake up from powerdown script, then its ok to use this too)
  11. This isnt in conflict with the clean powerdown script? Is that "go to s3 sleep" button already installed into unmenu, or do i have to install it? Is it safe for the harddisks/data/parity drive, to use the sleep command a lot? Do i still need to install the sleep script?
  12. Many... probably not. There is a long thread discussing how to do it. But the number of people that use it is far smaller then than you probably think, and smaller still in comparison to the number of people that have an unRAID system. The ones that want such a thing are the ones that commented in that thread and helped in the creation of that script. i hope joe L can help me then It cant be that hard for pro's like you i think , to get something so i can execute a batch from windows vista to get my server to sleep? since the echo ..... command to put it to sleep works...
  13. Your syntax is wrong; Notice the SPACE between IP Address and Netmask, and not a DOT. wolcmd [mac] 192.168.0.117 255.255.255.0 nice , didn't see that ! thx will try tomorrow!
  14. Hi I'm using unraid v4.6 I'm currently using the clean powerdown script to powerdown, but i want to be able to let the server sleep. -Either by pushing the button on the case. -Giving a command from my pc upstairs, to let the server sleep... I can do this already by using putty and typing echo 3>/proc/acpi/sleep but there should be another way Also: Is going to sleep the same as the clean powerdown addon? When sleeping and waking up (waking already works) , does it make all hdd's spin up? or do they remain spinned down until you call them...
  15. oh i thought many used a script to let the server sleep
  16. mm i see the point there, it just looks nice the beta
  17. so wolcmd [mac] 192.168.0.117.255.255.255.0 should do the trick? Also when looking up the macadress in unraid it has some ":" between two numbers, and capital letters is it capital sensitive or not? and the ":" should i drop it in the wolcmd or not? and i still need to find a way to put it to sleep another question i have is, if i use the clean powerdown script.. and i press the button on the case.. it shuts down completely (and safe) can i make it go to sleep? by pressing hard button or is the clean powerdown script also a sleep script? the guy from mpc just emailed me to this: (so i can get the dsf file to work) First I need you to get this (= make it sleep) working from a PC. It's much easier to debug and see what's going wrong. Once it's working from your PC then I can automate it into a DSF for the Dune. Download Plink from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html And then run it from the command-line in Windows. It should look something like this: plink 192.168.0.117 -P 22 -ssh -l <username> -pw <password> -v /sbin/powerdown Ask the unraid forum for help if needed. Once you get that working from your PC then send me the exact command line you used. also where do i find the username and pasword
  18. The command line tool wolcmd is run from a dos prompt. The syntax is as follows: wolcmd [mac address] [ip address] [subnet mask] [port number] you can also do a local broadcast if you are running on an internal network thus wolcmd [macaddress] 255.255.255.255 255.255.255.255 where mac address is the unique address of the network card. To find the mac address of a card you can either open the computer and read the address on the sticker on the card or much easier is, if you are using TCP/IP, ping the machine from a dos prompt (ping [machine name or ip number] i.e. ping delphi or ping 10.43.43.43) then issue an arp command (arp -a) which will list the ip number and physical address of the card. If the port number is not specified it will default to port 7 Running from a batch file Simply add multiple entries thus: wolcmd 009027a324fe 195.188.159.20 255.255.255.0 8900 wolcmd 009024a731da 212.86.64.31 255.255.255.0 8900 i did the ping thing and arp -a and i got this so i entered cd c:\Program Files\Wolcmd\ wolcmd 20:CF:30:F1:45:EB 192.168.0.117.239.255.255.250 is this correct?
  19. That did the trick. It's working now, i just installed shh! thx ! The only thing i need now is the wolcmd problem I need a way to put my server to sleep and a way to wake it up all from my desktop running vista
  20. i do know the mac, ip adress and netmask so [mac] then 4 digits for ipadress then 4 digits for netmask? or netmask first? you know how i should solve the dns problem?
  21. Obtain DNS Server Address Automatically: No DNS Server 1: 192.168.0.1 DNS Server 2: DNS Server 3: Doesnt change a thing Can you answer this too? going into sleep seems to work but i didnt change a thing i typed in echo 3 >/proc/Acpi/sleep and now power is off , and only one small light in front of the case is flashing on/off using the dsf file the guy from mpc made, my server turns back on.. so i guess it works that way although i made a batch containing: cd c:\program files\wolcmd wolcmd [MAC] 255.255.255.255 255.255.255.255 and having the wolcmd.exe in c:\program files\wolcmd\ but it doesnt seem to work to wake it that way
×
×
  • Create New...