Re: Remote Wake-On-LAN Server
Posted: Wed Jan 28, 2015 2:56 pm
Hello Bigfoot65,
My friend ("thegillion") and I have a new and improved version of the Wake-On-LAN Server. You can download the files at https://github.com/thegillion/WOL-server-w-sql
To test it: (I include some of the code for future readers.)
-create the webapp called "wolserver." (Amahi Web Apps plugin application) does this amazingly well.
-create an SQL database called "wolserver" and import the tables from the download file. (I used PHPMyAdmin to do this.)
-extract the zip
-copy all the files to the /var/hda/web-apps/wolserver/html
-change the owner of all the files in /var/hda/web-apps/wolserver/html to apache:users
-edit common.php with your credentials for connecting to the SQL database you created.
-If you want to access the app outside of the network, you will need to make the VirtualHost change we spoke of in the topic.
The default login for wolserver is "admin" and "admin"
The password to wake a computer is "wakemeup" (which is the same for if you want to put a computer to sleep. I was done being creative )
If a user wants to "Sleep-On-LAN" a Windows computer they will need to go to Jeremy Blum's page (http://www.jeremyblum.com/2013/07/14/rpi-wol-server/) and follow the instructions to enable php5-curl and install the SleepOnLan client (http://www.ireksoftware.com/SleepOnLan/) making sure it runs on boot.
*If you will start an Amahi Remote Wake-On-LAN Server Wiki I will write up the work.
My friend ("thegillion") and I have a new and improved version of the Wake-On-LAN Server. You can download the files at https://github.com/thegillion/WOL-server-w-sql
To test it: (I include some of the code for future readers.)
-create the webapp called "wolserver." (Amahi Web Apps plugin application) does this amazingly well.
-create an SQL database called "wolserver" and import the tables from the download file. (I used PHPMyAdmin to do this.)
-extract the zip
-copy all the files to the /var/hda/web-apps/wolserver/html
Code: Select all
cp -R ~/Downloads/WOL-server-w-sql/* /var/hda/web-apps/wolserver/html/
Code: Select all
chown apache:users /var/hda/web-apps/wolserver/html/*
-If you want to access the app outside of the network, you will need to make the VirtualHost change we spoke of in the topic.
The default login for wolserver is "admin" and "admin"
The password to wake a computer is "wakemeup" (which is the same for if you want to put a computer to sleep. I was done being creative )
If a user wants to "Sleep-On-LAN" a Windows computer they will need to go to Jeremy Blum's page (http://www.jeremyblum.com/2013/07/14/rpi-wol-server/) and follow the instructions to enable php5-curl and install the SleepOnLan client (http://www.ireksoftware.com/SleepOnLan/) making sure it runs on boot.
*If you will start an Amahi Remote Wake-On-LAN Server Wiki I will write up the work.