Results 1 to 15 of 69

Thread: Wake-on-LAN

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #24
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    My suggestion is that you install xinetd from optware packages and then create a wrapper script which replaces http service at port 80.
    This script should reconfigure iptables for forwarding to server and wakes the server.

    Additionally you can install thttpd server and run it in -D mode in script before reconfiguring iptables and waking server. This will enable visitors to see DELAY notice. HTML page should include
    Code:
    <META HTTP-EQUIV=Refresh CONTENT=300>
    Of course this could also be solved with firmware, with simple reconfigure of busybox applets. But this requires knowledge of firmware compilation.
    You should include inetd applet and set httpd to be run from inetd!

    I dont know why, inetd is not included in Oleg firmware as this saves memory. Maybe because memory is so tight that it is safer to run as daemons.

    HM. I think that this requires Oleg 7b firmware which has http_lanport patch as inetd has to live on port 80, to detect requests. Move GUI elsewhere.


    Hope this helps you start. Write a WIKI page when you finished.

    And why not running http server on router itself?
    Last edited by oleo; 18-01-2006 at 16:06.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •