mtz_ro_2003
Occasional Visitor
The WOL through web UI is something I was using myself with DD-WRT on my previous router. I occasionally VPN back from work, and then I need a way to turn on my workstation remotely - that's what I'm using the web-based WOL for. Also with people getting smartphones and tablets, having a device at hand that lets you remotely turn on a compter through a web UI does make sense.
I can understand not implementing an automated method like yours as a built-in feature. First, it requires you to have packet logging enabled, which can add quite a load on a router in the long run. There are also security concerns. But using an external script like yours should get the job done for those who still wishes to use that method of WOL.
The best place to put your script would probably be in /jffs/scripts/services-start . That script gets run right after all other services have been started. You could either put the content of your script directly in it, or save your script somewhere in the /jffs partition, and have services-start run your script - that way you will be able to easily add or remove more entries to the services-start script.
Well, I didn't mean my comment to be taken as as feature request, though I would surely like something like that integrated It's not a problem to do it by hand, because it's a very simple script.
I didn't mean that the WOL UI is not a good thing. It's very good. Just not so handy. I mean, before connecting to my PC, I have to load the router page and go to the WOL page and wake up the PC, then connecting to it. Doing this from a phone it's quite time consuming For me (just for me, of course) it's easier to just start the program I need (let's say a VNC client, or the streaming client) and wait 10 seconds for the computer to start.
About the load on the router... It doesn't concern me. I use the router just for... routing The download tasks, Samba, FTP, etc. are done by the NAS so no problem here either.
About the security... I see no problem here... Maybe I am missing something. I mean without SSL, connecting to the router to wake the PC by simple HTTP seems not so secure. Better would be to use SSH to connect a router and exec a script. Am I right? Or what do you mean by "security concerns"?
Reverting to the services-start, because that was my original question
Is "services-start" a script or a folder? I'm guessing it's a script, but I just want to be sure.