June 14, 201115 yr You do not have a DNS server defined. You must have one or more defined for unRAID to figure out where the external sites are. try setting the DNS server to 192.168.0.1 Joe L.
June 14, 201115 yr Author 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
June 14, 201115 yr I have no idea how wolcmd works but from looking at what you typed in )wolcmd [MAC] 255.255.255.255 255.255.255.255) I am guessing that is wrong. You probably need to provide the IP address of the server and the subnet mask along with the MAC address of the adapter. I have no idea what those are, so you will have to figure that out for yourself.
June 14, 201115 yr Author 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?
June 14, 201115 yr Set "Obtain DNS Server Address Automatically" to yes. Or you can try the google servers: 8.8.8.8 and 8.8.4.4
June 14, 201115 yr What is light grey? Which version of unRAID? EDIT: First set "Obtain IP Address Automatically:" to yes. EDIT: IF you need a static IP set it up in your router. Managing address allocation centrally in the router is the best practice. You will have fewer problems.
June 14, 201115 yr Author Or you can try the google servers: 8.8.8.8 and 8.8.4.4 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
June 14, 201115 yr Author 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?
June 14, 201115 yr You netmask is 255.255.255.0 on the server. It should be the same on all machines. (Another benefit of centralized address management in the router)
June 15, 201115 yr Author 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
June 15, 201115 yr Nobody into the sleep - powerdown stuff either? Not many. My server has other stuff running on it that requires the machine to be on all the time. You are going to have to do your own google searching to help answer the questions. A guess, check, and revise approach is probably going to be what is needed until you find the combination that works.
June 15, 201115 yr oh i thought many used a script to let the server sleep 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.
June 15, 201115 yr so wolcmd [mac] 192.168.0.117.255.255.255.0 should do the trick? 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
June 15, 201115 yr Author so wolcmd [mac] 192.168.0.117.255.255.255.0 should do the trick? 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!
June 15, 201115 yr Author oh i thought many used a script to let the server sleep 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...
June 15, 201115 yr If the "Go to S3 Sleep" button in unMENU works, you can just use the URL http://your_server_name:8080/user_scripts?command=Go+to+S3+Sleep (changing "your_server_name" to either the actual server name or the IP address)
June 15, 201115 yr Author 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?
June 15, 201115 yr 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? no need for any other script. no conflict with powerdown. button is already on the user-scripts page, therefore the URL will be valid. Only possible issue is if you leave unMENU up on your browser on the main page and it happens to be refreshing itself at the exact same time you try to sleep. No harm, it just won't go to sleep since the button will not be pressed. Joe L.
June 15, 201115 yr Author 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)
June 15, 201115 yr Ok And it is safe for the harddisks/data/parity drive/ even fire?, to use the sleep command a lot? It should not be a huge problem. Also why do people still install the script then? To do it automatically? That's the only difference? Yes, for the most part Can i wake from a clean powerdown too? Depends on the kind of powerdown, but I would guess no. The only way you are going to know is to try it. I know my little HTPC machine turns on via the power button on my TV remote from a powered down state.
Archived
This topic is now archived and is closed to further replies.