User(s) browsing this thread:
|
Wake up NAS from Popcorn
|
|
03-11-2009, 08:04 PM
(This post was last modified: 07-01-2009 08:13 AM by dc11ab.)
|
|||
|
|||
|
Wake up NAS from Popcorn
I have found a workaround solution for waiking up nas storage.
1. Install busybox using community installer, just search this forum for a link to page 2. Create file :NAS-start.cgi on root of your HDD mounted in popcorn. Paste code below inside NAS-start.cgi, change mac addres of your NAS server instead <i>put_mac_addres_here</i> and save file. Remember it is a linux system so before saving convert it to linux format - there are some differences in reading endline char ... I think .... Code: #!/bin/sh--- code end 3. add new web service in popcorn: url: http:\\localhost.drives:8883\HARD_DISK\NAS-start.cgi Now you can wake up nas server using built menu of popcorn Note: I'm not a sh programer - I just follow some tutorials to get this job done ( just took me about 10 minutes to write it and i'm happy cos its working , so it is not a smartes code in a world . Feal free to modify. Just did it for my own purpose, but I just thought i could share so someone else can enjoy it. Taking NO responobily for it - use it in at your own risk ![]() ps Sorry for my english ... Enjoy |
|||
3 users say Thank You to mrfac for this post |
|
03-11-2009, 08:11 PM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
What Nas are you using for everyones information?
I have a DNS323 and it wakes up everytime I click on the share in PCH. Hasn't failed once in 5 months I have had it. |
|||
|
03-11-2009, 08:15 PM
(This post was last modified: 03-11-2009 08:17 PM by mrfac.)
|
|||
|
|||
RE: Wake up NAS from Popcorn
(03-11-2009 08:11 PM)Sailorman Wrote: What Nas are you using for everyones information? Great to hear that - I didn't know that clicking on a share wakes up NAS ... I'm using a winXP computer ( as NAS server with myiHome for browsing content )with few batch and scheduled task on it so it automaticly unpack *.rar, reads freame rates form movies and downloads and converts subtitles to popcorn format. Popcorn didn't wake my computer ( NAS server ) automaticly for me ... Damn you are quick in replaying ... I havent finished fixing typos and there is a replay already - WoW
|
|||
|
03-11-2009, 10:43 PM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
@mrfac,
Could you please re-edit your first post and put the actual code inside of forum CODE tags (the # button) Without it some critical code could be missing because of forum posting. |
|||
|
03-11-2009, 10:45 PM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
Most NAS will wake. Your pc should wake up to unless its in standby.
|
|||
|
03-12-2009, 04:47 PM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
Maybe I would add shares properly if the popcorn didn't always forget them. I will use this because I am lazy - and also the auto mount script elsewhere posted in these forums.
|
|||
|
04-05-2009, 05:06 AM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
Seems most PC's do wake on LAN traffic ... any traffic ...
You will need to set it (nVidia chipset) to "Wake-On-LAN" (instead of 'Wake-on-Pattern") to prevent your Windows box to stay on all the time. (even if I force my XP box to go to standby, wake-on-pattern will wake it up with a minute or 2 - unlike Wake-on-lan where it actually wait for a WOL packet). Webmaster http://www.weethet.nl |
|||
|
06-30-2009, 07:17 PM
(This post was last modified: 06-30-2009 07:35 PM by nianoniano.)
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
I'm linux noob, and I created file with NotePad++:
Code: #!/bin/shSave, and trough telnet ./NAS-start.cgi but don't work, what I'm doing wrong? EDIT Sintax error in line 18, unexpected newline. |
|||
|
06-30-2009, 07:23 PM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
(Moved thread to the development section)
Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
06-30-2009, 07:29 PM
|
|||
|
|||
RE: Wake up NAS from Popcorn
(06-30-2009 07:17 PM)nianoniano Wrote: I'm linux noob, and I created file with NotePad++: I think you need to put the MAC address of the computer you want to wake up where it says "put_mac_address_here." |
|||
|
06-30-2009, 09:20 PM
|
|||
|
|||
| RE: Wake up NAS from Popcorn | |||
|
07-01-2009, 12:03 AM
|
|||
|
|||
RE: Wake up NAS from Popcorn
(06-30-2009 07:17 PM)nianoniano Wrote: I'm linux noob, and I created file with NotePad++: You created the file using NotePad++, which is good, but did you tell it to set the file type as Unix/Linux file endings? Otherwise you probably have Windows CR/LF characters in the file causing the problem. Or fix it by using Telnet to access the box, cd into the folder where the file is, and run the command /share/bin/dos2unix ./NAS-start.cgi |
|||
1 user says Thank You to garp99 for this post |
|
07-15-2009, 01:46 AM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
This works like a charm and something I wanted for ages. I just couldn't figure it out, but you did, so 3 cheers to you!
|
|||
|
07-20-2009, 01:21 PM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
hi,
Great staff. How can the script be invoked through the remote? Any ideas? Uros |
|||
|
07-20-2009, 04:33 PM
|
|||
|
|||
|
RE: Wake up NAS from Popcorn
You can probably make a TVID in a custom index html file to assign the script to a certain rc button, but I guess the NAS-cgi solution in the web service described above is accessed quite fast already.
Example: http://www.networkedmediatank.com/showth...#pid214083 Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]



, so it is not a smartes code in a world 
![[+]](images/collapse_collapsed.gif)






