DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-08-04 23:27:50

cerk2006
Member
Registered: 2009-01-29
Posts: 11

Wake up NAS from standby

Hi,

I stream movies to Popcornhour from DNS-323. I am having problems resuming AVIs once NAS goes to standby (the blue LED becomes dimmed and the HDD spins down) due to PCH not handling correctly the AVI's. In order to overcome this PCH's defect, I need to go back to PCH root and navigate to specific NAS folder where I previously watched the movie, thus waking NAS up  - HDD spins up, blue LED lights up. Only then I can resume watching the movie... ;(

I am trying to wake up NAS from PCH by calling a script, which will wake up the NAS and HDD, prior to resuming the movie. I know it was a long shot, but I tried with ether-wake command. NAS didn't wake up ;(.

So, help me out guys. How should I wake up NAS (and HDD) via script?? (Script bash or PHP).

THANKS,
Uros

Offline

 

#2 2009-08-05 07:17:53

crs2027
Member
Registered: 2008-10-14
Posts: 46

Re: Wake up NAS from standby

maybe you can do an ls, like

ls /mnt/HD_a2/

then your drive will get accessed waking up the nas.

Im sure theres a better way though.

Offline

 

#3 2009-08-05 09:27:14

cerk2006
Member
Registered: 2009-01-29
Posts: 11

Re: Wake up NAS from standby

the ls command does not wake up the NAS (nor drive). Even if I browse via PCH GUI through few folders on NAS's HDD the NAS does not wake up!! (I assume the file system/directory structure get buffered somehow). Only if I proceed to the same drive from PCH's root then it gets waken up.

In the meanwhile I could (immediately) wake up the NAS by creating a temp directory on the NAS's HDD. But this is an ugly solution, and I looking for another one...

Thanks again,
Uros

Offline

 

#4 2009-08-05 17:23:46

truxntrax
Member
Registered: 2007-11-16
Posts: 33

Re: Wake up NAS from standby

I have the same set up as you...

Popcorn a100 and dns 323.   I can't get the dns 323 to go to sleep so waking the thing up isn't a problem for me.  I thought my popcorn was keeping the NAS awake (but if yours go to sleep obviously isn't that).

Offline

 

#5 2009-08-06 06:07:05

modeng
Member
Registered: 2007-12-14
Posts: 9

Re: Wake up NAS from standby

Try a "touch /tmp/zz" in your script (or some other file in some location you don't care about).  That should definitely require a spin-up.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB