View unanswered posts | View active topics It is currently Wed Jun 19, 2013 12:04 am



This topic is locked, you cannot edit posts or make further replies.  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next
 Execute WOL to start external NAS 
Author Message

Joined: Wed Sep 15, 2010 9:49 pm
Posts: 1
Post Re: Execute WOL to start external NAS
Thanks kaayman. Finally found a simpel solution for my so much wanted wol feature. Works great!

I couldn't help notice however that your last line of code isn't completely correct...

Code:
echo [b]"[/b]/usr/local/etc/busybox2 ether-wake <MAC ADDRESS OF SERVER TO BE STARTED> >> /[b]etc[/b]/local/etc/rcS

should be:

echo "/usr/local/etc/busybox2 ether-wake <MAC ADDRESS OF SERVER TO BE STARTED>" >> /usr/local/etc/rcS

A simple copy and paste wil do.
Like kaayman, i hope this wil help others.


Wed Sep 15, 2010 10:15 pm
Profile

Joined: Mon Dec 07, 2009 10:20 am
Posts: 23
Post Re: Execute WOL to start external NAS
Does anyone know if this works the same in the new SDK 3.X. It appears that this is not the case on my POHD. It worked for 4018 but not for 3582. Should I add something or change one of the command lines?


Mon Nov 29, 2010 10:12 am
Profile

Joined: Sat Feb 13, 2010 9:59 pm
Posts: 673
Location: Tilburg
Post Re: Execute WOL to start external NAS
kaayman was also using Squashfs firmware, so it should work for you straight away.

If not, please write more information, because It worked for 4018 but not for 3582 doesn't really say anything useful, so we could help you.


Mon Nov 29, 2010 11:27 pm
Profile

Joined: Wed Sep 01, 2010 7:25 pm
Posts: 17
Post Re: Execute WOL to start external NAS
@Christian_Ku

My POHD also has firmware version 3582 (waiting for the new GUI :D )
It should work


Tue Nov 30, 2010 6:22 pm
Profile

Joined: Mon Dec 07, 2009 10:20 am
Posts: 23
Post Re: Execute WOL to start external NAS
Hmm, then I do not understand, I downloaded today the new BB but still get no response on the server. Nothing changed there so I assume that it is the fw of the POHD which is strange aswell as you say it works on your POHD. Verified the string in rcS and is correct. BTW, I tried to launch it manually using "busybox2 ether-wake MACADRESS" but didn't work, it says busybox not found, while I was in the correct dir. I tried busybox ether-wake etc. but then the ether-wake applet is not found. I do not understand.


Thu Dec 16, 2010 7:04 pm
Profile

Joined: Thu Nov 05, 2009 10:54 pm
Posts: 4
Location: Brussels
Post Re: Execute WOL to start external NAS
Christian_Ku wrote:
Does anyone know if this works the same in the new SDK 3.X. It appears that this is not the case on my POHD. It worked for 4018 but not for 3582. Should I add something or change one of the command lines?


Hello Christian_Ku

It works, my PlayonHD is running the last firmware 4824 and it wake-up my NAS without problem.
I just followed the instructions below and it works.
Thanks to kaayman and mikka.

Marty068


Thu Dec 16, 2010 7:24 pm
Profile

Joined: Mon Dec 07, 2009 10:20 am
Posts: 23
Post Re: Execute WOL to start external NAS
Well, I think it is safe to conclude that this problem currently is only for my particular situation. Is there any way I can try to do it manually (i.e. not via startup but via a command in the putty line). I tried this as explained above but this did not work.


Fri Dec 17, 2010 11:33 am
Profile

Joined: Sat Feb 13, 2010 9:59 pm
Posts: 673
Location: Tilburg
Post Re: Execute WOL to start external NAS
I've noticed you are trying to run

"busybox2 ether-wake MACADRESS"

which is not going to work (/usr/local/etc is not within $PATH). Try "/usr/local/etc/busybox2 ether-wake MACADRESS" or "cd /usr/local/etc" + "./busybox2 ether-wake MACADRESS" instead.


Fri Dec 17, 2010 11:48 am
Profile

Joined: Mon Dec 07, 2009 10:20 am
Posts: 23
Post Re: Execute WOL to start external NAS
Well, at the time I was in the correct directory, with ls I could see busybox2 in the directory. However it still didn't work. System says that busybox2 is not a valid command.

EDIT: ah wait, I now see that I should use "./" in front of my busybox2 command...will try that!


Fri Dec 17, 2010 1:16 pm
Profile

Joined: Mon Dec 07, 2009 10:20 am
Posts: 23
Post Re: Execute WOL to start external NAS
Now I am at a loss. Via putty I've tried the ./busybox2 etc. command and that does turn on the server. But WHY does the POHD not do this out of its own?

This is at the bottom of my rcS file:

/usr/local/etc/busybox2 ether-wake MACADDRESS

That should be enough right?! And no, the MAC Address is not wrong, I copied it straight out of the rcS file when issuing the busybox2 command manually.

I do not get it.


Sun Dec 26, 2010 7:00 pm
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.