June 9, 201115 yr Hi, I was wondering if there is a workaround to start up my server? Currently i'm doing this manually but i want to get an easier life Is it possible to start it up, through my dune mediaplayer, with some short of shortcut or something , or even better , using my harmony one remote?
June 9, 201115 yr Can the Dune bet set to send a WOL command? If so, then it could work. The Harmony would require you to use one of these. Also, you will have to install the powerdown script so it cleanly shuts off via the power button. http://www.simerec.com/ Peter
June 10, 201115 yr Can the Dune bet set to send a WOL command? If so, then it could work. The Harmony would require you to use one of these. Also, you will have to install the powerdown script so it cleanly shuts off via the power button. http://www.simerec.com/ Peter I have one of this and it work beautifully. http://www.simerec.com/PCS-1a.html
June 10, 201115 yr Can the Dune bet set to send a WOL command? If so, then it could work. Dune does not currently support WOL or magic packets. According to their feature request page, it has 2543 votes.
June 11, 201115 yr Author Well on mpcclub there is someone able to make dsf files, that the dune can run. He could make 2 files, one to start and one to shut down But he's asking me details.. this is his answer You will have to give me more details. If it's wake-on-LAN I will need the MAC address. How do you shutdown? For the Qnap NAS of the OP, it is ssh in, then run `poweroff`. Same thing for Unraid? PM me the details and I can make the dsf files when I get some time (in a few days). Where do i find the mac address? and what do i answer for the shutdown thing? I'm using clean powerdown addon to shut unraid down .
June 13, 201115 yr Author Well on mpcclub there is someone able to make dsf files, that the dune can run. He could make 2 files, one to start and one to shut down But he's asking me details.. this is his answer You will have to give me more details. If it's wake-on-LAN I will need the MAC address. How do you shutdown? For the Qnap NAS of the OP, it is ssh in, then run `poweroff`. Same thing for Unraid? PM me the details and I can make the dsf files when I get some time (in a few days). Where do i find the mac address? and what do i answer for the shutdown thing? I'm using clean powerdown addon to shut unraid down . Anyone can help me to answer this correctly
June 13, 201115 yr Well on mpcclub there is someone able to make dsf files, that the dune can run. He could make 2 files, one to start and one to shut down But he's asking me details.. this is his answer You will have to give me more details. If it's wake-on-LAN I will need the MAC address. How do you shutdown? For the Qnap NAS of the OP, it is ssh in, then run `poweroff`. Same thing for Unraid? PM me the details and I can make the dsf files when I get some time (in a few days). Where do i find the mac address? and what do i answer for the shutdown thing? I'm using clean powerdown addon to shut unraid down . Anyone can help me to answer this correctly You need to supply to him your MAC address. You'll find it under "network-settings" on the management console. It MAY work, if your motherboard, power supply, and BIOS support it and if it is enabled. To see if it is for your network interface type: ethtool eth0 You are looking for: Supports Wake-on: pumbg Wake-on: g "g" indicated it is configured to wake on LAN. If you have the clean-powerdown script installed, you can shut down the array by invoking /sbin/powerdown
June 13, 201115 yr Author ok thx cool well; i know someone who has the same motherboard, bios and power supply and he's using WOL succesfully so i might have a chance to do this And i do have the powerdown script installed i just tell him this: "i have a powerdown script running to shut it down. Just invoke /sbin/powerdown" will be enough?
June 13, 201115 yr Author Any ideas what such server in WOL position (sleeping) might consume (energy)?
June 13, 201115 yr There is a script here somewhere that will put a server into sleep mode when the disks all spin-down. At least I believe it was spin-down. It might have been unaccessed for a certain time too. I tried it at one time and it did work. Going that way, you would just have to send the WOL command. Peter
June 13, 201115 yr Author There is a script here somewhere that will put a server into sleep mode when the disks all spin-down. At least I believe it was spin-down. It might have been unaccessed for a certain time too. I tried it at one time and it did work. Going that way, you would just have to send the WOL command. Peter Thx for the info. Now i have 2 possibilities to shut it down. i'll see what the guy on mpc says.. Any idea what a server sleeping costs?
June 13, 201115 yr Author The guy who will make me the dsf files is asking the following: ""How do you trigger this powerdown script? On another thread (that I think you're following) I just made a dsf to shutdown a NAS by SSHing into it and running a command. If you can SSH into your NAS (server) then this same strategy should work for you too."" Anyone can provide me the answer please?
June 13, 201115 yr The guy who will make me the dsf files is asking the following: ""How do you trigger this powerdown script? On another thread (that I think you're following) I just made a dsf to shutdown a NAS by SSHing into it and running a command. If you can SSH into your NAS (server) then this same strategy should work for you too."" Anyone can provide me the answer please? SSH is not installed by default on unRAID. you can use unMenu to install the needed stuff to get ssh working.
June 13, 201115 yr Author The guy who will make me the dsf files is asking the following: ""How do you trigger this powerdown script? On another thread (that I think you're following) I just made a dsf to shutdown a NAS by SSHing into it and running a command. If you can SSH into your NAS (server) then this same strategy should work for you too."" Anyone can provide me the answer please? SSH is not installed by default on unRAID. you can use unMenu to install the needed stuff to get ssh working. euh , what is SSH? is it hard to install? i'm really a newbie in linux. i have unmenu up and running thats no problem . where can i find it?
June 13, 201115 yr The guy who will make me the dsf files is asking the following: ""How do you trigger this powerdown script? On another thread (that I think you're following) I just made a dsf to shutdown a NAS by SSHing into it and running a command. If you can SSH into your NAS (server) then this same strategy should work for you too."" Anyone can provide me the answer please? SSH is not installed by default on unRAID. you can use unMenu to install the needed stuff to get ssh working. euh , what is SSH? is it hard to install? i'm really a newbie in linux. i have unmenu up and running thats no problem . where can i find it? Check the Package Manager link.
June 13, 201115 yr Author he keeps asking how i launch the powerdown script? I dunno, i just press the button one the case and it shuts down (launches the script somehow) correctly, so what do i answer him?
June 13, 201115 yr SSH and telnet are ways to access the cli on your unRAID box. SSh tends to be more secure. As mentioned if he needs ssh then you can install through unMenu. Check if he can use telnet, otherwise install ssh. Going from memory as I don't have my box here infront of me you launch the powerdown script as Joe L mentioned: /sbin/powerdown You can test it to be sure. Telnet in and type the above line into the cli. It should powerdown. Josh
June 13, 201115 yr Author mm ok but i dont do it that way i just press the case button the person from mpc doesnt know anything about unraid so i dunno if he knows where the powerdown thing is etc etc
June 13, 201115 yr mm ok but i dont do it that way i just press the case button the person from mpc doesnt know anything about unraid so i dunno if he knows where the powerdown thing is etc etc right, but that power button press is tied into the powerdown script that is installed in the above location mentioned. If you were to open a telnet session and type /sbin/powerdown at the command prompt it would do the same thing as you pressing the power button.
June 13, 201115 yr http://lime-technology.com/wiki/index.php?title=Setup_Sleep_(S3)_and_Wake_on_Lan_(WOL) It should use less than 5W when in sleep mode. Peter
June 14, 201115 yr Author telnetting in and typing in ethtool eth0 it shows me: Supports Wake-on: pumbg Wake-on: g does that mean its ready for WOL and i dont have to change anything in the bios? how does it go to sleep then? i tried making it sleep by typing echo 3>/proc/acpi/sleep but it looks it doesnt sleep, is there a way i can check it actually sleeps? cause power is still on , i see I also tried to install ssh through unmenu but it doenst seem to work when i click the download "blablabla" button i get a white page with just "e 0" on top looking back to "main" under unmenu it says: Jun 14 10:41:24 Unraid unmenu[1352]: gawk: /boot/unmenu/990-unmenu-wget.awk:1072: fatal: can't open two way socket `/inet/tcp/0/slackware.cs.utah.edu/80' for input/output (No such file or directory)
June 14, 201115 yr For unmenu to work it will need both the network gateway AND dns server defined in the unRAID settings. Usually both get set the the IP address of your router. What happens when at the command line you type: net lookup google.com ping -c 5 google.com unfortunately, is is impossible to catch and act on "fatal" errors in "awk" so you'll see the "e 0" if that occurs. The method to put a server to sleep changed in more recent linux kernels, what version of unRAID are you using? Lastly, my C2SEE has never been able to go to sleep. It might be the BIOS on your MB itself. (Since my MB is a server style MB, I'm guessing they never figured it would "sleep". )
June 14, 201115 yr Author i'm using unraid version 4.6 these are my settings MAC address: (****) Obtain IP Address Automatically: No IP Address: 192.168.0.117 Netmask: 255.255.255.0 Gateway: 192.168.0.1 Obtain DNS Server Address Automatically: No if i type net lookup google.com ping -c 5 google.com i get : ping: unknown host google.com 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
Archived
This topic is now archived and is closed to further replies.