Posts: 2,288
Joined: Nov 2005
Reputation:
5
isn't wSystem that new System Info widget Gugahoi is working on?
Posts: 2,288
Joined: Nov 2005
Reputation:
5
The method I am using is just the standard PHP exec call and the ping functionality built into the host OS. For the majority of users (people running Windows and Ubuntu), this should work totally fine with zero extra configuration.
Use case: You are not at home but are accessing MFP from a remote location (like work or your cell phone for example). Your XBMC device isn't responding and you're not sure why, but you would like to get it up and running so you could run a library update, see recent items, whatever. This (in theory) will make it so you can tell why it isn't running and get it running with a few clicks of your mouse. Even outside of the context of XBMC, a remote ping / WOL widget would be really handy for some remote network administration tasks.
Posts: 220
Joined: May 2011
Reputation:
5
Just on the wake on lan topic. When waking on lan over the internet you need to forward UDP port 7 or 9 depending which one you set it to use. This adds more to the set up. You also don't normally have control over which pc on the lan network you sending the magic packet to as it sends it to all pc's under the external ip. I searched for a couple days for a php script that would wake on lan. Only ever found 1 and then a couple variations of that. Wake on lan php scripts need php sockets open which means another thing users need to possibly enable and don't seem to run so nicely on locally hosted servers (possibly wamp playing up though)