home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
PVR Scheduler: Wake your HTPC on the web
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="htpcoz" data-source="post: 20060" data-attributes="member: 13987"><p>I've been able to put this together to some extent, although I've not finished the last bit to tie it all together.</p><p></p><p>I'm running an ASUS P4P800-VM MB with the internal LAN connected. I've configured this using PowerScheduler and the BIOS is configured for an S3 suspend. The system will S3 suspend after a period of time, and will wake on a number of situations;</p><p></p><p>1) a scheduled job (scheduled task or scheduled recording) comes eligible to run</p><p>2) I press the PC on button on the MCE remote</p><p>3) I send the PC a magic packet.</p><p></p><p>I had to get the latest Intel Proset driver for this to work (previously the system would constantly wake up, as I think the network driver was waking up on any traffic).</p><p></p><p>Now, how do we get it to wake up??</p><p></p><p>I've got a Linksys WRT54GS, and am running the latest Alchemy firmware from Sveasoft. This provides many features, one of which is the firmware includes the 'wol' exe, which I can telnet into the router to execute. When I do, it will successfully wake the PC. So the webscheduler interface is available (from the internet via port forwarding).</p><p></p><p>The problem here is that I don't want to expose the telnet interface to the internet to have to run the wol command. So I have been looking at using the web browser that comes with the 'batbox' distribution for the WRT54G, which includes a lightweight CGI compatible HTTP server, tweaking the firewall parameters to open the local HTTP port for remote access. </p><p></p><p>This would allow the following flow;</p><p></p><p>1) Internet client connects to port 80 (or some other special port for security) </p><p>2) The HTTP server on the router, this runs a CGI script automatically which includes the wol command to wake the server</p><p>3) The HTTP server delays for a sort period</p><p>4) The HTTP server redirects the browser to a new port (eg. 81) which is forwarded to the Web Scheduler on the MP box </p><p></p><p>The main things to be done here is ;</p><p></p><p>1)to get the batbox http server extracted and running on the router. </p><p>2) Write the web pages and CGI scripts to run the wol and redirect the browser. </p><p>3) rebuild the alchemy distro to include the above components automatically</p><p>or 4) build an RC script that can bootstrap components 1) and 2) from a TFTP server each time the router boots (router filesystem is not persistent, only the core OS and some of the configuration eg. rc scripts).</p><p></p><p>Then again, maybe there is an easier way <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>I still however do have some problems with the PowerScheduler sometimes not properly going to sleep, and sometimes missing recordings. This is very intermittent, so for the moment I'm just leaving the PC running with the video and HD stopped through normal power management.</p></blockquote><p></p>
[QUOTE="htpcoz, post: 20060, member: 13987"] I've been able to put this together to some extent, although I've not finished the last bit to tie it all together. I'm running an ASUS P4P800-VM MB with the internal LAN connected. I've configured this using PowerScheduler and the BIOS is configured for an S3 suspend. The system will S3 suspend after a period of time, and will wake on a number of situations; 1) a scheduled job (scheduled task or scheduled recording) comes eligible to run 2) I press the PC on button on the MCE remote 3) I send the PC a magic packet. I had to get the latest Intel Proset driver for this to work (previously the system would constantly wake up, as I think the network driver was waking up on any traffic). Now, how do we get it to wake up?? I've got a Linksys WRT54GS, and am running the latest Alchemy firmware from Sveasoft. This provides many features, one of which is the firmware includes the 'wol' exe, which I can telnet into the router to execute. When I do, it will successfully wake the PC. So the webscheduler interface is available (from the internet via port forwarding). The problem here is that I don't want to expose the telnet interface to the internet to have to run the wol command. So I have been looking at using the web browser that comes with the 'batbox' distribution for the WRT54G, which includes a lightweight CGI compatible HTTP server, tweaking the firewall parameters to open the local HTTP port for remote access. This would allow the following flow; 1) Internet client connects to port 80 (or some other special port for security) 2) The HTTP server on the router, this runs a CGI script automatically which includes the wol command to wake the server 3) The HTTP server delays for a sort period 4) The HTTP server redirects the browser to a new port (eg. 81) which is forwarded to the Web Scheduler on the MP box The main things to be done here is ; 1)to get the batbox http server extracted and running on the router. 2) Write the web pages and CGI scripts to run the wol and redirect the browser. 3) rebuild the alchemy distro to include the above components automatically or 4) build an RC script that can bootstrap components 1) and 2) from a TFTP server each time the router boots (router filesystem is not persistent, only the core OS and some of the configuration eg. rc scripts). Then again, maybe there is an easier way :) I still however do have some problems with the PowerScheduler sometimes not properly going to sleep, and sometimes missing recordings. This is very intermittent, so for the moment I'm just leaving the PC running with the video and HD stopped through normal power management. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
PVR Scheduler: Wake your HTPC on the web
Contact us
RSS
Top
Bottom