What's new

mad wife keeps switching off router..stopping WOL ??

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

The server bios must support that as it will power on fine as long as she hasnt cut power over night...i thought that once she switch power on again i could access router and then perform wol
 
in some circumstances, I noticed that the ARP table get flushed from time to time ; therefore I have put my ARP static commands in a crontab in addition to the service-start ... and so far, no issue at all ....
Rgds,
GS

P.S. In any cases, I would vote for the "bury" option ..... :eek:

Ok. How would i go about this on merlin
 
Looking around..i need to type this in somewhere "arp -i br0 -s [IP ADDRESS] FF:FF:FF:FF:FF:FF" obviouly changing for my ip and mac address. Is this a cron job then ?
 
ups with comms link to server so it shuts down gracefully?
stealth mode on cron timers to turn off all router leds before bed time!
 
i can normally switch on my server via WOL but my wife has got into the habit of powering down everything at night (we live apart)

Probably time to move the server - depending on what it's doing, VPS's are pretty reasonably priced these days...

One less thing to get aggravated in a tough relationship...
 
The server is pretty much switched off..i remotley switch it on then switch it off when finished....she just cuts the power at night from the mains which isnt a problem as i dont need it at night..its just annoyibg that when the supply is returned in morning i cant wol anymore
 
The server is pretty much switched off..

then consider that perhaps you just don't need it - and move those things over to your local network where you might have some control over power...
 
As stated above a UPS would allow for graceful shutdown of server and UPS so batteries are not rundown.

Or option 2, consider moving server elsewhere - friend, family, etc.

Or option 3, move data to a cloud service.
 
Ok. How would i go about this on merlin

Put your ARP command(s) in a shell script and then issue the "cru" command at service-start ....

example:
/jffs/scripts/wol.sh file contains the following
#!/bin/sh
arp -s ipaddr mac
exit

and the in service-start the following:
cru a wol "00 * * * * /jffs/scripts/wol.sh"
 
Put your ARP command(s) in a shell script and then issue the "cru" command at service-start ....

example:
/jffs/scripts/wol.sh file contains the following
#!/bin/sh
arp -s ipaddr mac
exit

and the in service-start the following:
cru a wol "00 * * * * /jffs/scripts/wol.sh"

so i browse to /jffs/scripts/ via telnet session and upload a xxx.sh file with arp commands, if i remeber rightly i have to set router to create jffs partition ?
 
I think you should poke around in the bios of that computer. I have the opposite problem, when the router reboots some computers were waking up from sleep.
 
so i browse to /jffs/scripts/ via telnet session and upload a xxx.sh file with arp commands, if i remeber rightly i have to set router to create jffs partition ?

yes, it would be a way to do it ; another way would be to use an ssh session (preferred to telnet) and directly edit the file on the router with the vi editor.

Besides what others indicated in the BIOS, also look at a parameter indicating what to do in case of power failure (most probably indicate there to power on) ....
 
another way would be to use an ssh session (preferred to telnet) and directly edit the file on the router with the vi editor.

Is that to say the file already reside on the router ?..ive not delved much into the router past the GUI.

Besides what others indicated in the BIOS, also look at a parameter indicating what to do in case of power failure (most probably indicate there to power on) ....

Hmmm..ive seen a setting similar to that and overlooked it..sounds promising, she would switch the mains back on in the morning and the server would think its come back on after a power failure and automatically turn on ??..if she saw it on she knows to just press the button on the front to power it down correctly..:rolleyes:i am already running running wifedose 10.0;).

And should the above not work, what is exactly causing the issue, the router being devoided of electicity supply or the server ?..i could try to get the server isolated so it always has power plugged in and the leds within are alight and if that is true then the router can be switched off ?
 
Last edited:
i am already running running wifedose 10.0
1. Windows 8.1 and 10 have problems with WOL from S5.
It's a known feature-bug. M$ says it's done because of user complaints.
There's a workaround via Windows registry.

2. "Quick boot" in Windows 10 must be disabled to WOL from S5.

3. Your hardware must support WOL from S5.

I suspect, you don't really switch off the server "gracefully", you only put it to sleep (S3 sleep state) and it's able to WOL after this.
You need to get WOL from S5 working to solve the problem.

The second opportunity is to put the system to the certain state "after power lost" if the bios supports this.
 
Last edited:
Is that to say the file already reside on the router ?..ive not delved much into the router past the GUI.
No, not at all. vi is a build-in editor on unix systems, but if you do not know it by now, forget it. So, since you are going to create the file on Win. and then transfer it to the router, make sure to use the appropriate tool (WINSCP I think) so that you do not screw up the router with file containing fuzy characters (like notepad or worpad would do). Also make sure the file has the execute privilige.



Hmmm..ive seen a setting similar to that and overlooked it..sounds promising, she would switch the mains back on in the morning and the server would think its come back on after a power failure and automatically turn on ??..
Yes, that would be the purpose ....
 
1. Windows 8.1 and 10 have problems with WOL from S5.
It's a known feature-bug. M$ says it's done because of user complaints.
There's a workaround via Windows registry.
Interesting, I run W10 and did not do anything in the registry to have it work ..... could you please tell more about this ?

2. "Quick boot" in Windows 10 must be disabled to WOL from S5.
Indeed, that I had to do as well
 
Wifedose wasnt a typo, i was referencing a post further back where they said i need to install wife 1.0.

As for s5, my unraid server runs a clean power down script to make sure everythings unmounted and packages stopped from running and stopping the array etc etc before it powers off, this is reliant on the bios being able to s5 and have succesfully woken it from there.

Ill have a poke in the bios and experiment with the power failure setting and then if no joy there ill upload the script for the cron job, i use notepad++ which i believe is suitable ? And then chmod 775 ?....

Failing both of the above ill try to isolate the server so it remains with power in s5 state. Sonethings gotcto work..i hope.
 
Sorry for misunderstanding.

So, the right power failure setting in bios is the only option remaining, I think. The server must restore S5. Or the "previous state".

so a setting worked. basically there is 'AC back function' with three options...

1. soft-off: always in off state when AC back

2. full-on: always power on system when AC back

3. memory: system power on, depends on the state before AC lost

soft-off is no good to me for obvious reason, full-on switches the server on when she resumes power and then i can WOL again when she just puts it into S3 state by pressing power button. I am interested in the third option memory, seems to say that it will put it back to how it was before power loss and not need to automatically boot the system...does that sound like what it might do ?
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top