1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Monitor port, send WOL on activity

Discussion in 'Tomato Firmware' started by bluenote, Oct 9, 2012.

  1. bluenote

    bluenote Networkin' Nut Member

    I have a personal little web app page that I use personally, (ie: its not public use) and so it gets pretty sporadic use. What I would like to do is to have WOL kick in automatically when that box needs to be woken up either by a specific URL being called, or simply a request for the index page.

    Can anyone tell me if a) this is possible b) what the most elegant way to do this is?

    I currently do have WOL set up, and I can use my phone or what have you to wake stuff up from remote, but I want this to be able to be used by one other person who isn't as technically savvy, so an automated solution would be best.

    Thanks for any suggestions

    EDIT: In my case, Im using port 8000 on the outside, and thats being port forwarded to the correct location internally.
  2. bluenote

    bluenote Networkin' Nut Member

    I found this very elegant method for a (similar) problem on the sagetv forums:

    Of course this won't work, because this solution depending on the very unique udp broadcast on port 31100.
    However, I find the use of the service here very elegant. Can anyone tell me if there is a way to do this,
    to, say, catch whatever the initial (SYN?) packet header to the webserver before it is known that it is asleep?

    The next best solution I've seen around for tomato and ddwrt involves turning on logging and polling which seems really inelegant.
    But what do I know, I'm not super unix aware.

    Anyone got some tips to offer?

Share This Page